Subject: Re: pool(9) and items larger than pagesize
To: Matt Fredette <fredette@theory.lcs.mit.edu>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 07/27/2002 09:50:27
At 09:22 AM 7/27/2002, Matt Fredette wrote:

>Hi.  With the expansion of struct sigacts to include per-signal trampoline
>information, sizeof(struct sigacts) on the m68k is now 2052 bytes.  This
>is larger than the sun2 page size of 2048 bytes, and causes pool_init() to
>break down when it realizes it can't fit even one of these items on a page.
>
>I dunno anything about how pool(9) works, looking for help.  Thanks -

I do have a patch for subr_pool.c which deal with that but only for those
platforms that don't do PMAP_MAP_POOLPAGE.  PMAP_MAP_POOLPAGE is a problem
since not only do you need N virtually adjacent pages, you need N physically
adjacent pages.


-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message