Re: udev sysfs docs Re: State of devfs in 2.6?

Måns Rullgård
2003-12-11T08:42:26Z

Mark Mielke <mark@mark.mielke.cc> writes:

> I was under the impression, that on the x86 processors, it is not
> possible to have more than ~640Kb of 'unswappable'
> memory. Everything else *is* swappable.

Swappable or not doesn't depend on physical memory address. It
depends on whether the kernel memory management allows it or not. No
Linux kernels to date will swap out kernel memory. The swappability
of a page is determined by some flags when it is allocated.

> Perhaps somebody with understanding could enlighten us on this point?
>
> Is kernel code swappable if compiled in statically? I have assumed
> that it is.

That's not the way it works.

--
Måns Rullgård
mru@kth.se