]> git.neil.brown.name Git - history.git/log
history.git
23 years agoBlock layer ioctl cleanups.
Linus Torvalds [Tue, 15 Oct 2002 04:24:37 +0000 (21:24 -0700)]
Block layer ioctl cleanups.

Rename old "block_ioctl()" function: it's "scsi_cmd_ioctl()", as that
is what the function does. Rename the whole file "scsi_ioctl.c"

23 years agoMake ide-cd handle a REQ_BLOCK_PC packet command completion
Linus Torvalds [Sun, 13 Oct 2002 05:34:54 +0000 (22:34 -0700)]
Make ide-cd handle a REQ_BLOCK_PC packet command completion
properly (which is to say the same as REQ_PC).

23 years ago[PATCH] Update changes to point to make 3.78
Eric W. Biederman [Sun, 13 Oct 2002 04:51:21 +0000 (21:51 -0700)]
[PATCH] Update changes to point to make 3.78

The Documentation/Changes in the summary has been updated to require
make 3.78 but the other references were not updated.  And 3.78 really
is required.  This patch updates the other locations.

23 years ago[PATCH] reduce the dirty threshold when there's a lot of mapped
Andrew Morton [Sun, 13 Oct 2002 02:33:20 +0000 (19:33 -0700)]
[PATCH] reduce the dirty threshold when there's a lot of mapped

Dirty memory thresholds are currently set by /proc/sys/vm/dirty_ratio.

Background writeout levels are controlled by
/proc/sys/vm/dirty_background_ratio.

Problem is that these levels are hard to get right - they are too
static.  If there is a lot of mapped memory around then the 40%
clamping level causes too much dirty data.  We do lots of scanning in
page reclaim, and the VM generally starts getting into distress.  Extra
swapping, extra page unmapping.

It would be much better to simply tell the caller of write(2) to slow
down - to write out their dirty data sooner, to make those written
pages trivially reclaimable.  Penalise the offender, not the innocent
page allocators.

This patch changes the writer throttling code so that we clamp down
much harder on writers if there is a lot of mapped memory in the
machine.  We only permit memory dirtiers to dirty up to 50% of unmapped
memory before forcing them to clean their own pagecache.

23 years ago[PATCH] rename /proc/sys/vm/dirty_async_ratio to dirty_ratio
Andrew Morton [Sun, 13 Oct 2002 02:33:16 +0000 (19:33 -0700)]
[PATCH] rename /proc/sys/vm/dirty_async_ratio to dirty_ratio

Since /proc/sys/vm/dirty_sync_ratio went away, the name
"dirty_async_ratio" makes no sense.

So rename it to just /proc/sys/vm/dirty_ratio.

23 years ago[PATCH] start anon pages on the active list
Andrew Morton [Sun, 13 Oct 2002 02:33:11 +0000 (19:33 -0700)]
[PATCH] start anon pages on the active list

We're currently adding anon pages to the inactive list.  But they're
all referenced, so when they reach the tail of the inactive list the
kernel will always then bump them up to the active list.

Not only does this waste CPU, but it leads to inactive/active
imbalance.  We end up with enormous sequences of unreclaimable,
to-be-activated pages hitting the tail of the LRU and large amounts of
scanning need to be done.  Which upsets the VM, making it think that it
is "under distress".

So just start them out on the active list.

23 years ago[PATCH] reduced and tunable swappiness
Andrew Morton [Sun, 13 Oct 2002 02:33:06 +0000 (19:33 -0700)]
[PATCH] reduced and tunable swappiness

/proc/sys/vm/swappiness controls the VM's tendency to unmap pages and to
swap things out.

100 -> basically current 2.5 behaviour
0 -> not very swappy at all

The mechanism which is used to control swappiness is: to be reluctant
to bring mapped pages onto the inactive list.  Prefer to reclaim
pagecache instead.

The control for that mechanism is as follows:

- If there is a large amount of mapped memory in the machine, we
  prefer to bring mapped pages onto the inactive list.

- If page reclaim is under distress (more scanning is happening) then
  prefer to bring mapped pages onto the inactive list.  This is
  basically the 2.4 algorithm, really.

- If the /proc/sys/vm/swappiness control is high then prefer to bring
  mapped pages onto the inactive list.

