tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: config(5) break down

On Tue, Mar 16, 2010 at 06:42:29AM +0100, Wojciech A. Koszek wrote:

> coming from the same "build" and with the same set of critical options.
> Otherwise, if the "struct mutex" changes its size due to #define 
> in the kernel, you'll going to get a page fault from the module's code with a
> useless trace message.

FYI, that's not a problem for NetBSD.  The ABI is insensitive to things
like DIAGNOSTIC/DEBUG/LOCKDEBUG/-g/whatever.  By design because it caused
so much hassle in the past with userspace tools and was one of the major
pain points with LKMs.

Home | Main Index | Thread Index | Old Index