- 11 Jan, 2003 3 commits
-
-
Andrew Morton authored
cond_resched_lock() _used_ to be "if this is the only lock which I am holding then drop it and schedule if needed". However with the i_shared_lock->i_shared_sem change, neither of its two callsites now need those semantics. So this patch changes it to mean just "if needed, drop this lock and reschedule". This allows us to also schedule if CONFIG_PREEMPT=n, which is useful - zap_page_range() can run for an awfully long time. The preempt and non-preempt versions of cond_resched_lock() have been unified.
-
Andrew Morton authored
i_shared_lock is held for a very long time during vmtruncate() and causes high scheduling latencies when truncating a file which is mmapped. I've seen 100 milliseconds. So turn it into a semaphore. It nests inside mmap_sem. This change is also needed by the shared pagetable patch, which needs to unshare pte's on the vmtruncate path - lots of pagetable pages need to be allocated and they are using __GFP_WAIT. The patch also makes unmap_vma() static.
-
Ingo Molnar authored
This patch from Roland McGrath fixes a threading related ptrace bug: PTRACE_ATTACH should not stop everybody for each thread attached.
-
- 10 Jan, 2003 37 commits
-
-
Miles Bader authored
-
Miles Bader authored
-
Miles Bader authored
-
Miles Bader authored
-
Miles Bader authored
-
Miles Bader authored
This is needed by some includers of <asm/stat.h>.
-
Neil Brown authored
Implementing hash_str as hash_mem(..., strlen()) is actually quite slow, so create a separate hash_str. Now hash_mem has only one call site, and both are quite small, so we make them both inline.
-
Neil Brown authored
blk_plug_device and blk_remove_plug want irqs_disabled, so we give it to them.
-
Neil Brown authored
I think this is finally right: - we always wake_up when curr_resync decreases. - we wait for the other guys curr_resync to be less than ours - if we ever wait for someone who might yield, we start checking again from the start.
-
Neil Brown authored
Currently nfsd only worries about read-only exports for directories and files, which allows device special files to be chmodded (for example). This patch extends the test to cover all files, but is careful to avoid it when an IRIX client is doing an write-permission test against a pre-existing device special file.
-
Neil Brown authored
We encode that status in the return value. Also, don't pass 'proc' parameter to ->accept, as it is implicit in rqstp.
-
Neil Brown authored
-
Neil Brown authored
If one of the callback (e.g. data ready) is called before socket setup is complete, oops may occur. With this patch, socket is kept SK_BUSY until all is ready to avoid this. Also some code is moved around to make it cleaner.
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-
Alan Cox authored
-