The implementation is simple: calculate the above three things as
percentages and add them up.  If that's over 100% then start reclaiming
mapped pages.

The `proportion of mapped memory' is downgraded so that we don't swap
just because a lot of memory is mapped into pagetables - we still need
some VM distress before starting to swap that memory out.

For a while I was adding a little bias so that we prefer to unmap
file-backed memory before swapping out anon memory.  Because usually
file backed memory can be evicted and reestablished with one I/O, not
two.  It was unmapping executable text too easily, so here I just treat
them equally.

23 years ago[PATCH] propagate pte reference into page reference during
Andrew Morton [Sun, 13 Oct 2002 02:33:01 +0000 (19:33 -0700)]
[PATCH] propagate pte reference into page reference during

zap_pte_range() is currently just dropping the pte.  Change it to mark
the page referenced if the pte says it was.  This has the effect of
delaying the eviction of recently-mapped pagecache.

This means that we're currently marking the page accessed when it is
first faulted in as well as when we drop it from pagetables.  Which
matches up with the (strange) behaviour of the VM: it reclaims
PageReferenced pagecache pages off the inactive list.

Probably, it makes sense to remove the mark_page_accessed() from
filemap_nopage() and just use the pte bits everywhere.  Reviewing all
the PageReferenced()/mark_page_accessed() usage is on my todo list.

23 years ago[PATCH] small-machine writer throttling fix
Andrew Morton [Sun, 13 Oct 2002 02:32:57 +0000 (19:32 -0700)]
[PATCH] small-machine writer throttling fix

The current writer throttling in balance_dirty_pages() assumes that the
writer will be effectively throttled on request queues.

That works fine when the amount of data which can be placed into a
queue is "much less than" total memory.

But if the machine has a small amount of memory, or many disks, or has
large request queues, or large requests, it can go wrong.

For example, with mem=96m and dirty_async_ratio=15, we want to be able
to clamp dirty+writeback memory at 15 megabytes.  But it doesn't work,
because a single SCSI request queue can hold 40 megs or more.  The
heavy writer keeps on dirtying memory until that queue fills up.

So add a test for that - if we did some writeback, and we're *still*
over the dirty+writeback threshold then make the caller take an
explicit nap on some writes terminating.  And keep on doing that until
the dirty+writeback memory subsides.

23 years ago[PATCH] page freeing function for swsusp
Andrew Morton [Sun, 13 Oct 2002 02:32:50 +0000 (19:32 -0700)]
[PATCH] page freeing function for swsusp

Software suspend needs a way of forcing page reclaim, up to the point
where 50% of memory is free.

This patch implements a function to do that:

int shrink_all_memory(int nr_pages);

Will attempt to reclaim `nr_pages' pages and return them to the free
pages pool.  It returns the number of pages which it actually freed.

If called with a "large" number of pages it will only free up to a few
hundred, so the caller needs to loop on it.

If it returns zero then there is no point in calling it again.

23 years ago[PATCH] direct-io bio_add_page fix
Andrew Morton [Sun, 13 Oct 2002 02:32:45 +0000 (19:32 -0700)]
[PATCH] direct-io bio_add_page fix

Patch from Badari Pulavarty

There was a corner case in the conversion of direct-io to use
bio_add_page() where we would start a new page out at the wrong sector
number.

Fix that by explicitly passing in the current page's starting sector,
and use that in the new BIO if we have to open a new one.

Fix an error-path page->count leak in dio_bio_add_page().

23 years ago[PATCH] /proc/meminfo alterations for hugetlbpages
Andrew Morton [Sun, 13 Oct 2002 02:32:40 +0000 (19:32 -0700)]
[PATCH] /proc/meminfo alterations for hugetlbpages

The patch from Rohit and David M-T changes the hugetlb page info in
/proc/meminfo slightly.

It makes the identifiers a little clearer while ensuring that we don't
add any identifiers which have whitespace.  glibc is/shall be parsing
this information to determine the size and alignment requirements of
the hugetlb pages.

This basically means that procfs is a requirement for successful
hugetlb page usage.  Not very nice, but I suspect real-world userspace
fails without procfs anyway.

