lkml.org 
[lkml]   [2012]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -V2 1/9] mm: move hugetlbfs region tracking function to common code
Date
On Thu, 1 Mar 2012 14:33:45 -0800, Andrew Morton <akpm@linux-foundation.org> wrote:
> On Thu, 1 Mar 2012 14:46:12 +0530
> "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com> wrote:
>
> > This patch moves the hugetlbfs region tracking function to
> > common code. We will be using this in later patches in the
> > series.
> >
> > ...
> >
> > +struct file_region {
> > + struct list_head link;
> > + long from;
> > + long to;
> > +};
>
> Both Andrea Righi and John Stultz are working on (more sophisticated)
> versions of file region tracking code. And we already have a (poor)
> implementation in fs/locks.c.
>
> That's four versions of the same thing floating around the place. This
> is nutty.


We should be able to remove region.c once other alternatives are in
upstream. I will also look at the alternatives and see if it would need
any change to make it usable for this work.

Thanks,
-aneesh



\
 
 \ /
  Last update: 2012-03-04 18:41    [W:0.111 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site