- Dec 07, 2007
-
-
Matthew Wilcox authored
This is a false positive when grepping ... change it to be what the NFS code looks like now. Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
By using the TASK_KILLABLE infrastructure, we can get rid of the 'intr' mount option. We have to use _killable everywhere instead of _interruptible as we get rid of rpc_clnt_sigmask/sigunmask. Signed-off-by:
Liam R. Howlett <howlett@gmail.com> Signed-off-by:
Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Liam R. Howlett authored
Signed-off-by:
Liam R. Howlett <howlett@gmail.com> Acked-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Matthew Wilcox <willy@linux.intel.com>
-
Liam R. Howlett authored
Similar to mutex_lock_interruptible, it can be interrupted by a fatal signal only. Signed-off-by:
Liam R. Howlett <howlett@gmail.com> Acked-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Replacing lock_page with lock_page_killable in do_generic_mapping_read() allows us to kill `cat' of a file on an NFS-mounted filesystem Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
This routine is like lock_page, but can be interrupted by a fatal signal Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Like signal_pending, but it's only true for signals which are fatal to this process Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Set TASK_WAKEKILL for TASK_STOPPED and TASK_TRACED, add TASK_KILLABLE and use TASK_WAKEKILL in signal_wake_up() Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Also restructure the loop in do_wait() Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Also move wake_up_locked() to be with the related functions Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
With the changes to support TASK_KILLABLE, ->state becomes a bitmask, and moving these tests to convenience macros will fix all the users. Signed-off-by:Matthew Wilcox <willy@linux.intel.com>
-
Matthew Wilcox authored
Replace the uses of __wake_up_locked with wake_up_locked Signed-off-by:Matthew Wilcox <matthew@wil.cx>
-
git://ftp.linux-mips.org/pub/scm/upstream-linusLinus Torvalds authored
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] Oprofile: Fix computation of number of counters. [MIPS] Alchemy: fix IRQ bases [MIPS] Alchemy: replace ffs() with __ffs() [MIPS] BCM1480: Fix interrupt routing, take 2.
-
Linus Torvalds authored
Make the Kconfig.instrumentation file a bit easier on the eyes, and use the new ARCH_SUPPORTS_OPROFILE for x86[-64]. Signed-off-by:Linus Torvalds <torvalds@linux-foundation.org>
-
Ralf Baechle authored
The cleanup 09cadedb broke the oprofile configuration for MIPS by allowing oprofile support to be built for kernel models where oprofile doesn't have a chance in hell to work. Just a dependecy list on a number of architectures is - surprise - broken and should as per past discussions probably in most considered to be broken in most cases. So I introduce a dependency for the oprofile configuration on ARCH_SUPPORTS_OPROFILE. Signed-off-by:
Ralf Baechle <ralf@linux-mips.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Ralf Baechle authored
VSMP kernels will split the available performance counters between the two processors / cores. But don't do this when we're not on a VSMP system ... Signed-off-by:Ralf Baechle <ralf@linux-mips.org>
-
Sergei Shtylyov authored
Do what the commits commits f3e8d1da and 9d360ab4 failed to achieve -- actually convert the Alchemy code to irq_cpu. Signed-off-by:
Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
Sergei Shtylyov authored
Fix havoc wrought by commit 56f621c7 -- au_ffs() and ffs() are equivalent, that patch should have just replaced one with another. Now replace ffs() with __ffs() which returns an unbiased bit number. Signed-off-by:
Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
Ralf Baechle authored
Signed-off-by:Ralf Baechle <ralf@linux-mips.org>
-
- Dec 06, 2007
-
-
git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-schedLinus Torvalds authored
* git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched: futex: correctly return -EFAULT not -EINVAL lockdep: in_range() fix lockdep: fix debug_show_all_locks() sched: style cleanups futex: fix for futex_wait signal stack corruption
-
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6Linus Torvalds authored
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6: VM/Security: add security hook to do_brk Security: round mmap hint address above mmap_min_addr security: protect from stack expantion into low vm addresses Security: allow capable check to permit mmap or low vm space SELinux: detect dead booleans SELinux: do not clear f_op when removing entries
-
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6Linus Torvalds authored
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: [LRO]: fix lro_gen_skb() alignment [TCP]: NAGLE_PUSH seems to be a wrong way around [TCP]: Move prior_in_flight collect to more robust place [TCP] FRTO: Use of existing funcs make code more obvious & robust [IRDA]: Move ircomm_tty_line_info() under #ifdef CONFIG_PROC_FS [ROSE]: Trivial compilation CONFIG_INET=n case [IPVS]: Fix sched registration race when checking for name collision. [IPVS]: Don't leak sysctl tables if the scheduler registration fails.
-
git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6Linus Torvalds authored
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6: [SPARC64]: Update defconfig. [SPARC]: Add missing of_node_put [SPARC64]: check for possible NULL pointer dereference [SPARC]: Add missing "space" [SPARC64]: Add missing "space" [SPARC64]: Add missing pci_dev_put [SYSCTL_CHECK]: Fix typo in KERN_SPARC_SCONS_PWROFF entry string. [SPARC64]: Missing mdesc_release() in ldc_init().
-
Al Viro authored
endianness annotations in networking code had been in place for quite a while; in particular, sin_port and s_addr are annotated as big-endian. Code in ocfs2 had __force casts added apparently to shut the sparse warnings up; of course, these days they only serve to *produce* warnings for no reason whatsoever... Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Al Viro authored
BFS_FILEBLOCKS() expects struct bfs_inode * (on-disk data, with little- endian fields), not struct bfs_inode_info * (in-core stuff, with host- endian ones). It's a macro and fields with the right names are present in bfs_inode_info, so it compiles, but on big-endian host it gives bogus results. Introduced in commit f433dc56 ("Fixes to the BFS filesystem driver"). Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Al Viro authored
Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Al Viro authored
Now that X86_32 is provided on Kconfig level for uml-i386, there's no need to play with it explicitly on Makefile level anymore. Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Acked-by:
Jeff Dike <jdike@addtoit.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Al Viro authored
access_flags_to_mode() gets on-the-wire data (little-endian) and treats it as host-endian. Introduced in commit e01b6400 ("[CIFS] enable get mode from ACL when cifsacl mount option specified") Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Eric Paris authored
Given a specifically crafted binary do_brk() can be used to get low pages available in userspace virtual memory and can thus be used to circumvent the mmap_min_addr low memory protection. Add security checks in do_brk(). Signed-off-by:
Eric Paris <eparis@redhat.com> Acked-by:
Alan Cox <alan@redhat.com> Cc: Stephen Smalley <sds@tycho.nsa.gov> Cc: James Morris <jmorris@namei.org> Cc: Chris Wright <chrisw@sous-sol.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Vegard Nossum authored
I can't pass memory allocated by kmalloc() to ksize() if it is allocated by SLUB allocator and size is larger than (I guess) PAGE_SIZE / 2. The error of ksize() seems to be that it does not check if the allocation was made by SLUB or the page allocator. Reviewed-by:
Pekka Enberg <penberg@cs.helsinki.fi> Tested-by:
Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Cc: Christoph Lameter <clameter@sgi.com>, Matt Mackall <mpm@selenic.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-