- 04 Jul, 2003 2 commits
-
-
Trond Myklebust authored
- Make the VFS pass the struct nameidata as an optional argument to the create inode operation. - Patch vfs_create() to take a struct nameidata as an optional argument.
-
Trond Myklebust authored
- Add open intent information to the 'struct nameidata'. - Pass the struct nameidata as an optional parameter to the lookup() inode operation. - Pass the struct nameidata as an optional parameter to the d_revalidate() dentry operation. - Make link_path_walk() set the LOOKUP_CONTINUE flag in nd->flags instead of passing it as an extra parameter to d_revalidate(). - Make open_namei(), and sys_uselib() set the open()/create() intent data.
-
- 03 Jul, 2003 24 commits
-
-
Jeff Garzik authored
Via irq routing has a funky PIRQD location. I checked my datasheets and, yep, this is correct all the way back to via686a. This bug existed for _ages_. I wonder if I created it, even...
-
bk://kernel.bkbits.net/gregkh/linux/pci-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
follow by splitting it into two functions: one that calculates the position, and the other that actually reads the inode block off the disk.
-
Linus Torvalds authored
uses it for now, but I needed it for some tuning tests, and it is potentially useful for others.
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/BK/pci-2.5
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
Based on a patch written by Dan Aloni <da-x@gmx.net>
-
Greg Kroah-Hartman authored
Based on a patch written by Dan Aloni <da-x@gmx.net>
-
Greg Kroah-Hartman authored
Based on a patch written by Dan Aloni <da-x@gmx.net>
-
John Stultz authored
This patch fixes a bad declaration of jiffies in timer_tsc.c and timer_cyclone.c, replacing it with the proper usage of jiffies.h. Caught by gregkh.
-
Greg Kroah-Hartman authored
-
bk://linux-pnp.bkbits.net/pnp-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Adam Belay authored
This patch corrects a trivial thinko in the manual resource api.
-
Adam Belay authored
This patch updates the resource manager so that it actually assigns disabled resources when they are requested by the device.
-
Adam Belay authored
Some devices will allow for individual resources to be disabled, even when the device as a whole is active. The current PnP resource manager is not handling this situation properly. This patch corrects the issue by detecting disabled resources and then flagging them. The pnp layer will now skip over any disabled resources. Interface updates have also been included so that we can properly display resource tables when a resource is disabled. Also note that a new flag "IORESOURCE_DISABLED" has been added to linux/ioports.h.
-
Greg Kroah-Hartman authored
-
Matthew Wilcox authored
Fixes the sysfs binary file bug.
-
Matthew Wilcox authored
- Fix a couple of bugs in sysfs's handling of binary files (my fault). - Implement pci config space reads and writes in sysfs
-
Matthew Wilcox authored
Make pcibios_fixup_peer_bridges() use raw_pci_ops directly instead of faking pci_bus and pci_dev.
-
Matthew Wilcox authored
Use pci_find_bus rather than relying on the return value of pci_scan_bus.
-
Matthew Wilcox authored
Convert all callers of pci_bus_exists() to call pci_find_bus() instead. Since all callers of pci_find_bus() are __init or __devinit, mark it as __devinit too.
-
Matthew Wilcox authored
Give pci_find_bus a domain argument and move its declaration to <linux/pci.h>
-
Matthew Wilcox authored
pci_sanity_check() is only called from functions marked __init, so it can be __init too.
-
Matthew Wilcox authored
Fix some grammar problems Add a note about Fast Back to Back support Change the slot_name recommendation to pci_name().
-
- 02 Jul, 2003 14 commits
-
-
Linus Torvalds authored
used to work due to some random magic indirect include, but broke lately. Do the obvious fix.
-
Rusty Russell authored
This moves the ksoftirqd pointers out of the irq_stat struct, and uses a normal per-cpu variable. It's not that time critical, nor referenced in assembler. This moves us closer to making irq_stat a per-cpu variable. Because some archs have hardcoded asm references to offsets in this structure, I haven't touched non-x86. The __ksoftirqd_task field is unused in other archs, too.
-
Rusty Russell authored
Noone seems to use __syscall_count. Remove the field from i386 irq_cpustat_t struct, and the generic accessor macros. Because some archs have hardcoded asm references to offsets in this structure, I haven't touched non-x86, but doing so is usually trivial.
-
Rusty Russell authored
Rather trivial conversion. Tested on SMP.
-
Rusty Russell authored
The function cpu_raise_softirq() takes a softirq number, and a cpu number, but cannot be used with cpu != smp_processor_id(), because there's no locking around the pending softirq lists. Since noone does this, remove that arg. As per Linus' suggestion, names changed: raise_softirq(int nr) cpu_raise_softirq(int cpu, int nr) -> raise_softirq_irqoff(int nr) __cpu_raise_softirq(int cpu, int nr) -> __raise_softirq_irqoff(int nr)
-
Andrew Morton authored
I though Scott had recently merged this but it seems not. We'll be needing this patch if you merge Manfred's page unmapping debug patch.
-
Andrew Morton authored
From: Jens Axboe <axboe@suse.de> It fixes a hang when performing large I/O's. Has been tested and acked by the maintainer, "Wiran, Francis" <francis.wiran@hp.com>.
-
Andrew Morton authored
From: bert hubert <ahu@ds9a.nl> Attached patch adds a range check to LOG_BUF_SHIFT and clarifies the configuration somewhat. I managed to build a non-booting kernel because I thought 64 was a nice power of two, which lead to the kernel blocking when it tried to actually use or allocate a 2^64 buffer.
-
Andrew Morton authored
CPU0 CPU1 journal_get_write_access(bh) (Add buffer to t_reserved_list) journal_get_write_access(bh) (It's already on t_reserved_list: nothing to do) (We decide we don't want to journal the buffer after all) journal_release_buffer() (It gets pulled off the transaction) journal_dirty_metadata() (The buffer isn't on the reserved list! The kernel explodes) Simple fix: just leave the buffer on t_reserved_list in journal_release_buffer(). If nobody ends up claiming the buffer then it will get thrown away at start of transaction commit.
-
Andrew Morton authored
If load_elf_binary() (and the other binary handlers) fail after flush_old_exec() (for example, in setup_arg_pages()) then do_execve() will go through and do mmdrop(bprm.mm). But bprm.mm is now current->mm. We've just freed the current process's mm. The kernel dies in a most ghastly manner. Fix that up by nulling out bprm.mm in flush_old_exec(), at the point where we consumed the mm. Handle the null pointer in the do_execve() error path. Also: don't open-code free_arg_pages() in do_execve(): call it instead.
-
Andrew Morton authored
ext2's inode allocator will call find_group_orlov(), which will return a suitable blockgroup in which the inode should be allocated. But by the time we actually try to allocate an inode in the blockgroup, other CPUs could have used them all up. ext2 will bogusly fail with "ext2_new_inode: Free inodes count corrupted in group NN". To fix this we just advance onto the next blockgroup if the rare race happens. If we've scanned all blockgroups then return -ENOSPC. (This is a bit inaccurate: after we've scanned all blockgroups, there may still be available inodes due to inode freeing activity in other blockgroups. This cannot be fixed without fs-wide locking. The effect is a slightly early ENOSPC in a nearly-full filesystem).
-
Andrew Morton authored
From: Stephen Smalley <sds@epoch.ncsc.mil> This patch against 2.5.73 replaces vm_enough_memory with a security hook per Alan Cox's suggestion so that security modules can completely replace the logic if desired. Note that the patch changes the interface to follow the convention of the other security hooks, i.e. return 0 if ok or -errno on failure (-ENOMEM in this case) rather than returning a boolean. It also exports various variables and functions required for the vm_enough_memory logic.
-
Andrew Morton authored
From: William Lee Irwin III <wli@holomorphy.com> This patch allows architectures to micro-optimize lowmem_page_address() at their whims. Roman Zippel originally wrote and/or suggested this back when dependencies on page->virtual existing were being shaken out. That's long-settled, so it's fine to do this now.
-
Andrew Morton authored
From: john stultz <johnstul@us.ibm.com> This patch catches a corner case in the lost-tick compensation code. There is a check to see if we overflowed between reads of the two time sources, however should the high res time source be slightly slower then what we calibrated, its possible to trigger this code when no ticks have been lost. This patch adds an extra check to insure we have seen more then one tick before we check for this overflow. This seems to resolve the remaining "time doubling" issues that I've seen reported.
-