aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/kspd.c
Commit message (Collapse)AuthorAgeFilesLines
* [MIPS] Fix AP/SP to work in the reality of modern kernels.Ralf Baechle2007-04-271-4/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] RTLX: Handle copy_*_user return values.Ralf Baechle2007-03-171-4/+14
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [MIPS] kspd: ioctl needs a translation entry.Ralf Baechle2007-03-131-1/+3
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [PATCH] fdtable: Make fdarray and fdsets equal in sizeVadim Lobanov2006-12-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Currently, each fdtable supports three dynamically-sized arrays of data: the fdarray and two fdsets. The code allows the number of fds supported by the fdarray (fdtable->max_fds) to differ from the number of fds supported by each of the fdsets (fdtable->max_fdset). In practice, it is wasteful for these two sizes to differ: whenever we hit a limit on the smaller-capacity structure, we will reallocate the entire fdtable and all the dynamic arrays within it, so any delta in the memory used by the larger-capacity structure will never be touched at all. Rather than hogging this excess, we shouldn't even allocate it in the first place, and keep the capacities of the fdarray and the fdsets equal. This patch removes fdtable->max_fdset. As an added bonus, most of the supporting code becomes simpler. Signed-off-by: Vadim Lobanov <vlobanov@speakeasy.net> Cc: Christoph Hellwig <hch@lst.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Dipankar Sarma <dipankar@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* WorkQueue: Fix up arch-specific work items where possibleDavid Howells2006-12-051-2/+2
| | | | | | | | | | Fix up arch-specific work items where possible to use the new work_struct and delayed_work structs. Three places that enqueue bits of their stack and then return have been marked with #error as this is not permitted. Signed-Off-By: David Howells <dhowells@redhat.com>
* [MIPS] kpsd and other AP/SP improvements.Ralf Baechle2006-04-191-0/+398
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>