From: | ocie(at)paracel(dot)com |
---|---|
To: | hal(at)vailsys(dot)com (Hal Snyder) |
Cc: | paul(at)vix(dot)com, pgsql-hackers(at)hub(dot)org |
Subject: | Re: [HACKERS] Re: hackers-digest V1 #771 (safe/fast I/O) |
Date: | 1998-04-22 21:32:51 |
Message-ID: | 9804222132.AA29047@dolomite.paracel.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hal Snyder wrote:
>
> Here's a belated footnote to Paul Vixie's helpful posting of April 12:
>
> > Date: Sun, 12 Apr 1998 16:38:02 -0700
> > From: Paul A Vixie <paul(at)vix(dot)com>
> > Sender: owner-pgsql-hackers(at)hub(dot)org
> > Precedence: bulk
> >
> > mmap() is cool since it avoids copying data between kernel and user address
> > spaces. However, mmap() is going to be either synchronous ("won't return 'til
> > it has set up the page table stuff and maybe allocated backing store") or not
> > ("will return immediately but your process will silently block if you try to
> > access the address range before the back office work is done for the region").
> > There is no callback facility and no way to poll for region readiness.
> ...
>
> In the case of FreeBSD, there is no callback facility, this is true,
> but you can poll for region readiness via mincore().
I don't believe mincore is universally implemented either.
Ocie
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas G. Lockhart | 1998-04-23 02:10:46 | Re: [HACKERS] parser problem |
Previous Message | Hal Snyder | 1998-04-22 21:21:50 | Re: [HACKERS] Re: hackers-digest V1 #771 (safe/fast I/O) |