23 years ago[PATCH] n_r3964.c fix
Andrew Morton [Sun, 13 Oct 2002 02:32:36 +0000 (19:32 -0700)]
[PATCH] n_r3964.c fix

- drivers/char/n_r3964.c does not compile.  r3964_open() is doing an
  INIT_LIST_HEAD() on a timer->list.  But timer's don't have a `list'
  any more.

  Do an init_timer() instead.

23 years ago[PATCH] scsi compile fix
Andrew Morton [Sun, 13 Oct 2002 02:32:31 +0000 (19:32 -0700)]
[PATCH] scsi compile fix

I'm getting a compile failure in scsi_syms.c because it doesn't know
about the new scsi_set_medium_removal().

23 years ago"tv_sec" is unsigned long.
Linus Torvalds [Sun, 13 Oct 2002 02:32:23 +0000 (19:32 -0700)]
"tv_sec" is unsigned long.

23 years ago[PATCH] Fix SCSI mode sense size
Matthew Dharm [Sun, 13 Oct 2002 02:19:34 +0000 (19:19 -0700)]
[PATCH] Fix SCSI mode sense size

I'm suprised that this didn't cause errors for more people -- a
MODE_SENSE request for 128 bytes with a stated buffer length of 24
bytes.

Fix: Make the buffer length match the size of the request.

23 years ago[PATCH] Dv1394 fix
Ben Collins [Sat, 12 Oct 2002 12:14:54 +0000 (05:14 -0700)]
[PATCH] Dv1394 fix

This patch fixes a typo introduced by my last patch to dv1394.

23 years ago[PATCH] adds dmask option to fat (5/5)
Hirofumi Ogawa [Sat, 12 Oct 2002 10:31:01 +0000 (03:31 -0700)]
[PATCH] adds dmask option to fat (5/5)

This adds the dmask option. Yes, the dmask option is the permission
bitmask for directory.

23 years ago[PATCH] add show_options to fat (4/5)
Hirofumi Ogawa [Sat, 12 Oct 2002 10:30:57 +0000 (03:30 -0700)]
[PATCH] add show_options to fat (4/5)

This adds fat_show_options() to fat. And instead, this doesn't output
the charset name in fat_fill_super().

23 years ago[PATCH] removes posix option of fat (3/5)
Hirofumi Ogawa [Sat, 12 Oct 2002 10:30:52 +0000 (03:30 -0700)]
[PATCH] removes posix option of fat (3/5)

This removes the posix option of vfat. The current posix options works
only as an alias of name_check=s.

23 years ago[PATCH] merges parse_options() of fat and parse_options() of vfat (2/5)
Hirofumi Ogawa [Sat, 12 Oct 2002 10:23:36 +0000 (03:23 -0700)]
[PATCH] merges parse_options() of fat and parse_options() of vfat (2/5)

This merges parse_options() of fat and parse_options() of vfat.
And this doesn't recognize the unknown options.

23 years ago[PATCH] fix error code which fat_fill_super() returns (1/5)
Hirofumi Ogawa [Sat, 12 Oct 2002 10:23:32 +0000 (03:23 -0700)]
[PATCH] fix error code which fat_fill_super() returns (1/5)

This fixes the error code which fat_fill_super() returns.

23 years ago[PATCH] Linux IEEE-1394 Updates
Ben Collins [Sat, 12 Oct 2002 10:21:27 +0000 (03:21 -0700)]
[PATCH] Linux IEEE-1394 Updates

 - Cleanup (purge) some of our old compat code (never thouched)
 - Fix dv1394 compilation warnings without devfs
 - Added new config-rom handling features. Allows for on-the-fly
   config-rom generation for dynamic functionality of the host nodes.
 - Convert to workqueue from taskqueue interfaces. This is actually
   abstracted compatibility code between tqueue/workqueue.

23 years ago[PATCH] forward port of the various scsi fixes from 2.4
Alan Cox [Sat, 12 Oct 2002 10:19:13 +0000 (03:19 -0700)]
[PATCH] forward port of the various scsi fixes from 2.4

23 years ago[PATCH] configurable corename
Alan Cox [Sat, 12 Oct 2002 10:19:08 +0000 (03:19 -0700)]
[PATCH] configurable corename

To my suprise a lot of big site/beowulf type people all really want this
diff, which I'd otherwise filed as 'interesting but not important'

23 years ago[PATCH] hack fix for an obvious dmabuf bogon
Alan Cox [Sat, 12 Oct 2002 10:19:03 +0000 (03:19 -0700)]
[PATCH] hack fix for an obvious dmabuf bogon

23 years ago[PATCH] remove unused work queue
Alan Cox [Sat, 12 Oct 2002 10:18:59 +0000 (03:18 -0700)]
[PATCH] remove unused work queue

23 years ago[PATCH] __ret is deprecated
Alan Cox [Sat, 12 Oct 2002 10:18:54 +0000 (03:18 -0700)]
[PATCH] __ret is deprecated

23 years ago[PATCH] fix qnx4 inits to C99
Alan Cox [Sat, 12 Oct 2002 10:18:49 +0000 (03:18 -0700)]
[PATCH] fix qnx4 inits to C99

23 years ago[PATCH] make devfs cdrom appear in the right place
Alan Cox [Sat, 12 Oct 2002 10:18:45 +0000 (03:18 -0700)]
[PATCH] make devfs cdrom appear in the right place

23 years ago[PATCH] last jffs/jffs2 signal fix was wrong
Alan Cox [Sat, 12 Oct 2002 10:18:38 +0000 (03:18 -0700)]
[PATCH] last jffs/jffs2 signal fix was wrong

23 years ago[PATCH] fix zs sysrq
Alan Cox [Sat, 12 Oct 2002 10:18:34 +0000 (03:18 -0700)]
[PATCH] fix zs sysrq

23 years ago[PATCH] sym53c416 updates
Alan Cox [Sat, 12 Oct 2002 10:18:29 +0000 (03:18 -0700)]
[PATCH] sym53c416 updates

23 years ago[PATCH] correct NCR5380 locking bug
Alan Cox [Sat, 12 Oct 2002 10:18:25 +0000 (03:18 -0700)]
[PATCH] correct NCR5380 locking bug

23 years ago[PATCH] cpqfc vendor update
Alan Cox [Sat, 12 Oct 2002 10:18:20 +0000 (03:18 -0700)]
[PATCH] cpqfc vendor update

(someone really needs to indent the cpqfc driver!)

23 years ago[PATCH] aacraid makefile fix
Alan Cox [Sat, 12 Oct 2002 10:18:15 +0000 (03:18 -0700)]
[PATCH] aacraid makefile fix

23 years ago[PATCH] ricoh performance fix
Alan Cox [Sat, 12 Oct 2002 10:18:10 +0000 (03:18 -0700)]
[PATCH] ricoh performance fix

23 years ago[PATCH] fix up syncppp locking
Alan Cox [Sat, 12 Oct 2002 10:18:06 +0000 (03:18 -0700)]
[PATCH] fix up syncppp locking

23 years ago[PATCH] mpt fusion update from vendor
Alan Cox [Sat, 12 Oct 2002 10:18:01 +0000 (03:18 -0700)]
[PATCH] mpt fusion update from vendor

23 years ago[PATCH] i2o-scsi next installment
Alan Cox [Sat, 12 Oct 2002 10:17:56 +0000 (03:17 -0700)]
[PATCH] i2o-scsi next installment

23 years ago[PATCH] some mtdblock_ro fixes
Alan Cox [Sat, 12 Oct 2002 10:17:52 +0000 (03:17 -0700)]
[PATCH] some mtdblock_ro fixes

23 years ago[PATCH] update cpia to match 2.4
Alan Cox [Sat, 12 Oct 2002 10:17:45 +0000 (03:17 -0700)]
[PATCH] update cpia to match 2.4

23 years ago[PATCH] make eicon build
Alan Cox [Sat, 12 Oct 2002 10:17:40 +0000 (03:17 -0700)]
[PATCH] make eicon build

23 years ago[PATCH] remove unused crap from ide
Alan Cox [Sat, 12 Oct 2002 10:17:36 +0000 (03:17 -0700)]
[PATCH] remove unused crap from ide

23 years ago[PATCH] synclink updates
Alan Cox [Sat, 12 Oct 2002 10:17:31 +0000 (03:17 -0700)]
[PATCH] synclink updates

23 years ago[PATCH] two trivial doc fixeds
Alan Cox [Sat, 12 Oct 2002 10:17:26 +0000 (03:17 -0700)]
[PATCH] two trivial doc fixeds

The _ isnt allowed in a docbook id

23 years ago[PATCH] update dmi support
Alan Cox [Sat, 12 Oct 2002 10:17:22 +0000 (03:17 -0700)]
[PATCH] update dmi support

23 years agoFix type - it used to be "__u8 short", which previous versions
Linus Torvalds [Sat, 12 Oct 2002 10:15:31 +0000 (03:15 -0700)]
Fix type - it used to be "__u8 short", which previous versions
of gcc incorrectly accepted as "short". It got fixed to __u8, but
it really should be __u16.

23 years ago[PATCH] Misc core changes for x86-64/2.5.42
Andi Kleen [Sat, 12 Oct 2002 10:07:58 +0000 (03:07 -0700)]
[PATCH] Misc core changes for x86-64/2.5.42

And here all the other x86-64 changes that have accumulated in my tree.

It's various bugfixes and cleanups.

Changes:

 - fix nmi watchdog
 - remove local timer spreading over CPUs - it's useless here and caused many problems
 - New offset.h computation from Kai
 - Lots of changes for the C99 initializer syntax
 - New MTRR driver from Dave & Mats
 - Bugfix: kernel threads don't start with interrupts disabled anymore, which fixes
   various boottime hangs (this was fixed a long time ago, but the bug crept in again
   by the backdoor)
 - Do %gs reload in context switch lockless
 - Fix device_not_available entry point race
 - New per CPU GDT layout following i386: the layot is not completely
   compatible with i386, which may problems with Wine in theory.
   Haven't seen any yet.
 - Support disableapic option
 - driverfs support removed for now because it caused crashes
 - Updates for new signal setup
 - Support for kallsyms
 - Port TLS clone flags/syscalls: unfortunately made the context switch
   even uglier than it already is.
 - Security fixes for ptrace
 - New in_interrupt()/atomic setup ported from i386
 - New makefiles mostly from Kai
 - Various updates ported from i386

23 years ago[PATCH] Time changes for x86-64
Andi Kleen [Sat, 12 Oct 2002 10:05:38 +0000 (03:05 -0700)]
[PATCH] Time changes for x86-64

Some timer updates from Vojtech Pavlik for x86-64.  In theory support
HPET timing now, but the support is disabled.

Would actually need vxtime_lock() macros in the generic timer code to
protect xtime updates, but I'm leaving that out now because it's only
needed for vsyscalls and they're currently disabled.

23 years ago[PATCH] hotplug cpu changes for x86-64
Andi Kleen [Sat, 12 Oct 2002 10:05:32 +0000 (03:05 -0700)]
[PATCH] hotplug cpu changes for x86-64

Port of the hotplug CPU changes from i386 for x86-64.  I don't expect
x86-64 hardware to support CPU hotplugging any time soon, but this makes
it all compile & work again and keeps some consistency.

23 years ago[PATCH] library functions updates for x86-64
Andi Kleen [Sat, 12 Oct 2002 10:05:27 +0000 (03:05 -0700)]
[PATCH] library functions updates for x86-64

Update various lib/ functions for x86-64:

 - new memcpy/memset/csum-copy/copy_page/user
 - add bitstr support function for IOMMU
 - Other minor fixes and updates.

23 years ago[PATCH] reboot.c for x86-64
Andi Kleen [Sat, 12 Oct 2002 10:05:21 +0000 (03:05 -0700)]
[PATCH] reboot.c for x86-64

Merge from i386 for x86-64: move reboot functions to an own file.

23 years ago[PATCH] Remove global cli stuff for x86-64
Andi Kleen [Sat, 12 Oct 2002 10:05:15 +0000 (03:05 -0700)]
[PATCH] Remove global cli stuff for x86-64

Straightforward merge from i386: remove support for global cli for
x86-64

23 years ago[PATCH] x86-64 IOMMU & PCI updates
Andi Kleen [Sat, 12 Oct 2002 10:05:09 +0000 (03:05 -0700)]
[PATCH] x86-64 IOMMU & PCI updates

Update for the x86-64 PCI subsystem in 2.5.42.  Main new feature is PCI
IOMMU support through the K8 aperture.  This allows to use more than 4GB
of memory with 32bit PCI devices.  Also some other PCI changes, mostly
merges from i386.

23 years ago[PATCH] x86-64 IA32 emulation updates
Andi Kleen [Sat, 12 Oct 2002 10:05:02 +0000 (03:05 -0700)]
[PATCH] x86-64 IA32 emulation updates

Some bugfixes for the 32bit emulation for x86-64 and make it all compile
again.

Has rewritten ioctl registration code and some other updates.  New
system calls are supported.

It unfortunately broke some time ago by binfmt_elf changes for all
shared linked libraries.  Will fix that later.

23 years ago[PATCH] x86-64 - new memory map handling
Andi Kleen [Sat, 12 Oct 2002 10:04:57 +0000 (03:04 -0700)]
[PATCH] x86-64 - new memory map handling

New e820 memory map handling for x86-64.  Move it all to a new file and
clean it up a lot.  Add some simple allocator functions to deal with
holey e820 mappings cleanly A lot of this is preparation for NUMA (which
works in 2.4, but is not ported to 2.5 yet)

23 years ago[PATCH] x86-64 Bootloader updates
Andi Kleen [Sat, 12 Oct 2002 10:04:51 +0000 (03:04 -0700)]
[PATCH] x86-64 Bootloader updates

Update the early 32bit bootloader for x86-64.  This stuff is near
completely identical to i386, except for a few Makefile changes to tell
the x86-64 toolkit to compile in 32bit mode.

23 years ago[PATCH] x86-64 ACPI
Andi Kleen [Sat, 12 Oct 2002 10:04:46 +0000 (03:04 -0700)]
[PATCH] x86-64 ACPI

ACPI updates for x86-64/2.5.42

ACPI finally works now.

23 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Sat, 12 Oct 2002 09:56:41 +0000 (02:56 -0700)]
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[SERIAL] Fix Sparc32/64 handling of CONFIG_SERIAL_CORE{,_CONSOLE}
Russell King [Sun, 13 Oct 2002 00:47:55 +0000 (01:47 +0100)]
[SERIAL] Fix Sparc32/64 handling of CONFIG_SERIAL_CORE{,_CONSOLE}
SPARC was unconditionally setting CONFIG_SERIAL_CORE_CONSOLE to y
and conditionally setting CONFIG_SERIAL_CORE depending on the Sparc
sub-drivers.  In addition, the core serial driver for SPARC is
always built, so we end up with link errors.

We instead make CONFIG_SERIAL_CORE{,_CONSOLE} dependent on building
the SPARC core driver (CONFIG_SERIAL_SUNCORE).

23 years agoAutomerge
Linus Torvalds [Sat, 12 Oct 2002 06:00:34 +0000 (23:00 -0700)]
Automerge

23 years agoFix defined but not used warnings by marking variables
Richard Henderson [Sat, 12 Oct 2002 05:29:29 +0000 (22:29 -0700)]
Fix defined but not used warnings by marking variables
with attribute unused.

23 years agoFix hordes of printf format warnings by changing loff_t to long long.
Richard Henderson [Sat, 12 Oct 2002 05:25:42 +0000 (22:25 -0700)]
Fix hordes of printf format warnings by changing loff_t to long long.

23 years agoFix two defined but not used warnings by wrapping the
Richard Henderson [Sat, 12 Oct 2002 05:22:57 +0000 (22:22 -0700)]
Fix two defined but not used warnings by wrapping the
variables in #if RTC_IRQ.

23 years agoFix three alpha gcc 3.3 warnings.
Richard Henderson [Sat, 12 Oct 2002 05:20:18 +0000 (22:20 -0700)]
Fix three alpha gcc 3.3 warnings.

23 years agoFix illegal use of short keyword.
Richard Henderson [Sat, 12 Oct 2002 05:16:12 +0000 (22:16 -0700)]
Fix illegal use of short keyword.

23 years agoFix warnings of the form
Richard Henderson [Sat, 12 Oct 2002 05:13:51 +0000 (22:13 -0700)]
Fix warnings of the form
  warning: right shift count >= width of type
by casting to long before shifting by HIGH_BITS_OFFSET.

23 years agoFix warnings of the form
Richard Henderson [Sat, 12 Oct 2002 05:09:25 +0000 (22:09 -0700)]
Fix warnings of the form
  warning: long int format, different type arg (arg 5)
by casting ino_t arguments to unsigned long for printf formats.
In some instances, change %ld to %lu.

23 years ago[PATCH] oneliner race fix for ldt updates
Manfred Spraul [Sat, 12 Oct 2002 04:58:18 +0000 (21:58 -0700)]
[PATCH] oneliner race fix for ldt updates

Problem: if another CPU is using lazy-TLB, the LDT flushing won't flush
the other CPU's LDT entry.

Fix: use active_mm instead of mm for the flush IPI.

23 years agoWhen opening a CD-ROM device with O_NONBLOCK (for setup and ioctl),
Linus Torvalds [Sat, 12 Oct 2002 04:08:19 +0000 (21:08 -0700)]
When opening a CD-ROM device with O_NONBLOCK (for setup and ioctl),
we should allow read-write accesses - it's used for control, not
data.

23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.make
Linus Torvalds [Sat, 12 Oct 2002 03:09:20 +0000 (20:09 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.make
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agokbuild: Fix UML build
Kai Germaschewski [Sat, 12 Oct 2002 06:47:37 +0000 (01:47 -0500)]
kbuild: Fix UML build

Not perfectly clean yet, but uses the standard way to descend into subdirs
and gives me working vmlinux and linux targets without spurious rebuilds.

23 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Sat, 12 Oct 2002 03:08:35 +0000 (20:08 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] ATM build fix
Adrian Bunk [Sat, 12 Oct 2002 02:59:48 +0000 (19:59 -0700)]
[PATCH] ATM build fix

Fix buggy #if removal in iphase.c that crept in with the initcalls fixup.

23 years agoMerge with DRI CVS tree
Linus Torvalds [Sat, 12 Oct 2002 02:59:02 +0000 (19:59 -0700)]
Merge with DRI CVS tree

23 years agoMerge bk://cifs.bkbits.net/linux-2.5-with-cifs
Linus Torvalds [Sat, 12 Oct 2002 02:53:20 +0000 (19:53 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5-with-cifs
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] InterMezzo for 2.5
Robert Read [Sat, 12 Oct 2002 02:52:06 +0000 (19:52 -0700)]
[PATCH] InterMezzo for 2.5

This is the initial port of InterMezzo for 2.5.  It now compiles,
mounts, and completes I/Os successfully, but we are aware that more
needs to be done and we will do it as quickly as possible.

23 years ago[PATCH] Fix cpufreq compile
Adrian Bunk [Sat, 12 Oct 2002 02:47:02 +0000 (19:47 -0700)]
[PATCH] Fix cpufreq compile

The timer-handling split patch moved cpufreq stuff from time.c to
timers/timer_tsc.c but not the corresponding #include <linux/cpufreq.h>
causing the build to fail.

The fix is simple.

23 years ago[PATCH] convert tty_drivers to list_heads
Brian Gerst [Sat, 12 Oct 2002 02:45:50 +0000 (19:45 -0700)]
[PATCH] convert tty_drivers to list_heads

Convert the tty_drivers list to use list_heads instead of open coded
doubly-linked lists.

23 years agochange name of debug function to not conflict with optional jfs debug function
Steve French [Fri, 11 Oct 2002 21:51:55 +0000 (16:51 -0500)]
change name of debug function to not conflict with optional jfs debug function

23 years agoCorrect compiler warnings for 64 bit platforms and minor formatting cleanup and remov...
Steve French [Fri, 11 Oct 2002 20:53:16 +0000 (15:53 -0500)]
Correct compiler warnings for 64 bit platforms and minor formatting cleanup and remove debug function that was causing a conflict with a function of the same name in SCSI

23 years agodrivers/scsi/esp.c: Fix the build.
Andres Salomon [Fri, 11 Oct 2002 19:26:16 +0000 (12:26 -0700)]
drivers/scsi/esp.c: Fix the build.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
David S. Miller [Fri, 11 Oct 2002 19:24:58 +0000 (12:24 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

23 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/src/kernel/v2.5/linux-2.5
Kai Germaschewski [Fri, 11 Oct 2002 19:17:20 +0000 (14:17 -0500)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/src/kernel/v2.5/linux-2.5
into tp1.ruhr-uni-bochum.de:/home/kai/src/kernel/v2.5/linux-2.5.make

23 years agofs/aio.c: Export wait_on_sync_kiocb.
David S. Miller [Fri, 11 Oct 2002 18:49:30 +0000 (11:49 -0700)]
fs/aio.c: Export wait_on_sync_kiocb.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Fri, 11 Oct 2002 17:37:22 +0000 (10:37 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years agonet/irda/af_irda.c: Fix sendmsg/recvmsg args in comments too.
David S. Miller [Fri, 11 Oct 2002 16:48:00 +0000 (09:48 -0700)]
net/irda/af_irda.c: Fix sendmsg/recvmsg args in comments too.

23 years agofs/smbfs/sock.c: Update for new sendmsg/recvmsg args.
David S. Miller [Fri, 11 Oct 2002 16:45:39 +0000 (09:45 -0700)]
fs/smbfs/sock.c: Update for new sendmsg/recvmsg args.

23 years agonet/irda/af_irda.c: Update for new sendmsg/recvmsg args.
David S. Miller [Fri, 11 Oct 2002 16:38:38 +0000 (09:38 -0700)]
net/irda/af_irda.c: Update for new sendmsg/recvmsg args.

23 years agoLinux v2.5.42 v2.5.42
Linus Torvalds [Fri, 11 Oct 2002 14:23:13 +0000 (07:23 -0700)]
Linux v2.5.42

23 years agoinclude/net/tcp.h: Declare tcp_enter_frto.
David S. Miller [Fri, 11 Oct 2002 13:39:17 +0000 (06:39 -0700)]
include/net/tcp.h: Declare tcp_enter_frto.

23 years agonet/bluetooth/rfcomm/sock.c: Update for new sendmsg/recvmsg args.
David S. Miller [Fri, 11 Oct 2002 13:38:21 +0000 (06:38 -0700)]
net/bluetooth/rfcomm/sock.c: Update for new sendmsg/recvmsg args.

23 years agonet/bluetooth/sco.c: Update for new sendmsg args.
David S. Miller [Fri, 11 Oct 2002 13:37:21 +0000 (06:37 -0700)]
net/bluetooth/sco.c: Update for new sendmsg args.

23 years agonet/bluetooth/l2cap.c: Update for new sendmsg args.
David S. Miller [Fri, 11 Oct 2002 13:36:20 +0000 (06:36 -0700)]
net/bluetooth/l2cap.c: Update for new sendmsg args.

23 years agoDeclare set_change_info() only if CONFIG_NFSD_V3 is enabled. It
Linus Torvalds [Fri, 11 Oct 2002 13:21:37 +0000 (06:21 -0700)]
Declare set_change_info() only if CONFIG_NFSD_V3 is enabled. It
uses fields that do not exist otherwise.

23 years agonet/sctp/socket.c: Update for new sendmsg/recvmsg args.
David S. Miller [Fri, 11 Oct 2002 13:21:16 +0000 (06:21 -0700)]
net/sctp/socket.c: Update for new sendmsg/recvmsg args.

23 years agonet/ipv6/raw.c: Update for new recvmsg/sendmsg args.
David S. Miller [Fri, 11 Oct 2002 13:19:56 +0000 (06:19 -0700)]
net/ipv6/raw.c: Update for new recvmsg/sendmsg args.

23 years agonet/ipv6/udp.c: Update for new sendmsg/recvmsg args.
David S. Miller [Fri, 11 Oct 2002 13:17:45 +0000 (06:17 -0700)]
net/ipv6/udp.c: Update for new sendmsg/recvmsg args.

23 years agonet/bluetooth/rfcomm/core.c: Update for new sendmsg args.
David S. Miller [Fri, 11 Oct 2002 13:14:24 +0000 (06:14 -0700)]
net/bluetooth/rfcomm/core.c: Update for new sendmsg args.