Re: [PATCH -V2 1/9] mm: move hugetlbfs region tracking function tocommon code

From: Andrew Morton
Date: Thu Mar 01 2012 - 17:33:45 EST


On Thu, 1 Mar 2012 14:46:12 +0530
"Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/