mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* mm and Oops
@ 2001-06-27  2:32 Andries.Brouwer
  2001-06-27  8:15 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: Andries.Brouwer @ 2001-06-27  2:32 UTC (permalink / raw)
  To: linux-kernel

After sending util-linux out, I booted a kernel that had kdev_t
a pointer type, to see whether that still works.
And all (minus md/lvm/nfs that didnt compile) was fine
except that kswapd produced an oops. Investigation shows
that it was caused by the combination of what <linux/swap.h> calls
"Ugly ugly ugly HACK" and what <linux/kdev_t.h> judges with "yuk".

So, maybe we must remove one or both of these sore spots.
The second one is the use of a special constant B_FREE
as device value to indicate that the buffer is free.
I'll look at this tomorrow but perhaps someone knows:
must the constant B_FREE (used only in fs/buffer.c) be nonzero?
If so, then we probably need a bitfield to indicate "free".
Otherwise we can use 0 ("no device") as value.

Andries

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-27  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-27  2:32 mm and Oops Andries.Brouwer
2001-06-27  8:15 ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®