[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: hugepage patches
- To: "Andrew Morton" <akpm@digeo.com>,"Seth, Rohit" <rohit.seth@intel.com>
- Subject: RE: hugepage patches
- From: "Seth, Rohit" <rohit.seth@intel.com>
- Date: Fri, 7 Feb 2003 14:02:22 -0800
- Cc: <davem@redhat.com>, "Seth, Rohit" <rohit.seth@intel.com>,<davidm@napali.hpl.hp.com>, <anton@samba.org>,<wli@holomorphy.com>, <linux-mm@kvack.org>
- Fake-Sender: owner-linux-mm@kvack.org
- Original-Recipient: rfc822;linux-mm-archive@humbolt.geo.uu.nl
- Sender: Rik van Riel <riel@nl.linux.org>
- Thread-Index: AcLO9GJ4vepkATrlEdeo8wBQi2jWzAAAEctg
- Thread-Topic: hugepage patches
The allocated pages will be zapped on the way back from do_mmap_pgoff
for the failure case.
> -----Original Message-----
> From: Andrew Morton [mailto:akpm@digeo.com]
> Sent: Friday, February 07, 2003 2:00 PM
> To: Seth, Rohit
> Cc: davem@redhat.com; rohit.seth@intel.com;
> davidm@napali.hpl.hp.com; anton@samba.org;
> wli@holomorphy.com; linux-mm@kvack.org
> Subject: Re: hugepage patches
>
>
> "Seth, Rohit" <rohit.seth@intel.com> wrote:
> >
> > Andrew,
> >
> > New allocation of hugepages is an atomic operation. Partial
> > allocations of hugepages is not a possibility.
>
> Yes it is? If you ask hugetlb_prefault() to fault in four
> pages, and there are only two pages available then it will
> instantiate just the two pages.
>
> And updating i_size at the place where we add the page to
> pagecache makes some sense..
>
>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/