RE: [PATCH 2/2] hugetlb: synchronize alloc with page cache insert

From: Chen, Kenneth W
Date: Wed Jan 11 2006 - 18:45:56 EST


Adam Litke wrote on Wednesday, January 11, 2006 3:03 PM
> Nope, all the i_blocks stuff is gone. I was just looking for a
> spin_lock for serializing all allocations for a particular hugeltbfs
> file and i_lock seemed to fit that bill.

I hope you are aware of the consequence of serializing page allocation:
It won't scale on large numa machine. I don't have any issue per se at
the moment. But in the past, SGI folks had screamed their heads off
for people doing something like that.

- Ken

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