- 18 Nov, 2002 3 commits
-
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
- 17 Nov, 2002 28 commits
-
-
Ingo Molnar authored
This introduces the sys_set_thread_address() syscall. It sets the tid address (which gets cleared at VM release time) and returns the PID so that the newly initialized 'initial thread' does not have to do an additional sys_gettid() call. It is used to bootstrap a thread group where the original thread user hasn't had a tid address assigned to it by any parent.
-
Rusty Russell authored
Trivial patch. We keep a dummy use count for old code which wants to know its own usecount using GET_USE_COUNT. It needs to be exported. Thanks to Doug Ledford for the bug report.
-
Rusty Russell authored
This is the logical counterpoint to the code which marks modules "[unsafe]" when obsolete (racy) interfaces are used. Allows "just remove the damn thing" rmmod -f, and taints the kernel. Mark it dangerous and experimental in the config file to make this doubly clear.
-
Rusty Russell authored
This patch implements a generic strcspn.
-
Rusty Russell authored
Sparc64 (and probably others) need all the kernel symbols within 32-bits, which includes the manufactured "__this_module" which refers to the struct module *. This changes the interface back to its old style: the arch-specific code manipulates the init and core sizes, and we call module_alloc() ourselves.
-
Rusty Russell authored
Separates the module loading function prototypes (and elf.h) into moduleloader.h. AT_GID in elf.h clashes with xfs.h, but this also makes module.h less cluttered.
-
Linus Torvalds authored
<linux/fs.h> cleanups
-
Linus Torvalds authored
memory space it was associated with.
-
Brian Gerst authored
Change from PCI name to generic device name.
-
Matthew Wilcox authored
The timer code is attempting to replicate the softirq characteristics at the tasklet level, which is a little pointless. This patch converts timers to be a first-class softirq citizen.
-
Christoph Hellwig authored
fs.h is pulling so much crap in.. No need to include net.h in fs.h if we move struct sock_alloc to net.h (which already includes fs.h through skbuf.h and mm.h..). Fixup the few files in net/ that relied on this, and the readv/writev implementations that got uio.h through net.h.
-
http://jdike.stearns.org:5000/updates-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Adrian Bunk authored
-
Trond Myklebust authored
The "procedure number" has been used for 2 purposes in the kernel client RPC implementation: 1) As a number to pass to the server in the RPC header. 2) As an index into the "procedure array" of type 'struct rpc_procinfo', from which the RPC layer can find the XDR encode/decode functions, buffer size, and all the other static data that it needs to construct the on-wire RPC message. This works fine for NFSv2, v3 and for the NLM locking code for which there is a one-to-one mapping between NFS file operations, and RPC procedures. For NFSv4 on the other hand, the mapping is many-to-one, since there is only one RPC procedure number: NFSPROC4_COMPOUND. For efficiency purposes, we want to have a one-to-one mapping between NFS file operations and the corresponding XDR encode/decode routines, but currently this is not possible because of (2). The result is the mess that is 'struct nfs4_op' and encode/decode_compound. In the process eliminating (2), we might as well change to passing a pointer to the appropriate procedure array entry instead of an index. This change can be made transparent The appended patch therefore does the following: - Substitute a pointer to the rpc_procinfo instead of the RPC procedure number in the struct rpc_message. - Make the RPC procedure number an entry in the struct rpc_procinfo. - Clean out the largely unused (except in some obscure lockd debugging code) p_name field. The latter was just a stringified version of the RPC procedure name, so for those lockd cases, we can use the RPC procedure number instead.
-
Manfred Spraul authored
This adds error handling to the resource allocations in yenta.c: check that request_resource returns success, reduce allocation size if allocate_resource fails, free resources on module unload.
-
Linus Torvalds authored
-
Manfred Spraul authored
This splits poll_table into one structure used by f_op->poll and one structure used by the implemenation of sys_poll/sys_select: poll_table contains just the callback function pointer. struct poll_wrapper additionally contains err and table, i.e. the members used by the poll implementation. Changes: - split poll_table into 2 structures - reorder the declarations in <linux/poll.h> accordingly - uninline poll_initwait().
-
Arnaldo Carvalho de Melo authored
Also fix a printk usage.
-
Arnaldo Carvalho de Melo authored
dquot that got it implicitly before.
-
Arnaldo Carvalho de Melo authored
smbfs that got it implicitly before.
-
Arnaldo Carvalho de Melo authored
pci_hotplug_core that got it implicitly before.
-
Arnaldo Carvalho de Melo authored
ntfs that got it implicitly before.
-
Arnaldo Carvalho de Melo authored
jffs2 that got it implicitly before.
-
Arnaldo Carvalho de Melo authored
intermezzo that got it implicitly before.
-
Arnaldo Carvalho de Melo authored
hugetlbfs that got it implicitly before.
-
Arnaldo Carvalho de Melo authored
cifs that got it implicitly before.
-
Arnaldo Carvalho de Melo authored
quota that got it implicitly before.
-
Davide Libenzi authored
This does: - naming cleanup: ep_* -> eventpoll_* for non-static functions ( 2 ) - No more limit of 2 poll wait queue for each file* Before epoll used to have, inside its item struct, space for two wait queues. This was driven by the fact that during a f_op->poll() each file won't register more than one read and one write wait queue. Now, I'm not sure if this is 100% true or not, but with the current implementation a linked list of wait queues is kept to remove each limit.
-
- 16 Nov, 2002 9 commits
-
-
Jeff Dike authored
-
Jeff Dike authored
into uml.karaya.com:/home/jdike/linux/2.5/work-2.5
-
Jeff Dike authored
into uml.karaya.com:/home/jdike/linux/2.5/work-2.5
-
Jeff Dike authored
into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5
-
Matthew Wilcox authored
drivers/base relies on device.h pulling in sched.h pulling in the rest of the world. Add some explicit dependencies in preparation for removing sched.h from device.h.
-
Matthew Wilcox authored
coda_linux simply doesn't need sched.h
-
Matthew Wilcox authored
elf.h simply doesn't need sched.h
-
Matthew Wilcox authored
ftape.h really wants interrupt.h, not sched.h
-
Matthew Wilcox authored
i2c.h simply doesn't need sched.h
-