Re: [VM/MEMORY-SICKNESS] 2.4.15-pre7 kmem_cache_create invalid opcode

Stuart Young
2001-11-21T07:28:54Z

At 11:09 PM 20/11/01 -0800, David S. Miller wrote:
>If you patch sources files of the main kernel, you have to
>rebuild the dependencies.
>
>Why does this seem illogical to you?

Maybe the way to stop this sort of problem is to enforce it in the kernel
build procedure/Makefiles (and/or in the module's build procedure, if it's
separate to the kernel's).

Eg: Anything that produces output code (bzImage, modules, etc) should fail
if .config is newer than any of the dependencies. Maybe even spit out a
"You need to run 'make dep' before using 'make bzImage'" or something like
that. If they really want to get round it, they can play with 'touch'.

This seems perfectly logical to me.

AMC Enterprises P/L - Stuart Young
First Floor - Network and Systems Admin
3 Chesterville Rd - sgy@amc.com.au
Cheltenham Vic 3192 - Ph: (03) 9584-2700
http://www.amc.com.au/ - Fax: (03) 9584-2755