Re: [PATCH] hugetlbfs private mappings.

From: Oleg Nesterov
Date: Mon Jul 12 2004 - 07:08:52 EST


William Lee Irwin III wrote:
>
> On Sun, Jul 11, 2004 at 04:59:38PM +0400, Oleg Nesterov wrote:
> > Hugetlbfs silently coerce private mappings of hugetlb files
> > into shared ones. So private writable mapping has MAP_SHARED
> > semantics. I think, such mappings should be disallowed.
>
> This probably doesn't break anything worth caring about, but it may
> make people happier to just force MAP_SHARED on.

Yes, it was my initial intent. Andrew Morton pointed out, that
this could break existing applications.

Oleg.
-
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/