Ken, If you have user space code that tests this that you can send me I'll use them to fix up the reservation and quota code to handle this case as well. Thanks, Chen, Kenneth W wrote: >>> > > > This assumes all mmap start from the same file offset. IMO, it's not > generic enough. This code will only reserve 1 page for the following > case, but actually there are 4 mapping totaling 4 pages: > > mmap 1 page at file offset 0 > mmap 1 page at file offset HPAGE_SIZE, > mmap 1 page at file offset HPAGE_SIZE*2, > mmap 1 page at file offset HPAGE_SIZE*3, > > Oh, this code broke file system quota accounting as well. > > - Ken > > > - > To unsubscribe from this list: send the line "unsubscribe linux-ia64" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Best Regards, Ray ----------------------------------------------- Ray Bryant 512-453-9679 (work) 512-507-7807 (cell) raybry@sgi.com raybry@austin.rr.com The box said: "Requires Windows 98 or better", so I installed Linux. ----------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Sun Apr 4 18:11:07 2004
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:25 EST