lkml.org 
[lkml]   [1999]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Ok, making ready for pre-2.4 and code-freeze..
> The plan is support larger page sizes for MIPS but not in a way that is
> visible to userspace but only use the available page sizes to reduce
> the number of TLB operations.

So things like:

/* mmap a file, hopefully this will use a small number of
large pages */

ptr = mmap(NULL,262144ul,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0);


/* protect middle part of file -- will probably mean the
pages get remapped into small pages too */

err = mprotect(ptr + 65536,pgsize,PROT_NONE);

will make the mm code to do clever tricks? Surely if this operation
is expensive (perhaps it need not be?) dynamic loaders and such will
pay the price?



-cw


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.092 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site