2004-01-08 13:25:45

by Andrey Panin

[permalink] [raw]
Subject: [PATCH][TRIVIAL] madvise() syscall: don't test arguments holding semaphore

Hi,

madvise() system call checks its arguments holding current->mm->mmap_sem
semaphore. I know that madvise() shouldn't be perfomance critical,
but fix it so obvious :) Patch against 2.6.1-rc

Best regards.

--
Andrey Panin | Linux and UNIX system administrator
[email protected] | PGP key: wwwkeys.pgp.net


Attachments:
(No filename) (0.00 B)
signature.asc (189.00 B)
Digital signature
Download all attachments