| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Fix up vmalloc_to_page() and callers (argument is a kernel
virtual address ie should be a "void *")
|
|
Contributor: Mike Phillips @ Linux Token Ring Project
|
|
1. Kill the ide-probe-mod by merging it with ide-mod. There is *really*
no reaons for having this stuff split up into two different
modules unless you wan't to create artificial module dependancies
and waste space of page boundaries during memmory allocation for the
modules
2. Kill the ide_module_t - which is unnecessary and presents a
"reimplementation" of module handling inside the ide driver. This
is achieved by attaching the initialization routine ot the
ide_driver_t, which will be gone next time, since there is no sane
reason apparently, which this couldn't be done during the
module-generic initialization of the corresponding driver module.
3. Kill unnecessary tagging of "subdriver" with IDE_SUBDRIVER_VERSION -
we have plenty of other mechanisms for module consistency checking.
And anyway the ide code didn't any consistence checks on this value
at all.
NOTE: The ide_(un)register_module() functions will be killed in next round.
|
|
The attached patch does:
1. Kill two exports which mankind will never know what they where good for
2. Kill duplicated comments.
3. Kill declarations of never defined functions
4. Some other minor tidups here and there.
|
|
helper for safe access to parent's inumber
|
|
hfs compile fixes
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
The patch has been changed like you wanted, with page->zone
shoved into page->flags. I've also pulled the thing up to
your latest changes from linux.bkbits.net so you should be
able to just pull it into your tree from:
Rik
|
|
|
|
enables the allocation of the pagetables in highmem.
|
|
physical page a given vmalloc() area virtual address is mapped to.
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
Just the usual removal of the dead global arrays and associated cruft.
(Thistime not affecting lvm, which BTW. doesn't compile currently anyway
;-).
|
|
The end_request() function familiy (not the global one, but the IDE
specific ones), did bear a permuted parameter ordering. After fixing
this it turned out that at all places the huk parameter wasn't the
hwgroup, but just the drive in question itself. I have changed this to
be more sane, which allowed to remove many unneccessary code
duplication, or rather obfuscation, in between the __ide_end_request()
and ide_end_request() functions. This simplification is actually the
"spreading" part of the game.
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
A forward port. At present, msync() does not report errors
from EIO or ENOSPC. fsync() has the same bug for mapped pages
against the affected fd.
The patch correctly propagates these errors back up from
writepage so that fsync and msync correctly report errors.
It's fairly important - msync is the only way we have
of reporting ENOSPC against sparse mappings.
Of course, you can still silently lose your data if it's kswapd who
gets ENOSPC during writepage. I have 3/4 of a patch for that. It
records the data loss so that a later msync() will report the bad
news.
This patch also adds an implementation of msync(MS_ASYNC), because
it was easy.
|
|
A forward-port. ext2, minix and sysv aren't handling directories
correctly when IS_SYNC is in place. They call waitfor_one_page(),
but forgot to start the I/O.
The patch also moves waitfor_one_page and writeout_one_page
into fs/buffer.c, so mm/filemap.c now does not mention buffer_head
at all.
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
Cleanup the syscall interface to nfsd
1/ add an "owner" field to the nfsd_linkage structure
2/ grab a reference to that module before calling the syscall
3/ Remove the reference counting from inside the module
4/ Always allow nfsd module to be called, even if compile with
CONFIG_NFSD == N
( but not if CONFIG_MODULES also == N)
|
|
A bunch of places dereferences ->d_parent->d_inode with no
protection whatsoever (e.g. on return from read()). It's an
SMP race on all boxen and pretty wide UP race if we have dnotify
set on parent (race between read() and rename() and similar beasts).
Patch below is the first one in a series of ->d_parent-related
fixes. It adds a helper (dnotify_parent(dentry, event)) and converts
places that did inode_dir_notify(dentry->d_parent->d_inode,...) to it.
Please, apply. Notice that problem exists in 2.4 and unlike 2.5
there we can't switch to saner API (basically, reporting file events on
file, not on a parent directory).
Some of the further fixes depend on Pat's and Greg's (driverfs and usbdevfs
resp.) patches, so getting them merged would make life easier. And yes,
some of further chunks (e.g. smbfs ->revalidate() and friends) will also
have to go into 2.4 - they are independent from any threading projects ;-/
|
|
This next incremental patch tidies up the data types passed back
from the `list' and `get' extended attribute syscalls - these now
match the design (ie. using ssize_t) rather than simply using long
or int everywhere; also now use const types in the VFS interface,
where appropriate.
Nathan
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
|
|
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
into hostme.bitkeeper.com:/ua/repos/g/gkernel/misc-2.5
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
TIF_NEED_RESCHED
condition, we test the preemption count in preempt_schedule(). This reduces the icache
footprint and the overhead of preemption.
- plus optimize the irq-path preemption check a bit.
|
|
- the PREEMPT_ACTIVE trick is not needed
- schedule() should check for need_resched, we might miss a
reschedule otherwise.
the cleanup also fixes the bug. The only reason why i kept
preempt_schedule() was to fix up p->state to TASK_RUNNING,
to make it possible to preempt from places that mark the
task TASK_UNINTERRUPTIBLE before adding the task to a waitqueue,
and thus a preemption in that small window could cause the
task to be removed from the runqueue erroneously.
|
|
this is a patch to prevent usb_set_interface() from erroneously resetting
the toggles for all endpoints instead of only the affected ones from the
requested interface/altsetting. I've also added some missing parentheses
to related macros in usb.h as I prefered not to take special care for
nasty side-effects ;-)
Patch below was created against 2.4.18-pre9 (with some lines of offset it
applies to 2.5.4-pre5 as well).
Tested in multi-interface configuration to provide evidence it:
* correctly identifies the affected endpoints and resets the toggles
* doesn't touch endpoints from other interfaces
* provides correct handling of shared EP0
* solves an issue I had with 2.4.18-pre9 where setting one interface
occasionally caused transfers on other interface to hang due to lost
toggle synchronisation
Despite being a pure bugfix, well localized and (IMHO) pretty obviously
correct wrt. USB-spec, I'd like to suggest including this in early
2.4.19-pre. Just in case some existing driver would somehow workaround
the currently wrong behavior and might break with this fix. And it's
not very urgent right now, as we are probably close to 2.4.18-rc1.
Regards,
Martin
|
|
Contributor: Ed Vance @ Macrolink
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
|
|
Convert all the code to use reiserfs_{kmalloc,kfree}. Remove all extra
reiserfs_{kmalloc,kfree} overhead if CONFIG_REISERFS_CHECK is not set.
|
|
Do not panic when encountered item of unknown type, just print a warning.
|
|
Correctly detect and print hash values, when manual hash detection is used.
|
|
What should be happening with the references to the discarded .text.exit
section? I see a __devexit_p mentioned in Documentation/pci.txt, but it
hasn't been implemented except for down inside ieee1394.
In any case, I need something like the following in order to build with
pre-release binutils 2.12. If this sort of thing is acceptible I can
prepare a more comprehensive patch.
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
|
|
from when completion was potentially called more than once to indicate
partial end I/O. These days bio->bi_end_io is _only_ called when I/O
has completed on the entire bio.
|
|
Rediffed to 2.5.4, documentation added. This variant grabs
->s_vfs_rename_sem only for cross-directory renames.
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
|
|
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
|
|
into home.transmeta.com:/home/torvalds/v2.5/linux
|
|
|