Re: shm_alloc and friends

From: Russell King (rmk@arm.linux.org.uk)
Date: Thu May 25 2000 - 11:04:10 EST


Benjamin C.R. LaHaise writes:
> 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.

It's unneeded that its using indirect pointers - the code in no way is
reliant on a two level scheme at all.

Note that this array is only used so that SHM can keep track of the ptes
its allocated for paging them in/out of memory. It's not used as actual
page tables.
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | Russell King rmk@arm.linux.org.uk --- ---
  | | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
  | +-+-+ --- -+-
  / | THE developer of ARM Linux |+| /|\
 / | | | --- |
    +-+-+ ------------------------------------------------- /\\\ |

-
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