On Fri, 6 Jul 2001, Jeff Garzik wrote:
> Rik van Riel wrote:
> > + cache_mem = atomic_read(_cache_size);
> > + cache_mem += atomic_read(_pages);
> > + cache_mem -= swapper_space.nrpages;
> > + limit = (page_cache.min_percent + buffer_mem.min_percent);
>
> Don't you need
On Fri, 6 Jul 2001, Jeff Garzik wrote:
Rik van Riel wrote:
+ cache_mem = atomic_read(page_cache_size);
+ cache_mem += atomic_read(buffermem_pages);
+ cache_mem -= swapper_space.nrpages;
+ limit = (page_cache.min_percent + buffer_mem.min_percent);
Don't you need
Rik van Riel wrote:
> + cache_mem = atomic_read(_cache_size);
> + cache_mem += atomic_read(_pages);
> + cache_mem -= swapper_space.nrpages;
> + limit = (page_cache.min_percent + buffer_mem.min_percent);
Don't you need extra protection around swapper_space.nrpages? A
Hi,
As Hugh pointed out, the info on how many pages we have in the
swap cache is (of course) present in the swapper_space structure.
Patch has been shrunk accordingly...
Rik
--
Executive summary of a recent Microsoft press release:
"we are concerned about the GNU General Public License
Hi,
As Hugh pointed out, the info on how many pages we have in the
swap cache is (of course) present in the swapper_space structure.
Patch has been shrunk accordingly...
Rik
--
Executive summary of a recent Microsoft press release:
we are concerned about the GNU General Public License (GPL)
Rik van Riel wrote:
+ cache_mem = atomic_read(page_cache_size);
+ cache_mem += atomic_read(buffermem_pages);
+ cache_mem -= swapper_space.nrpages;
+ limit = (page_cache.min_percent + buffer_mem.min_percent);
Don't you need extra protection around
6 matches
Mail list logo