2002-12-11 13:24:29

by DervishD

[permalink] [raw]
Subject: [PATCH] mmap.c corner case fix, per David S. Miller

Hi Marcelo :)

This patch fixes the same corner case, but does something useful
even or architectures where TASK_SIZE is greater than SIZE_MAX-PAGE_SIZE

The patch is from David S. Miller, not me. My patch was
incomplete and did nothing on 'big TASK_SIZE' architectures, as
sparc64.

The patch is against both 2.4.20 and 2.4.21-pre1, is just the same.

Ra?l


Attachments:
(No filename) (378.00 B)
mmap.c.2.4.20.diff (407.00 B)
mmap.c.diff
Download all attachments