[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kmalloc question
>>>>> "Jan" == Jan Hudec <bulb@xxxxxx> writes:
Jan> On Fri, Aug 06, 2004 at 10:40:05 +0300, Momchil Velikov wrote:
>> >>>>> "Huang" == Huang, Roy <roy.huang@xxxxxxxxx> writes:
Huang> or the argument of fix_to_virt( ) is not a constant, the compiler issues
Huang> an error during the linking phase because the symbol _
Huang> _this_fixmap_does_not_exist is not defined elsewhere.
>>
>> Which is an utter stupidity, as no compiler is _required_ to do so.
Jan> Linux kernel is NOT written in C. It is written in GNU C.
Which is an utter stupidity.
Jan> And it is written so, that it is only compilable with
Jan> optimizations turned on.
Which is an utter stupidity.
Jan> Under that circumstances, the linker error is guaranteed to only
Jan> occur in and only in the errorneous cases.
Subject to more constraints, like constant arguments, etc. Which is
an utter stupidity.
~velco
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/