Re: shm_alloc and friends

From: Benjamin C.R. LaHaise (blah@kvack.org)
Date: Thu May 25 2000 - 11:01:18 EST


On Thu, 25 May 2000, Russell King wrote:

> SHM uses it on *pages* allocated from __get_free_page() and kmalloc, which are
> not page tables.
>
> Therefore, really SHM's use of pte_clear is a hack in the extreme, breaking the
> architecture independence of the page table macros.

Okay, so how about changing the SHM code to make use of pte_alloc and co?
If we do that, then we can also make the optimisation of sharing ptes for
really big SHM segments.

                -ben

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



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:14 EST