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

From: Måns Rullgård
Date: Thu Dec 11 2003 - 03:43:33 EST


Mark Mielke <mark@xxxxxxxxxxxxxx> 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@xxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/