| From | Subject | Date |
|---|---|---|
| Roland McGrath | [PATCH] powerpc32 vDSO: linker script indentation
This cleans up the formatting in the vDSO linker script, mostly just the
use of whitespace. It's intended to approximate the kernel standard
conventions for indenting C, treating elements of the linker script about
like initialized variable definitions.
Signed-off-by: Roland McGrath <roland@redhat.com>
CC: Sam Ravnborg <sam@ravnborg.org>
---
arch/powerpc/kernel/vdso32/vdso32.lds.S | 219 +++++++++++++++++--------------
1 files changed, 118 insertions(+), 101 deletions(-)
diff --git ...
| Oct 15, 8:44 pm 2007 |
| Roland McGrath | [PATCH] powerpc64 vDSO: linker script indentation
This cleans up the formatting in the vDSO linker script, mostly just the
use of whitespace. It's intended to approximate the kernel standard
conventions for indenting C, treating elements of the linker script about
like initialized variable definitions.
Signed-off-by: Roland McGrath <roland@redhat.com>
CC: Sam Ravnborg <sam@ravnborg.org>
---
arch/powerpc/kernel/vdso64/vdso64.lds.S | 225 +++++++++++++++++--------------
1 files changed, 122 insertions(+), 103 deletions(-)
diff --git ...
| Oct 15, 8:43 pm 2007 |
| Roland McGrath | [PATCH] SH vDSO: linker script indentation
This cleans up the formatting in the vDSO linker script, mostly just the
use of whitespace. It's intended to approximate the kernel standard
conventions for indenting C, treating elements of the linker script about
like initialized variable definitions.
Signed-off-by: Roland McGrath <roland@redhat.com>
CC: Sam Ravnborg <sam@ravnborg.org>
---
arch/sh/kernel/vsyscall/vsyscall.lds.S | 77 +++++++++++++++++--------------
1 files changed, 42 insertions(+), 35 deletions(-)
diff --git ...
| Oct 15, 8:42 pm 2007 |
| Roland McGrath | [PATCH] ia64 vDSO: linker script indentation
This cleans up the formatting in the vDSO linker script, mostly just the
use of whitespace. It's intended to approximate the kernel standard
conventions for indenting C, treating elements of the linker script about
like initialized variable definitions.
Signed-off-by: Roland McGrath <roland@redhat.com>
CC: Sam Ravnborg <sam@ravnborg.org>
---
arch/ia64/kernel/gate.lds.S | 135 +++++++++++++++++++++++--------------------
1 files changed, 72 insertions(+), 63 deletions(-)
diff --git ...
| Oct 15, 8:40 pm 2007 |
| David Hubbard | 2.6.23-git8: Lock dependency engine debugging failure
I am not subscribed to LKML, so please CC me in replies. I am
reporting a regression when CONFIG_DEBUG_LOCKDEP is enabled in
2.6.23-git8. The error occurs immediately before loading init.
Complete dmesg and kernel config are attached.
[ 28.528074] VFS: Mounted root (ext3 filesystem) readonly.
[ 28.528090] Freeing unused kernel memory: 212k freed
[ 28.537431] Write protecting the kernel read-only data: 1036k
[ 28.622874] WARNING: at kernel/lockdep.c:2658 check_flags()
[ 28.625132]
[ ...
| Oct 15, 8:28 pm 2007 |
| Serge E. Hallyn | [RFC] [PATCH 2/2] capabilities: implement 64-bit capabilities
From 7dd503c612afcb86b3165602ab264e2e9493b4bf Mon Sep 17 00:00:00 2001
From: Serge E. Hallyn <serue@us.ibm.com>
Date: Mon, 15 Oct 2007 20:57:52 -0400
Subject: [RFC] [PATCH 2/2] capabilities: implement 64-bit capabilities
We are out of capabilities in the 32-bit capability fields, and
several users could make use of additional capabilities.
Convert the capabilities to 64-bits, change the capability
version number accordingly, and convert the file capability
code to handle both 32-bit and 64-bit ...
| Oct 15, 7:31 pm 2007 |
| Serge E. Hallyn | [PATCH 1/2 -mm] capabilities: clean up file capability reading
This patch is a simple cleanup which should probably be
applied to -mm (assuming I haven't messed it up). The next
patch is an experimental patch which will require userspace
support and is just RFC at this point.
From 9fc0782de6e1287aaeebe8ad653b008f09b22c11 Mon Sep 17 00:00:00 2001
From: Serge E. Hallyn <serue@us.ibm.com>
Date: Mon, 15 Oct 2007 17:33:24 -0400
Subject: [PATCH 1/2] capabilities: clean up file capability reading
Simplify the vfs_cap_data structure.
Also fix get_file_caps ...
| Oct 15, 7:27 pm 2007 |
| Yinghai Lu | nmi_watchdog on x86_64
just found my on hand ck804, and mcp55 based AMD servers:
nmi_watchdog=1 doesn't work
but nmi_watchdog=2 does work
=1, it say: IOAPIC 8259A virtual wire mode...
Did nmi_watchdog=1 work on any other amd64 platform?
YH
-
| Oct 15, 7:12 pm 2007 |
| Jeff Garzik | [PATCH] sc1200 pci cleanup, resume improvement, bug fix
This patch accomplishes the following goals:
* kill the 'pci_enable_device ret val not checked' warning
* eliminate the incorrect mucking with pci_dev::current_state
via the following changes:
* [minor bug fix] eliminate pci_set_power_state() call in resume,
pci_enable_device() does so for us.
* [bug fix] do not touch dev->current_state, pci_set_power_state()
and other PCI layer functions manage this for us.
* [minor bug fix, warning fix] check pci_enable_device() ret val in
...
| Oct 15, 5:57 pm 2007 |
| Randy Dunlap | [PATCH 3/4] docbook: fix usb content
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix USB docbook warnings.
Warning(linux-2.6.23-git8//include/linux/usb/gadget.h:487): No description found for parameter 'g'
Warning(linux-2.6.23-git8//include/linux/usb/gadget.h:506): No description found for parameter 'g'
Warning(linux-2.6.23-git8//drivers/usb/core/hub.c:1416): No description found for parameter 'usb_dev'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/usb/core/hub.c | 6 +++++-
...
| Oct 15, 5:30 pm 2007 |
| Randy Dunlap | [PATCH 4/4] docbook: fix filesystems content
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix filesystems docbook warnings.
Warning(linux-2.6.23-git8//fs/debugfs/file.c:241): No description found for parameter 'name'
Warning(linux-2.6.23-git8//fs/debugfs/file.c:241): No description found for parameter 'mode'
Warning(linux-2.6.23-git8//fs/debugfs/file.c:241): No description found for parameter 'parent'
Warning(linux-2.6.23-git8//fs/debugfs/file.c:241): No description found for parameter ...
| Oct 15, 5:30 pm 2007 |
| Randy Dunlap | [PATCH 2/4] docbook: fix libata content
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix libata docbook warnings.
Warning(linux-2.6.23-git8//drivers/ata/libata-scsi.c:3251): No description found for parameter 'dev'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/ata/libata-scsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.23-git8.orig/drivers/ata/libata-scsi.c
+++ linux-2.6.23-git8/drivers/ata/libata-scsi.c
@@ -3239,7 +3239,7 @@ static void ata_scsi_handle_link_detach(
/**
...
| Oct 15, 5:29 pm 2007 |
| Randy Dunlap | [PATCH 1/4] docbook: fix kernel-api content
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix kernel-api docbook warnings.
Warning(linux-2.6.23-git8//drivers/message/fusion/mptscsih.c:2618): No description found for parameter 'sc'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/message/fusion/mptscsih.c | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
--- linux-2.6.23-git8.orig/drivers/message/fusion/mptscsih.c
+++ linux-2.6.23-git8/drivers/message/fusion/mptscsih.c
@@ -2605,14 +2605,10 @@ ...
| Oct 15, 5:29 pm 2007 |
| David Chinner | Re: More Large blocksize benchmarks
Apples to oranges, Chris ;)
btrfs linearises writes due to it's COW behaviour and this is trades
off read speed. i.e. we take more seeks to read data so we can keep
the write speed high. By using large blocks, you're reducing the
number of seeks needed to find anything, and hence the read speed
will increase. Write speed will be pretty much unchanged because
btrfs does linear writes no matter the block size.
XFS doesn't linearise writes and optimises it's layout for a large
number of disks ...
| Oct 15, 7:36 pm 2007 |
| Christoph Lameter | Re: More Large blocksize benchmarks
Dave's tests were done with an early large blocksize patchset that had
issues with readahead. More recent versions have the fixes by Fengguang
that address the issue.
-
| Oct 15, 5:44 pm 2007 |
| Chris Mason | More Large blocksize benchmarks
Hello everyone,
I'm stealing the cc list and reviving and old thread because I've
finally got some numbers to go along with the Btrfs variable blocksize
feature. The basic idea is to create a read/write interface to
map a range of bytes on the address space, and use it in Btrfs for all
metadata operations (file operations have always been extent based).
So, instead of casting buffer_head->b_data to some structure, I read and
write at offsets in a struct extent_buffer. The extent buffer is ...
| Oct 15, 5:22 pm 2007 |
| Greg KH | [PATCH] ecryptfs: clean up attribute mess
It isn't that hard to add simple kset attributes, so don't go through
all the gyrations of creating your own object type and show and store
functions. Just use the functions that are already present. This makes
things much simpler.
Note, the version_str string violates the "one value per file" rule for
sysfs. I suggest changing this now (individual files per type supported
is one suggested way.)
Cc: Michael A. Halcrow <mahalcro@us.ibm.com>
Cc: Michael C. Thompson ...
| Oct 15, 5:04 pm 2007 |
| Bodo Eggert | Re: Killing a network connection
There is a /proc/sys/net/ipv4/ip_dynaddr sysctl in 2.6.21.
--
If at first you don't succeed, call it version 1.0
Friß, Spammer: f.qxmdo@Mzdadi-.7eggert.dyndns.org
jzdhuDjwc@f.7eggert.dyndns.org czwFbC@cz.7eggert.dyndns.org
-
| Oct 15, 4:50 pm 2007 |
| Stefan Monnier | Re: Killing a network connection
> There is a /proc/sys/net/ipv4/ip_dynaddr sysctl in 2.6.21.
Actually, it does look promising, thanks.
Stefan
-
| Oct 15, 8:42 pm 2007 |
| Julian Calaby | Re: What still uses the block layer?
[adding back CCs which were dropped because I'm stupid - sorry!]
My (practical) experience is that I couldn't guarantee which card was
which. (I remember once where it changed over a kernel re-compile) So
my solution, before Debian's persistent naming scheme appeared, was to
check it after every new kernel and make sure my config matched up
Well, yes and no. My gut feeling is that it's probed like PCI cards
are. They're initialised when the drivers are loaded, and not before,
as such, there ...
| Oct 15, 4:49 pm 2007 |
| david | Re: What still uses the block layer?
this is the point of disagreement. the devices you can trivially enumerate
can be handled easily and trivially, the ones that you can't may require
more complex things to handle them, but that depends on the situation. If
you only have one USB drive on a system you don't need to worry about what
order USB hotplug events come in if you can just say 'the first USB
drive'. mixing the different types of devices into one namespace
complicates things in a couple of ways.
1. devices that used ...
| Oct 15, 7:12 pm 2007 |
| Neil Brown | Re: What still uses the block layer?
No, but it dramatically reduces that value of being able to enumerate
Breaking old behaviour is always bad... My computers with IDE
interfaces still see stable "/dev/hda" devices. Are you saying the
devices that used to be "hda" are now "sdb" ?? Maybe there is a
Depends on your metric.
"Easy to type" - I guess /dev/hda1 wins hands down.
"Can be used in a script or config file and is guaranteed always to
work until a screwdriver is used to change that device or it's
controller"
I ...
| Oct 15, 4:41 pm 2007 |
| Johan Brannlund | Lots of disk activity on resume from s2ram
Hi. I've noticed that with recent kernels (starting somewhere between
2.6.20 and 2.6.22) I sometimes get *lots* of disk activity on resume from
suspend to ram. About 2/3 of the time, the system resumes normally but in
the remaining 1/3 of the time, the hard drive light stays on almost solid
and the machine is very, very slow to respond. The only way I've found to
reliably recover from this is if I can get to a command prompt fast
enough and do "shutdown -r now". There's not much cpu activity ...
| Oct 15, 2:53 pm 2007 |
| Arnd Bergmann | asm-x86/* exported headers using CONFIG_X86_32
While looking through the new header files, I noticed lots of occurences
of #ifdef CONFIG_X86_32 in headers files exported for glibc.
This is fundamentally broken because user applications including them
do not know about any CONFIG_* symbols, and if they did, those
would incorrectly describe the ABI.
I guess in most cases, the headers that are interesting to user space
can simply be merged without any such #ifdef remaining, but those
that are still needed should be converted to use #ifdef ...
| Oct 15, 3:53 pm 2007 |
| Thomas Gleixner | Re: asm-x86/* exported headers using CONFIG_X86_32
Yup, they slipped through. I have fixups in my pile already. Will send
them tomorrow when I'm actually awake.
tglx
-
| Oct 15, 4:01 pm 2007 |
| J. Bruce Fields | [GIT] locks.c updates for 2.6.24
You can pull the following file-locking changes from:
git://linux-nfs.org/~bfields/linux.git locks
Cleanup, minor bugfixes and some documentation patches. They've been in
-mm for a while.
(By the way, I've also started some very primitive lease and flock
tests, available from:
git://linux-nfs.org/~bfields/lock-tests.git
and I'm mainly depending on those and connectathon locking tests for
now.)
--b.
J. Bruce Fields (7):
locks: reverse order of posix_locks_conflict() ...
| Oct 15, 3:53 pm 2007 |
| Jeremy Fitzhardinge | Re: [PATCH 11/11] maps3: make page monitoring /proc file ...
That means it will only bother asking you if you've set EMBEDDED;
otherwise its always on.
J
-
| Oct 15, 3:51 pm 2007 |
| Dave Hansen | Re: [PATCH 11/11] maps3: make page monitoring /proc file ...
How about pulling the EMBEDDED off there? I certainly want it for
non-embedded reasons. ;)
-- Dave
-
| Oct 15, 3:49 pm 2007 |
| Matt Mackall | [PATCH 2/11] maps3: introduce task_size_of for all arches
For the /proc/<pid>/pagemap code[1], we need to able to query how
much virtual address space a particular task has. The trick is
that we do it through /proc and can't use TASK_SIZE since it
references "current" on some arches. The process opening the
/proc file might be a 32-bit process opening a 64-bit process's
pagemap file.
x86_64 already has a TASK_SIZE_OF() macro:
#define TASK_SIZE_OF(child) ((test_tsk_thread_flag(child, TIF_IA32)) ? IA32_PAGE_OFFSET : TASK_SIZE64)
I'd like to ...
| Oct 15, 3:25 pm 2007 |
| Matt Mackall | [PATCH 3/11] maps3: move is_swap_pte
Move is_swap_pte helper function to swapops.h for use by pagemap code
Signed-off-by: Matt Mackall <mpm@selenic.com>
Index: l/include/linux/swapops.h
===================================================================
--- l.orig/include/linux/swapops.h 2007-10-09 17:36:25.000000000 -0500
+++ l/include/linux/swapops.h 2007-10-10 11:46:34.000000000 -0500
@@ -42,6 +42,12 @@ static inline pgoff_t swp_offset(swp_ent
return entry.val & SWP_OFFSET_MASK(entry);
}
+/* check whether a pte points ...
| Oct 15, 3:26 pm 2007 |
| Matt Mackall | [PATCH 1/11] maps3: add proportional set size accounting ...
From: Fengguang Wu <wfg@mail.ustc.edu.cn>
The "proportional set size" (PSS) of a process is the count of pages it has
in memory, where each page is divided by the number of processes sharing
it. So if a process has 1000 pages all to itself, and 1000 shared with one
other process, its PSS will be 1500.
- lwn.net: "ELC: How much memory are applications really using?"
The PSS proposed by Matt Mackall is a very nice metic for measuring an
process's memory footprint. So collect ...
| Oct 15, 3:25 pm 2007 |
| David Rientjes | Re: [PATCH 2/11] maps3: introduce task_size_of for all arches
test_tsk_thread_flag() takes two arguments.
-
| Oct 15, 7:26 pm 2007 |
| Dave Hansen | Re: [PATCH 10/11] maps3: add /proc/kpagecount and /proc/ ...
Yeah, that looks like a pretty sane scheme. Do we want to be any more
abstract about it? Perhaps instead of USER_SLAB, it should be
USER_KERNEL_INTERNAL, or USER_KERNEL_USE. The slab itself is going away
We could also Yeah, that looks like a pretty sane scheme. Do we want to
be any more abstract about it? Perhaps instead of USER_SLAB, it should
be USER_KERNEL_INTERNAL, or USER_KERNEL_USE. The slab itself is going
away as we speak.
For the bits that we want to export, we could also add ...
| Oct 15, 5:49 pm 2007 |
| Matt Mackall | Re: [PATCH 10/11] maps3: add /proc/kpagecount and /proc/ ...
Perhaps. SLUB is still "a slab-based allocator". SLOB isn't, but I
Confused. Why are we interested in clear?
--
Mathematics is the supreme nostalgia of our time.
-
| Oct 15, 5:58 pm 2007 |
| Dave Hansen | Re: [PATCH 10/11] maps3: add /proc/kpagecount and /proc/ ...
We're not. I just grabbed a random line to show the non-atomic
accessors. Any actual one we'd need to add would be:
#define __PageBuddy(page) __test_bit(PG_buddy, &(page)->flags)
It looks like we don't have any of these non-atomic ones for plain
__PageFoo(). So, we'd have to add them for each one that we wanted.
Still not much work, and still satisfies the "grep test". :)
-- Dave
-
| Oct 15, 6:07 pm 2007 |
| Rusty Russell | Re: [PATCH 11/11] maps3: make page monitoring /proc file ...
But it's at the least confusing. Surely this option should depend on MMU and
PROC_FS, and the prompt depend on EMBEDDED?
That might be implied by the Kconfig layout, but AFAICT this patch removed the
explicit MMU dependency.
Rusty.
-
| Oct 15, 5:03 pm 2007 |
| Dave Hansen | Re: [PATCH 2/11] maps3: introduce task_size_of for all arches
David,
All of your comments looked pretty valid to me. I've refreshed that
patch.
I haven't even compile-tested this so there may be some fat fingering
somewhere. I'll run compile tests on it now.
-- Dave
For the /proc/<pid>/pagemap code[1], we need to able to query how
much virtual address space a particular task has. The trick is
that we do it through /proc and can't use TASK_SIZE since it
references "current" on some arches. The process opening the
/proc file might be a 32-bit ...
| Oct 15, 5:36 pm 2007 |
| Matt Mackall | Re: [PATCH 10/11] maps3: add /proc/kpagecount and /proc/ ...
Hmm, I would have thought you'd find the NUMA bits especially interesting.
Being able to, say, colorize a process' memory map by what nodes its
That is a concern. In general, I think getting too cute with page
flags and struct page in general is a bad idea because the rules here
are already so complex/fragile/confusing/underdocumented, but there's
Referenced, dirty, uptodate, lru, active, slab, writeback, reclaim,
and buddy all look like they might be interesting to me from the point
of ...
| Oct 15, 4:11 pm 2007 |
| Matt Mackall | [PATCH 0/11] maps3: pagemap monitoring v3
This patchset is version 3 of my /proc/pid/pagemaps code.
Rather than submit about 30 incremental patches atop an existing 20 or
so where many of the intermediate states are broken and get undone
anyway, I've respun this as a much smaller set of 11 patches.
Changes in this series:
- headers gone again (as recommended by Dave Hansen and Alan Cox)
- 64-bit entries (as per discussion with Andi Kleen)
- swap pte information exported (from Dave Hansen)
- page walker callback for holes (from ...
| Oct 15, 3:25 pm 2007 |
| Dave Hansen | Re: [PATCH 10/11] maps3: add /proc/kpagecount and /proc/ ...
This is true, but it forces a lot of logic from the kernel to be run in
userspace to figure out what is going on. Looking at mainline today:
#define PG_reclaim 17 /* To be reclaimed asap */
...
#define PG_readahead PG_reclaim /* Reminder to do async read-ahead */
All of a sudden, to figure out which flag it actually is, we need to
have all of the logic that the kernel does.
Does this establish a fixed user<->kernel ABI that will keep us from
doing this in ...
| Oct 15, 4:34 pm 2007 |
| Matt Mackall | Re: [PATCH 10/11] maps3: add /proc/kpagecount and /proc/ ...
Yeah, there are a bunch of flags that aren't mutually exclusive and we
Perhaps we need something like:
flags = page->flags;
userflags =
FLAG_BIT(USER_REFERENCED, flags & PG_referenced) |
...
etc. for the flags we want to export. This will let us change to
FLAG_BIT(USER_SLAB, PageSlab(page)) |
if we make a virtual slab bit.
And it shows up in grep.
Unfortunately, i386 test_bit is an asm inline and not a macro so we
can't hope for the compiler to fold up a bunch of ...
| Oct 15, 5:35 pm 2007 |
| Matt Mackall | Re: [PATCH 4/11] maps3: introduce a generic page walker
Probably - the pattern is [start, end). Either that or we should have
Oops.
--
Mathematics is the supreme nostalgia of our time.
-
| Oct 15, 4:30 pm 2007 |
| Matt Mackall | [PATCH 6/11] maps3: simplify interdependence of maps and smaps
From: Matt Mackall <mpm@selenic.com>
This pulls the shared map display code out of show_map and puts it in
show_smap where it belongs.
Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Index: l/fs/proc/task_mmu.c
===================================================================
--- l.orig/fs/proc/task_mmu.c 2007-10-14 13:37:08.000000000 -0500
+++ ...
| Oct 15, 3:26 pm 2007 |
| Jeremy Fitzhardinge | Re: [PATCH 4/11] maps3: introduce a generic page walker
Yes. We already have apply_to_page_range(), which has the side effect
of creating the page range in order to apply a function to it. It would
be nice to be able to replicate its functionality with this page waker
Yep.
J
-
| Oct 15, 4:20 pm 2007 |
| Matt Mackall | [PATCH 10/11] maps3: add /proc/kpagecount and /proc/kpag ...
From: Matt Mackall <mpm@selenic.com>
This makes physical page map counts available to userspace. Together
with /proc/pid/pagemap and /proc/pid/clear_refs, this can be used to
monitor memory usage on a per-page basis.
[bunk@stusta.de: make struct proc_kpagemap static]
Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton ...
| Oct 15, 3:26 pm 2007 |
| Matt Mackall | [PATCH 4/11] maps3: introduce a generic page walker
Introduce a general page table walker
Signed-off-by: Matt Mackall <mpm@selenic.com>
Index: l/include/linux/mm.h
===================================================================
--- l.orig/include/linux/mm.h 2007-10-09 17:37:59.000000000 -0500
+++ l/include/linux/mm.h 2007-10-10 11:46:37.000000000 -0500
@@ -773,6 +773,17 @@ unsigned long unmap_vmas(struct mmu_gath
struct vm_area_struct *start_vma, unsigned long start_addr,
unsigned long end_addr, unsigned long *nr_accounted,
...
| Oct 15, 3:26 pm 2007 |
| Matt Mackall | Re: [PATCH 1/11] maps3: add proportional set size accoun ...
I think that's overkill for something that has exactly one use of each.
--
Mathematics is the supreme nostalgia of our time.
-
| Oct 15, 5:18 pm 2007 |
| Dave Hansen | Re: [PATCH 4/11] maps3: introduce a generic page walker
For now, we should probably document that these functions assume that
the appropriate locks are held, and that there are no changes being made
to the pagetables as we walk.
However, I can see that people might want to use these in the future for
establishing ptes. Perhaps a special code coming back from the
->pte_hole() function could indicate changes were made to the
pagetables. I guess we could at least retry part of the loop where the
hole call was made, like:
+int ...
| Oct 15, 4:05 pm 2007 |
| David Rientjes | Re: [PATCH 1/11] maps3: add proportional set size accoun ...
There's no overkill at all, the current uses are already accessed with
these bitshifts so there's no overhead when using an inlined function
instead.
To correctly access the pss, these bitshifts are required because the
decision was made to use the lower PSS_DIV_BITS for rounding. Thus, you
need to include accessor functions so that they are always accessed
correctly now and in the future.
David
-
| Oct 15, 7:24 pm 2007 |
| Matt Mackall | [PATCH 9/11] maps3: add /proc/pid/pagemap interface
From: Matt Mackall <mpm@selenic.com>
This interface provides a mapping for each page in an address space to its
physical page frame number, allowing precise determination of what pages are
mapped and what pages are shared between processes.
New in this version:
- headers gone again (as recommended by Dave Hansen and Alan Cox)
- 64-bit entries (as per discussion with Andi Kleen)
- swap pte information exported (from Dave Hansen)
- page walker callback for holes (from Dave Hansen)
- direct ...
| Oct 15, 3:26 pm 2007 |
| Matt Mackall | [PATCH 5/11] maps3: use pagewalker in clear_refs and smaps
Use the generic pagewalker for smaps and clear_refs
Signed-off-by: Matt Mackall <mpm@selenic.com>
Index: l/fs/proc/task_mmu.c
===================================================================
--- l.orig/fs/proc/task_mmu.c 2007-10-14 13:36:56.000000000 -0500
+++ l/fs/proc/task_mmu.c 2007-10-14 13:37:08.000000000 -0500
@@ -116,6 +116,7 @@ static void pad_len_spaces(struct seq_fi
struct mem_size_stats
{
+ struct vm_area_struct *vma;
unsigned long resident;
unsigned long ...
| Oct 15, 3:26 pm 2007 |
| Jeremy Fitzhardinge | Re: [PATCH 4/11] maps3: introduce a generic page walker
It would be nice to have some clue about when each of these functions
are called (depth first? pre or post order?), and what their params
are. Does it call a callback for folded pagetable levels?
Can pte_hole be used to create new mappings while we're traversing the
Should this be (pte, addr, addr+PAGE_SIZE, private)? Is the second addr
argument for the address range being mapped by this thing? Why pass
-
| Oct 15, 3:40 pm 2007 |
| Matt Mackall | [PATCH 11/11] maps3: make page monitoring /proc file optional
Make /proc/ page monitoring configurable
This puts the following files under an embedded config option:
/proc/pid/clear_refs
/proc/pid/smaps
/proc/pid/pagemap
/proc/kpagecount
/proc/kpageflags
Signed-off-by: Matt Mackall <mpm@selenic.com>
Index: l/fs/proc/base.c
===================================================================
--- l.orig/fs/proc/base.c 2007-10-15 17:18:09.000000000 -0500
+++ l/fs/proc/base.c 2007-10-15 17:18:16.000000000 -0500
@@ -2031,7 +2031,7 @@ static const ...
| Oct 15, 3:26 pm 2007 |
| David Rientjes | Re: [PATCH 2/11] maps3: introduce task_size_of for all arches
TASK_SIZE_OF() should be defined in terms of TASK_SIZE, just like it is
Same.
-
| Oct 15, 4:45 pm 2007 |
| Matt Mackall | [PATCH 7/11] maps3: move clear_refs code to task_mmu.c
From: Matt Mackall <mpm@selenic.com>
This puts all the clear_refs code where it belongs and probably lets things
compile on MMU-less systems as well.
Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Index: l/fs/proc/base.c
===================================================================
--- l.orig/fs/proc/base.c 2007-10-14 13:35:08.000000000 ...
| Oct 15, 3:26 pm 2007 |
| David Rientjes | Re: [PATCH 1/11] maps3: add proportional set size accoun ...
I know this gets moved again in the eighth patch of the series, but the
#define still has no place inside the struct definition.
The pss is going to need accessor functions, preferably inlined, and the
comment adjusted stating that all accesses should be through those
functions and not directly to the mem_size_stats struct.
static inline u64 pss_up(unsigned long pss)
{
return pss << PSS_DIV_BITS;
}
static inline unsigned long pss_down(u64 pss)
{
return pss >> ...
| Oct 15, 4:36 pm 2007 |
| Matt Mackall | [PATCH 8/11] maps3: regroup task_mmu by interface
From: Matt Mackall <mpm@selenic.com>
Reorder source so that all the code and data for each interface is together.
Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Index: l/fs/proc/task_mmu.c
===================================================================
--- l.orig/fs/proc/task_mmu.c 2007-10-14 13:42:11.000000000 -0500
+++ ...
| Oct 15, 3:26 pm 2007 |
| Matt Mackall | Re: [PATCH 11/11] maps3: make page monitoring /proc file ...
Wasn't this your patch? You're right, it ought to say "depends PROC_FS
&& MMU". Will fix.
--
Mathematics is the supreme nostalgia of our time.
-
| Oct 15, 5:20 pm 2007 |
| Dave Hansen | Re: [PATCH 10/11] maps3: add /proc/kpagecount and /proc/ ...
This one makes me worry a little bit. Are we sure that this won't
expose a wee bit too much to userspace?
I can see it making sense to clear the page refs, then inspect whether
the page has been referenced again. But, I worry that people are going
to start doing things like read NUMA, SPARSEMEM, or other internal
information out of these.
I've seen quite a few patches lately that do creative things with these
*cough*clameter*cough*, and I worry that they're too fluid to get
exposed to ...
| Oct 15, 3:48 pm 2007 |
| Jeff Garzik | [git patch] libata build fix
And it becomes obvious I normally do my building and testing on x86-64...
Please pull from 'upstream-linus' branch of
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus
to receive the following updates:
drivers/ata/pata_cs5536.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
Jeff Garzik (1):
[libata] pata_cs5536: new API build fix
diff --git a/drivers/ata/pata_cs5536.c b/drivers/ata/pata_cs5536.c
index 21405bf..53070f6 100644
--- ...
| Oct 15, 3:13 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 11/12] xen: add some debug output for failed multicalls
Multicalls are expected to never fail, and the normal response to a
failed multicall is very terse. In the interests of better
debuggability, add some more verbose output. It may be worth turning
this off once it all seems more tested.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
---
arch/x86/xen/multicalls.c | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
===================================================================
--- ...
| Oct 15, 1:48 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 07/12] xen: deal with stale cr3 values when unpin ...
When a pagetable is no longer in use, it must be unpinned so that its
pages can be freed. However, this is only possible if there are no
stray uses of the pagetable. The code currently deals with all the
usual cases, but there's a rare case where a vcpu is changing cr3, but
is doing so lazily, and the change hasn't actually happened by the time
the pagetable is unpinned, even though it appears to have been completed.
This change adds a second per-cpu cr3 variable - xen_current_cr3 -
which ...
| Oct 15, 1:48 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 06/12] xen: add batch completion callbacks
This adds a mechanism to register a callback function to be called once
a batch of hypercalls has been issued. This is typically used to unlock
things which must remain locked until the hypercall has taken place.
[ Stable folks: pre-req for 2.6.23 bugfix "xen: deal with stale cr3
values when unpinning pagetables" ]
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Stable Kernel <stable@kernel.org>
---
arch/x86/xen/multicalls.c | 29 ++++++++++++++++++++++++++---
...
| Oct 15, 1:48 pm 2007 |
| Andi Kleen | Re: [stable] [PATCH 00/12] xen/paravirt_ops patches for 2.6.24
This should be probably done unconditionally because it's a undefined
dangerous condition everywhere.
-Andi
-
| Oct 15, 3:03 pm 2007 |
| Jeremy Fitzhardinge | Re: [stable] [PATCH 00/12] xen/paravirt_ops patches for 2.6.24
Crap, sorry about that. I'd just intended to send the overview and the
four patches, which have explicit CC: stable lines in the patch
descriptions. They are:
Subject: [PATCH 06/12] xen: add batch completion callbacks
Subject: [PATCH 07/12] xen: deal with stale cr3 values when unpinning
pagetables
Subject: [PATCH 10/12] xen: fix incorrect vcpu_register_vcpu_info
hypercall argument
Subject: [PATCH 12/12] xfs: eagerly remove vmap mappings to avoid
upsetting Xen
J
-
| Oct 15, 2:59 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 00/12] xen/paravirt_ops patches for 2.6.24
Hi Linus,
Here's a set of patches to update paravirt_ops and Xen for 2.6.24
A quick overview of the patchset:
paravirt_ops:
Remove the monolithic paravirt_ops structure, and replace it with
smaller structures of related functions. Also, clean up the handling
of lazy mode to make it easier to implement.
x86/mm/init.c: remove a chunk of dead code
Xen:
- remove duplicate includes
- yield if the target vcpu of an IPI is not currently running
- add post-batch callbacks for ...
| Oct 15, 1:48 pm 2007 |
| Zachary Amsden | Re: [stable] [PATCH 00/12] xen/paravirt_ops patches for 2.6.24
Should be done unconditionally. One could remap the underlying physical
space to include an MMIO region, and speculative reads from the
cacheable virtual mapping of that region could move the robot arm,
destroying the world.
Zach
-
| Oct 15, 4:48 pm 2007 |
| Greg KH | Re: [stable] [PATCH 00/12] xen/paravirt_ops patches for 2.6.24
Yeah, but you cc:ed all 12 patches to stable@. The majority of which we
don't want to take, right? Which specific ones should stable@ care
about?
thanks,
greg k-h
-
| Oct 15, 2:54 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 08/12] xen: lock pte pages while pinning/unpinning
When a pagetable is created, it is made globally visible in the rmap
prio tree before it is pinned via arch_dup_mmap(), and remains in the
rmap tree while it is unpinned with arch_exit_mmap().
This means that other CPUs may race with the pinning/unpinning
process, and see a pte between when it gets marked RO and actually
pinned, causing any pte updates to fail with write-protect faults.
As a result, all pte pages must be properly locked, and only unlocked
once the pinning/unpinning process ...
| Oct 15, 1:48 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 09/12] xen: ask the hypervisor how much space it ...
Ask the hypervisor how much space it needs reserved, since 32-on-64
doesn't need any space, and it may change in future.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
---
arch/x86/xen/enlighten.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
===================================================================
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1085,6 +1085,17 @@ static const struct machine_ops __initda
};
+static ...
| Oct 15, 1:48 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 03/12] remove dead code in pgtable_cache_init
The conversion from using a slab cache to quicklist left some residual
dead code.
I note that in the conversion it now always allocates a whole page for
the pgd, rather than the 32 bytes needed for a PAE pgd. Was this
intended?
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Andi Kleen <ak@suse.de>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
...
| Oct 15, 1:48 pm 2007 |
| David Chinner | Re: [PATCH 12/12] xfs: eagerly remove vmap mappings to a ...
Looks fine, Jeremy. I'll pull this into our dev tree and it should
get pushed with the .24 XFS merge (if someone doesn't pull these
patches directly).
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
-
| Oct 15, 4:04 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 12/12] xfs: eagerly remove vmap mappings to avoid ...
XFS leaves stray mappings around when it vmaps memory to make it
virtually contigious. This upsets Xen if one of those pages is being
recycled into a pagetable, since it finds an extra writable mapping of
the page.
This patch solves the problem in a brute force way, by making XFS
always eagerly unmap its mappings. David Chinner says this shouldn't
have any performance impact on filesystems with default block sizes;
it will only affect filesystems with large block sizes.
Signed-off-by: ...
| Oct 15, 1:48 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 10/12] xen: fix incorrect vcpu_register_vcpu_info ...
The kernel's copy of struct vcpu_register_vcpu_info was out of date,
at best causing the hypercall to fail and the guest kernel to fall
back to the old mechanism, or worse, causing random memory corruption.
[ Stable folks: applies to 2.6.23 ]
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Stable Kernel <stable@kernel.org>
Cc: Morten =?utf-8?q?B=C3=B8geskov?= <xen-users@morten.bogeskov.dk>
Cc: Mark Williamson <mark.williamson@cl.cam.ac.uk>
---
arch/x86/xen/enlighten.c | ...
| Oct 15, 1:48 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 04/12] Clean up duplicate includes in arch/i386/xen/
This patch cleans up duplicate includes in
arch/i386/xen/
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
---
arch/x86/xen/enlighten.c | 1 -
arch/x86/xen/mmu.c | 2 --
2 files changed, 3 deletions(-)
===================================================================
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -25,7 +25,6 @@
#include <linux/mm.h>
#include <linux/page-flags.h>
#include ...
| Oct 15, 1:48 pm 2007 |
| Jesper Juhl | Re: [PATCH 04/12] Clean up duplicate includes in arch/i3 ...
Just for the record; this patch is
--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
| Oct 15, 2:58 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 05/12] xen: yield to IPI target if necessary
When sending a call-function IPI to a vcpu, yield if the vcpu isn't
running.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
---
arch/x86/xen/smp.c | 14 ++++++++++----
arch/x86/xen/time.c | 6 ++++++
arch/x86/xen/xen-ops.h | 2 ++
3 files changed, 18 insertions(+), 4 deletions(-)
===================================================================
--- a/arch/x86/xen/smp.c
+++ b/arch/x86/xen/smp.c
@@ -360,7 +360,8 @@ int xen_smp_call_function_mask(cpumask_t
...
| Oct 15, 1:48 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 02/12] paravirt: clean up lazy mode handling
Currently, the set_lazy_mode pv_op is overloaded with 5 functions:
1. enter lazy cpu mode
2. leave lazy cpu mode
3. enter lazy mmu mode
4. leave lazy mmu mode
5. flush pending batched operations
This complicates each paravirt backend, since it needs to deal with
all the possible state transitions, handling flushing, etc. In
particular, flushing is quite distinct from the other 4 functions, and
seems to just cause complication.
This patch removes the set_lazy_mode operation, and adds ...
| Oct 15, 1:48 pm 2007 |
| Jeremy Fitzhardinge | [PATCH 01/12] paravirt: refactor struct paravirt_ops int ...
This patch refactors the paravirt_ops structure into groups of
functionally related ops:
pv_info - random info, rather than function entrypoints
pv_init_ops - functions used at boot time (some for module_init too)
pv_misc_ops - lazy mode, which didn't fit well anywhere else
pv_time_ops - time-related functions
pv_cpu_ops - various privileged instruction ops
pv_irq_ops - operations for managing interrupt state
pv_apic_ops - APIC operations
pv_mmu_ops - operations for managing ...
| Oct 15, 1:48 pm 2007 |
| John Marconi | Problem: CPU sleep when calling a function in another o ...
Hello,
I have been seeing a problem in which one of my CPUs goes to sleep for
40ms in the middle of running a user-space program. The problem occurs
when I have a function in object file X call another function in object
file Y. If I add a gettimeofday right before the function call occurs,
and then also right at the beginning of the called function, I see a
40ms delay. This only occurs on the first call to any function in file
Y. Once a function in file Y is called, all other calls to ...
| Oct 15, 2:11 pm 2007 |
| H. Peter Anvin | Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optim ...
PREFETCHNTA.
-hpa
-
| Oct 15, 5:11 pm 2007 |
| Mikulas Patocka | LFENCE instruction (was: [rfc][patch 3/3] x86: optimise ...
Hi
I'm just wondering about one thing --- what is LFENCE instruction good
for?
SFENCE is for enforcing ordering in write-combining buffers (it doesn't
have sense in write-back cache mode).
MFENCE is for preventing of moving stores past loads.
But what is LFENCE for? I read the above documents and they already say
that CPUs have ordered loads.
In Intel instruction reference, the description for LFENCE is copied from
SFENCE (with the word "store" replaced with the word "load"), so ...
| Oct 15, 1:47 pm 2007 |
| Mikulas Patocka | Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optim ...
I know about unordered stores (movnti & similar) --- they basically use
write-combining method on memory that is normally write-back --- and they
need sfence. But which one instruction does unordered load and needs
lefence?
Mikulas
-
| Oct 15, 3:08 pm 2007 |
| Arjan van de Ven | Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optim ...
On Mon, 15 Oct 2007 22:47:42 +0200 (CEST)
The cpus also have an explicit set of instructions that deliberately do
unordered stores/loads, and s/lfence etc are mostly designed for those.
-
| Oct 15, 2:37 pm 2007 |
| Nick Piggin | Re: LFENCE instruction (was: [rfc][patch 3/3] x86: optim ...
Also, for non-wb memory. I don't think the Intel document referenced
says anything about this, but the AMD document says that loads can pass
loads (page 8, rule b).
This is why our rmb() is still an lfence.
-
| Oct 15, 5:22 pm 2007 |
| Lukas Razik | [BUG] RTL8169/8139 based network card
Kernel Version: 2.6.22.9 (and others)
Hello!
I've an issue with a RTL8169 based network card (the same with a RTL8139
card and another system)
# lspci -v :
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
Gigabit Ethernet (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit
Ethernet
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 12
I/O ports at e000 [size=256]
Memory at f9fdd000 (32-bit, non-prefetchable) ...
| Oct 15, 10:05 am 2007 |
| Ondrej Zary | Re: [BUG] RTL8169/8139 based network card
udev - persistent network rules in /etc/udev/rules.d/
--
Ondrej Zary
-
| Oct 15, 2:15 pm 2007 |
| Rafael J. Wysocki | [PATCH -mm] PM: Rework struct platform_suspend_ops fixup
From: Rafael J. Wysocki <rjw@sisk.pl>
A recently merged powerpc update has overlapped with the changes introduced by
the following patches:
pm-rename-struct-pm_ops-and-related-things.patch
pm-rework-struct-platform_suspend_ops.patch
As a result, mpc5200 and lite5200 need to be modified to follow the reworked
suspend core.
Thanks to Joseph Fannin <jfannin@gmail.com> for reporting the problem and
helping to fix it.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
...
| Oct 15, 2:14 pm 2007 |
| Stefan Monnier | Re: Killing a network connection
Actually, I'm pretty happy sometimes with the current behavior: if the
interface goes down and back up with the same AP within a short enough time,
it typically gets the same IP and the router's NAT table still has the TCP
connection live and things "just work".
So I'd want to kill the connections not when the interface goes down, but in
comes back up with a different IP.
Stefan
-
| Oct 15, 8:15 pm 2007 |
| Andi Kleen | Re: Killing a network connection
Long ago I did a 2.4 patch that solved exactly this problem. It introduced
a new ifconfig flag "dynamic" and when a dynamic address went down
all TCP connections originating from it were killed. It's still available
in older SUSE releases. I might post a forward port later.
-Andi
-
| Oct 15, 3:12 pm 2007 |
| Stefan Monnier | Killing a network connection
[ I suppose this is not the best place to ask this, but
comp.os.linux.networking couldn't come up with a good answer and I can't
think of any intermediate step between these two groups ;-( ]
I'd like (as root, obviously) to kill some of the TCP connections visible
in netstat. I've found `tcpkill' and `cutter' but `cutter' only kills TCP
connections that go *though* the machine (in my case, the machine is not
a router, so there aren't any such thu connections anyway) and `tcpkill'
can only ...
| Oct 15, 11:40 am 2007 |
| Sam Ravnborg | [GIT PULL (updated)] kbuild updates
Hi Linus.
The kbuild patches has been rebased on top of -linus after
the x86 merge.
The patch that caused ARCH to be unset has been withdrawn for
now. It had additional issues and I need to do additional changes
to get it included - in other words it will await next merge window.
The following patches does almost clear my patch queue. I have some
fixes pending but need some more time to check them out.
On top of this I have a few reports from -mm that needs attention too.
So in other words ...
| Oct 15, 1:50 pm 2007 |
| Jeremy Katz | Re: [PATCH] Map volume and brightness events on thinkpads
It seemed to be doing the right thing here on an X31 (had to give it
back to its owner; will retrieve and test again tomorrow to make sure
I don't know that having another mixer is really the right answer. You
want to have the buttons/hardware volume matching (and showing)
on-screen changes to the system volume. Otherwise, things are just
Having the volume keys reported makes it so that we get the on-screen
display of the volume changing and /proc/acpi/ibm/volume matches what
the ...
| Oct 15, 2:27 pm 2007 |
| Arjan van de Ven | Re: [PATCH] Map volume and brightness events on thinkpads
On Mon, 15 Oct 2007 19:07:37 -0200
there is a huge problem with this though: Depending on your graphics
chip, it's the graphics driver, not the bios, that does the backlight
control...... in fact the trend in hardware (this is what windows
does) is have the OS take over the control of all of this as soon as
possible...
Linux should do this with software control as well for that reason; the
other approach just isn't going to be possible in the long term ;(
-
| Oct 15, 2:43 pm 2007 |
| Henrique de Moraes H ... | Re: [PATCH] Map volume and brightness events on thinkpads
NAK. It is the completely wrong thing to do for IBM thinkpads which process
volume and brightness completely in firmware.
And the input subsystem maintainer has made it extremely clear in various
threads that the input devices are *not* to be used as a notification
service for on-screen-display or other such stuff. If you send volume and
brightness *key* events to userspace, it is supposed to act on them and
raise/lower brightness/volume, which is the wrong thing to do on thinkpads.
Never ...
| Oct 15, 2:07 pm 2007 |
| Jeremy Katz | [PATCH] Map volume and brightness events on thinkpads
There are standard keycodes for brightness and volume; map the events to
emit them so that things work properly
Signed-off-by: Jeremy Katz <katzj@redhat.com>
---
drivers/misc/thinkpad_acpi.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c
index 6c0b2f0..64ae4b4 100644
--- a/drivers/misc/thinkpad_acpi.c
+++ b/drivers/misc/thinkpad_acpi.c
@@ -945,15 +945,15 @@ static int __init ...
| Oct 15, 1:45 pm 2007 |
| Jesse Barnes | Re: [PATCH] Map volume and brightness events on thinkpads
No, on Lenovo (and in general actually) the firmware should *not* touch
the backlight. Otherwise if another driver touches it the driver and
firmware will be out of sync, causing unexpected and undesirable
behavior. We intend to fix this for the Intel driver at least
(requiring both ACPI video driver and gfx driver updates), others will
probably follow eventually.
Jesse
-
| Oct 15, 8:38 pm 2007 |
| Andrea Righi | Re: [NFS] nfsd closes port 2049
Thanks Neil, looking at the source and in my logs this seems to explain
perfectly my problem. I'll try the patch ASAP.
-Andrea
-
| Oct 15, 2:57 pm 2007 |
| Neil Brown | Re: [NFS] nfsd closes port 2049
This is fixed in any release based on 2.6.16.31 or later.
The relevant mainline patch is
1a047060a99f274a7c52cfea8159e4142a14b8a7
as below.
So update your kernel package.
NeilBrown
commit 1a047060a99f274a7c52cfea8159e4142a14b8a7
Author: NeilBrown <neilb@suse.de>
Date: Thu Oct 19 23:29:13 2006 -0700
[PATCH] knfsd: fix race that can disable NFS server
This patch is suitable for just about any 2.6 kernel. It should go in
2.6.19 and 2.6.18.2 and possible even ...
| Oct 15, 1:24 pm 2007 |
| Jeff Garzik | [git patches] libata updates
The sata_nv update has been in -mm for a while, but couldn't make the
last drop due to last minute bugs.
Please pull from 'upstream-linus' branch of
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus
to receive the following updates:
drivers/ata/Kconfig | 9 +
drivers/ata/Makefile | 1 +
drivers/ata/ata_piix.c | 35 ++-
drivers/ata/libata-core.c | 9 +-
drivers/ata/libata-scsi.c | 5 +-
drivers/ata/pata_cs5536.c | 346 ...
| Oct 15, 1:20 pm 2007 |
| Jeff Garzik | [git patches] net driver updates
The MIPS stuff was ACK'd by Ralf.
Please pull from 'upstream-linus' branch of
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus
to receive the following updates:
Documentation/networking/bonding.txt | 33 +
arch/mips/au1000/common/prom.c | 61 +-
arch/mips/au1000/common/setup.c | 5 +-
arch/mips/au1000/db1x00/init.c | 10 +-
arch/mips/au1000/mtx-1/init.c | 6 +-
...
| Oct 15, 1:19 pm 2007 |
| Alan Cox | [PATCH] geode lists are subscriber only
This gave me bounces and moans when chasing CS5536 so document it
Signed-off-by: Alan Cox <alan@redhat.com>
diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.23-mm1/MAINTAINERS linux-2.6.23-mm1/MAINTAINERS
--- linux.vanilla-2.6.23-mm1/MAINTAINERS 2007-10-15 15:03:24.000000000 +0100
+++ linux-2.6.23-mm1/MAINTAINERS 2007-10-15 15:28:55.000000000 +0100
@@ -353,13 +353,12 @@
AMD GEODE CS5536 USB DEVICE CONTROLLER DRIVER
P: Thomas Dahlmann
...
| Oct 15, 1:19 pm 2007 |
| Alan Cox | [PATCH] tty: Kill TTY_FLIPBUF_SIZE
This legacy define from the old buffer code is now only used in a single
power pc driver than doesn't compile anyway.
Signed-off-by: Alan Cox <alan@redhat.com>
diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.23-mm1/include/linux/tty.h linux-2.6.23-mm1/include/linux/tty.h
--- linux.vanilla-2.6.23-mm1/include/linux/tty.h 2007-10-15 15:03:38.000000000 +0100
+++ linux-2.6.23-mm1/include/linux/tty.h 2007-10-15 15:28:46.000000000 +0100
@@ -52,13 +52,6 @@
*/
...
| Oct 15, 1:18 pm 2007 |
| Alan Cox | [RESEND] [PATCH] sparc support for new termios
From: Dave Miller <davem@davemloft.net>
Signed-off-by: David Miller <davem@davemloft.net>
Signed-off-by: Alan Cox <alan@redhat.com>
diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.vanilla-2.6.23-mm1/include/asm-sparc/ioctls.h linux-2.6.23-mm1/include/asm-sparc/ioctls.h
--- linux.vanilla-2.6.23-mm1/include/asm-sparc/ioctls.h 2007-10-15 15:01:58.000000000 +0100
+++ linux-2.6.23-mm1/include/asm-sparc/ioctls.h 2007-10-15 15:26:51.000000000 +0100
@@ -15,6 +15,10 @@
#define ...
| Oct 15, 1:13 pm 2007 |
| Geert Uytterhoeven | [PATCH] Atari keyboard: incorporate additional review comments
Atari keyboard: incorporate additional review comments:
o Kill reference to source file name
o Return error value from input_register_device() instead of -ENOMEM
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de>
---
arch/m68k/atari/atakeyb.c | 2 --
drivers/input/keyboard/atakbd.c | 7 ++++---
2 files changed, 4 insertions(+), 5 deletions(-)
--- ...
| Oct 15, 12:51 pm 2007 |
| Yinghai Lu | git/cscope with x86 merge
after the merge:
1. git
git log -p arch/x86/kernel/io_apic_64.c
only can show the log from the merge..., and can not get log before
merge for x86_64/kernel/io_apic.c
Any git update for that?
2. cscope
on x86_64, it is good to see file in arch/x86/pci/*
but will show other _32.c too.
So is it possible to change find-sources to make filter out _32.* and
mach-* dirs?
YH
-
| Oct 15, 12:45 pm 2007 |
| Linus Torvalds | Re: git/cscope with x86 merge
Use
git log -p --follow arch/x86/kernel/io_apic_64.c
where the "--follow" tells git to follow renames.
And, of course, "git blame -C" will follow renames and copying of code
across file boundaries too.
NOTE! In both cases you may actually have to tell git to not limit its
rename detection when it sees lots of files. You can do that
once-and-for-all with
git config --global diff.renamelimit 0
which should take care of it (although it seems that due to unlucky
timing, the ...
| Oct 15, 1:00 pm 2007 |
| Dave Jones | Re: git/cscope with x86 merge
On Mon, Oct 15, 2007 at 12:45:27PM -0700, Yinghai Lu wrote:
> after the merge:
> 1. git
> git log -p arch/x86/kernel/io_apic_64.c
> only can show the log from the merge..., and can not get log before
> merge for x86_64/kernel/io_apic.c
> Any git update for that?
add --follow to your command line
> 2. cscope
> on x86_64, it is good to see file in arch/x86/pci/*
> but will show other _32.c too.
> So is it possible to change find-sources to make filter out _32.* and
> mach-* ...
| Oct 15, 1:01 pm 2007 |
| Andrea Righi | [NFS] nfsd closes port 2049
Hi all,
I'm trying to debug a weird problem with nfsd on a 2.6.16.27-0.6-smp
kernel.
1 server: SuSE SLES 10 x86_64, config attached
256 clients: RHEL4 Update 4 2.6.9-42.ELsmp x86_64
Using nfs v3.
The clients have been happily talking to the server for several days
without incident.
The weird thing is that at a certain point the socket opened on port
2049 on the NFS server is being closed for unknown reasons (or better
for unknown reasons for me!). With unknown reasons I mean that I ...
| Oct 15, 9:57 am 2007 |
| Talpey, Thomas | Re: [NFS] nfsd closes port 2049
>Oct 13 05:20:56 node0101 kernel: nfsd_acceptable failed at ffff8100c7873700
Sounds like the filesystem became unexported, or unexportable
due to turning off an "x" bit somewhere along the directory tree.
Were all these clients accessing a single mountpoint? Check
/etc/exports, and that directory.
Tom.
-
| Oct 15, 11:04 am 2007 |
| Andrea Righi | Re: [NFS] nfsd closes port 2049
Thomas,
thanks for the quick reply. Here is the /etc/exports (all clients are
accessing the same mountpoint):
node0101:~ # cat /etc/exports
# See the exports(5) manpage for a description of the syntax of this file.
# This file contains a list of all directories that are to be exported to
# other computers via NFS (Network File System).
# This file used by rpc.nfsd and rpc.mountd. See their manpages for details
# on how make changes in this file effective.
/eni01 ...
| Oct 15, 11:23 am 2007 |
| Mohamed Bamakhrama | Flynn's Original Paper about Computer Organization
Hi all,
I am looking for Michael Flynn original paper about computer
organization in which Flynn devised the so-called "Flynn Taxonomy". I
tried Google, IEEE Xplore, ACM, Yahoo but in vain. I would be very
grateful if someone can post a scanned version of the manuscript.
Here is the citation as generated by the paper BibTeX entry in Google scholar:
Michael J. Flynn. Some Computer Organizations and Their Effectiveness. IEEE
Transactions on Computers, 21(9):948{960, 1972.
link: ...
| Oct 15, 11:52 am 2007 |
| Alan Cox | Re: Flynn's Original Paper about Computer Organization
On Mon, 15 Oct 2007 20:52:50 +0200
You may find the following useful
http://en.wikipedia.org/Wiki/Copyright
Please don't ask on this list for people to abuse copyright law.
Alan
-
| Oct 15, 12:33 pm 2007 |
| John Stoffel | Re: Flynn's Original Paper about Computer Organization
Mohamed> I am looking for Michael Flynn original paper about computer
Mohamed> organization in which Flynn devised the so-called "Flynn
Mohamed> Taxonomy". I tried Google, IEEE Xplore, ACM, Yahoo but in
Mohamed> vain. I would be very grateful if someone can post a scanned
Mohamed> version of the manuscript. Here is the citation as generated
Mohamed> by the paper BibTeX entry in Google scholar:
Mohamed> Michael J. Flynn. Some Computer Organizations and Their
Mohamed> Effectiveness. IEEE ...
| Oct 15, 2:08 pm 2007 |
| Jason Wessel | [PATCH 14/21] KGDB: KGDB arch support for ARM
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 21/21] KGDB: Turn off xmon if kgdb is active on p ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:34 am 2007 |
| Jason Wessel | [PATCH 19/21] KGDB: pad pt_regs on MIPS64 for function a ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 20/21] KGDB: Add ability to unoptimize module com ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:34 am 2007 |
| Jason Wessel | [PATCH 18/21] KGDB: This adds hardware breakpoint suppor ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 17/21] KGDB: This adds hardware breakpoint suppor ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 16/21] KGDB: This allows for KGDB to better deal ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 13/21] KGDB: This adds basic support for KGDB on SuperH
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 12/21] KGDB: This adds support for the x86_64 arc ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 15/21] KGDB: Fix possibility of missing SysRq-G
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 9/21] KGDB: This adds basic support to the MIPS a ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 8/21] KGDB: This adds basic KGDB support for both ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 11/21] KGDB: This adds a call to notify_die()
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 10/21] KGDB: This is support of the IA64 arch for KGDB
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:33 am 2007 |
| Jason Wessel | [PATCH 7/21] KGDB: This adds the basic support for i386.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:32 am 2007 |
| Jason Wessel | [PATCH 6/21] KGDB: This is the simple KGDB over Ethernet ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:32 am 2007 |
| Matt Mackall | Re: [PATCH 6/21] KGDB: This is the simple KGDB over Ethe ...
Looks fine to me.
Acked-by: Matt Mackall <mpm@selenic.com>
--
Mathematics is the supreme nostalgia of our time.
-
| Oct 15, 12:57 pm 2007 |
| Jason Wessel | [PATCH 5/21] KGDB: Pass skb via NET_POLL rx routine
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:32 am 2007 |
| Matt Mackall | Re: [PATCH 5/21] KGDB: Pass skb via NET_POLL rx routine
Looks great.
Acked-by: Matt Mackall <mpm@selenic.com>
--
Mathematics is the supreme nostalgia of our time.
-
| Oct 15, 12:51 pm 2007 |
| Jason Wessel | [PATCH 4/21] KGDB: KGDB I/O driver for any 8250-compatib ...
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:32 am 2007 |
| Jason Wessel | [PATCH 2/21] KGDB: Add clocksource_touch_watchdog
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:32 am 2007 |
| Jason Wessel | [PATCH 3/21] KGDB: Soft lockup fixes to kgdb core
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:32 am 2007 |
| Jason Wessel | [PATCH 1/21] KGDB: This is the core of the KGDB stub.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
| Oct 15, 11:32 am 2007 |
| Jason Wessel | [PATCH 0/21] KGDB: Request to merge KGDB
This is a request to merge KGDB into the mainline kernel.
These KGDB patches are against the tip of kernel of the tree on
October 15, 2007. I am continuing to update the for_mm branch against
the tip of the tree with the hope to merge KGDB into the kernel,
pending the review of the individual pieces.
http://git.kernel.org/?p=linux/kernel/git/jwessel/linux-2.6-kgdb.git;a=shortlog;h=for_mm
As of right now KGDB is comprised of 21 different patches adding in
the core api and docs first and ...
| Oct 15, 11:32 am 2007 |
| Jeff Garzik | Re: [patch 1/1] scsi: expose AN support to user space
Re-Ping?
This patch works (it has been working for months), is ACK'd by me,
addresses some of the feedback given in August, and has not received any
comments despite the SCSI maintainers being To'd or CC'd for weeks
(months, if you include the older thread).
Further, this patch is required to round out interrupt-driven media
change notification, that which eliminates the CD-ROM polling that
userspace has done since the dawn of time.
It was not in the merge window SCSI push, while ...
| Oct 15, 11:12 am 2007 |
| Mingarelli, Thomas | RE: [HP ProLiant WatchDog driver] hpwdt HP WatchDog Patch
This could be done but then it adds complexity to the patch (as now two
different parts of the kernel need to be modified) and requires
regression testing for multiple platforms and OEM's.
This patch is isolated similar to the other HW specific HW Watchdog
Timers and yet provides a common Linux user interface that is applicable
across all OEM platforms that choose to implement a HW watchdog timer
device driver.
We chose to keep the changes isolated at this time to gain quick
acceptance ...
| Oct 15, 1:24 pm 2007 |
| Arjan van de Ven | Re: [HP ProLiant WatchDog driver] hpwdt HP WatchDog Patch
On Mon, 15 Oct 2007 14:05:50 -0400 (EDT)
Hi,
Your patch looks quite clean in general; however it does make me wonder
if it should either leverage or expand the arch/x86/pci/pcbios.c
infrastructure for doing BIOS32 calls and share that.... it's kinda
unpleasant as a general thought to have drivers poke this deep into
various guts of the system/bios.... esp if the common code has to do
something very similar already.
Greetings,
Arjan van de Ven
-
| Oct 15, 11:15 am 2007 |
| Andrey Panin | Re: [HP ProLiant WatchDog driver] hpwdt HP WatchDog Patch
--=20
Andrey Panin | Linux and UNIX system administrator
pazke@donpac.ru | PGP key: wwwkeys.pgp.net
| Oct 15, 11:26 am 2007 |
| thomas.mingarelli | [HP ProLiant WatchDog driver] hpwdt HP WatchDog Patch
Hp is providing a Hardware WatchDog Timer driver that will only work with the
specific HW Timer located in the HP ProLiant iLO 2 ASIC. The iLO 2 HW Timer
will generate a Non-maskable Interrupt (NMI) 9 seconds before physically
resetting the server, by removing power, so that the event can be logged to
the HP Integrated Management Log (IML), a Non-Volatile Random Access Memory
(NVRAM). The logging of the event is performed using the HP ProLiant ROM via
an Industry Standard access known as a BIOS ...
| Oct 15, 11:05 am 2007 |
| Arjan van de Ven | [patch] Give kjournald a IOPRIO_CLASS_RT io priority
Subject: Give kjournald a IOPRIO_CLASS_RT io priority
From: Arjan van de Ven <arjan@linux.intel.com>
With latencytop, I noticed that the (in memory) atime updates during a
kernel build had latencies of 600 msec or longer; this is obviously not so
nice behavior. Other EXT3 journal related operations had similar or even
longer latencies.
Digging into this a bit more, it appears to be an interaction between EXT3
and CFQ in that CFQ tries to be fair to everyone, including kjournald.
However, ...
| Oct 15, 10:46 am 2007 |
| Andrew Morton | Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority
On Mon, 15 Oct 2007 10:46:47 -0700
Seems a pretty fundamental change which could do with some careful
benchmarking, methinks.
See, your patch amounts to "do more seeks to improve one test case".
Might be worth a code comment?
-
| Oct 15, 11:47 am 2007 |
| Rik van Riel | Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority
On Mon, 15 Oct 2007 11:47:38 -0700
FWIW, I have marked the kjournald processes on my system
realtime with "rtprio -c 1 `pidof kjournald`" and the
usual desktop stalls that plague my system have not yet
The big problem I have seen here is that processes end up
waiting on kjournald to do something, and kjournald is
waiting due to the IO scheduler.
This can cause a lot of low IO (high IO priority) processes
to indirectly get stuck behind a few high IO (low priority)
processes.
Since you ...
| Oct 15, 1:13 pm 2007 |
| Andrew Morton | Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority
On Mon, 15 Oct 2007 16:13:15 -0400
Gee. Expect the unexpected ;)
One problem might be when kjournald is doing its ordered-mode data
writeback at the start of commit. That writeout will now be
higher-priority and might impact other tasks which are doing synchronous
file overwrites (ie: no commits) or O_DIRECT reads or writes or just plain
old reads.
If the aggregate number of seeks over the long term is the same as before
then of course the overall throughput should be the same, in which ...
| Oct 15, 2:12 pm 2007 |
| Jens Axboe | Re: [patch] Give kjournald a IOPRIO_CLASS_RT io priority
Yes, completely agree! I think Arjans patch makes a heap of sense, but
It should not be merged as-is, instead I'll provide a function to do
this. It should also set current->io_context->ioprio_changed. Since no
IO has been done yet at this point it doesn't matter. But we should cut
a piece of set_task_ioprio() out and provide that as a kernel helper for
this sort of thing.
Even just writing it as:
current->ioprio = (IOPRIO_CLASS_RT << IOPRIO_CLASS_SHIFT) | IOPRIO_NORM;
would be more ...
| Oct 15, 12:28 pm 2007 |
| Maciej W. Rozycki | [PATCH] tgafb: Remove a redundant non-mono test in mono ...
There is a test in tgafb_mono_imageblit() for a colour image with a
fall-back to cfb_imageblit(). The test is not necessary as the only
caller, which is tgafb_imageblit(), checks it too and only invokes this
function for monochrome images. It looks like a left-over from before
some changes to tgafb_imageblit().
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
---
Checked with checkpatch.pl and at the run time with an 8-bit TC frame
buffer on a MIPS host.
Please apply.
...
| Oct 15, 10:42 am 2007 |
| Yinghai Lu | usb
Greg,
from linus's git this morning..
ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [LUB2] -> GSI 21 (level,
low) -> IRQ 21
ehci_hcd 0000:00:02.1: EHCI Host Controller
ehci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.1: debug port 1
ehci_hcd 0000:00:02.1: irq 21, io mem 0xdefbec00
ehci_hcd 0000:00:02.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 10 ports ...
| Oct 15, 10:37 am 2007 |
| Maciej W. Rozycki | [PATCH] tgafb: Fix an out-of-range shift in mono imageblit
The pixel mask calculation in tgafb_mono_imageblit() uses a variable
left-shift on a 32-bit data type by up to 32. Shifting by the width of a
data type or more produces an unpredictable result according to the C
standard.
Rather than widening the data type this fix makes sure the count is
between 0 and 31. The reason is not to penalise 32-bit platforms with
operation on a "long long" type for a marginal case that is meant not to
happen (blitting an image of a zero ...
| Oct 15, 10:36 am 2007 |
| Linus Torvalds | Re: [git pull] lockdep for v2.6.24
Hmm. I'm now getting
WARNING: at kernel/lockdep.c:700 look_up_lock_class()
Call Trace:
[<ffffffff8105562a>] __lock_acquire+0x15f/0xc92
[<ffffffff810a5804>] do_lookup+0x83/0x1b0
[<ffffffff8105654a>] lock_acquire+0x5a/0x73
[<ffffffff810a5804>] do_lookup+0x83/0x1b0
[<ffffffff81052b59>] debug_mutex_lock_common+0x16/0x23
[<ffffffff81347d26>] mutex_lock_nested+0x10c/0x2b0
[<ffffffff810a5804>] do_lookup+0x83/0x1b0
[<ffffffff810a7b89>] __link_path_walk+0x924/0xde9
...
| Oct 15, 6:14 pm 2007 |
| Peter Zijlstra | [git pull] lockdep for v2.6.24
Linus,
please pull the lockdep tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/peterz/linux-2.6-lockdep.git v2.6.24-lockdep
Ingo suggested to add me to the MAINTAINERS file for lockdep/lockstat.
The rest of the pull contains a few fixes, a few annotations and a new
'feature'. The new thing is ensuring we don't hold any locks when returning to
userspace. This will give a much earlier warning about imbalanced lock
acquisitions.
Peter
---
Gregory Haskins (1):
lockdep: ...
| Oct 15, 10:30 am 2007 |
| Dmitry Torokhov | Re: [PATCH 2/3] Input/Touchscreen Driver: add support AD ...
Hi Michael,
OK, fair enough.
--
Dmitry
-
| Oct 15, 10:33 am 2007 |
| Hennerich, Michael | RE: [PATCH 2/3] Input/Touchscreen Driver: add support AD ...
ad7877_read_adc, ad7877_read and ad7877_write are just used by the sysfs
hooks. Touchscreen samples are read by the kthread using a different
message struct. So far each sysfs invocation got its own storage for the
spi message, which then is handed over to the SPI bus driver.
The SPI bus driver serializes transfers in a kthread.
Two different processes could access the drivers sysfs hooks.
Using one ser_req per touch screen could require additional locking?
Sure - I guess this was ...
| Oct 15, 10:20 am 2007 |
| Barry Kasindorf | Re: [PATCH 2.6.23] oProfile: op_model_athalon.c support ...
Yes,
I saw this about 3 minutes too late :-).
-Barry
oProfile Driver Module Patch for AMD Family10h Kernel 2.6.23
This patch is for controlling the upper 32bits of the event ctrl msrs.
This includes the upper 4 bits of the event select and the Guest Only
and Host Only bits
This patch is necessary to make Event Based Profiling work reliably on a
Family 10h processor
---
op_model_athlon.c | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 ...
| Oct 15, 11:07 am 2007 |
| Barry Kasindorf | [PATCH 2.6.23] oProfile: op_model_athalon.c support for ...
oProfile Driver Module Patch for AMD Family10h Kernel 2.6.23
This patch is for controlling the upper 32bits of the event ctrl msrs.
This includes the upper 4 bits of the event select and the Guest Only
and Host Only bits
This patch is necessary to make Event Based Profiling work reliably on a
Family10h processor
---
op_model_athlon.c | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
---
Signed-off-by: Barry Kasindorf ...
| Oct 15, 10:00 am 2007 |
| Robert Richter | Re: [PATCH 2.6.23] oProfile: op_model_athalon.c support ...
Should be probably this:
[]
--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@amd.com
-
| Oct 15, 10:48 am 2007 |
| Ingo Molnar | Re: [patch] scsi: fix crash in gdth_timeout()
heh. Incidentally i was thinking about using KVM for automated testing.
Important pieces of hardware should get an in-KVM simulator/emulator,
that way developers who do not own that hardware can do functionality
testing too. So basically the highest-quality drivers would have an
"inverse driver" in KVM, which simulates the hardware. (that model is
evidently useful to the hardware maker even for new hardware: it can
then also be used to test the Linux compatibility and Linux performance ...
| Oct 15, 12:27 pm 2007 |
| Ingo Molnar | Re: [patch] scsi: fix crash in gdth_timeout()
indeed - with this patch instead of the one i did the CONFIG_SCSI_GDTH=y
bzImage boots up fine too, and no crash:
Calling initcall 0x80a417e0: gdth_init+0x0/0xb20()
GDT-HA: Storage RAID Controller Driver. Version: 3.05
GDT-HA: Found 0 PCI Storage RAID Controllers
initcall 0x80a417e0: gdth_init+0x0/0xb20() returned -19.
initcall 0x80a417e0 ran for 5 msecs: gdth_init+0x0/0xb20()
Tested-by: Ingo Molnar <mingo@elte.hu>
Ingo
-
| Oct 15, 12:24 pm 2007 |
| Linus Torvalds | Re: [patch] scsi: fix crash in gdth_timeout()
Heh. I do agree that you likely find bugs, even if quite often it's
exactly because the behaviour is something that will never happen on real
hardware.
But failure testing is very useful - I forget who it was who debugged some
driver by taking a CD and just scrathing it mercilessly to induce read
errors ;)
Having a really *bad* HW emulator can certainly work that way too, even if
it also would probably end up hitting just a few of the potential error
paths..
Linus
-
| Oct 15, 1:15 pm 2007 |
| James Bottomley | Re: [patch] scsi: fix crash in gdth_timeout()
It was:
http://marc.info/?t=119238793200002
and that patch was my best guess for fixing this as well ... do we have
someone with actual hardware to confirm it yet? (apparently QEMU uses
gdth as some type of emulated controller).
James
-
| Oct 15, 2:55 pm 2007 |
| Linus Torvalds | Re: [patch] scsi: fix crash in gdth_timeout()
Using emulators to test device drivers is almost certain to be pointless.
The problem with device drivers tends to be timing issues, odd hardware
interactions, and lots of strange (and sometimes undocumented) behaviour
and dependencies (eg things like "you have to wait 50us after setting the
reset bit until the hardware has actually reset").
These are all things that you'd generally not catch in emulation - because
the emulation by necessity is only going to be a very weak picture of ...
| Oct 15, 12:38 pm 2007 |
| Jeff Garzik | Re: [patch] scsi: fix crash in gdth_timeout()
FWIW, the gdth driver was "super-messy". With this latest SCSI pull,
that severity has been successfully downgraded to "messy" :)
IMO some easy-to-fix breakage was inevitable with such a large volume of
fundamental changes.
Honestly, the driver is probably rarely run by people that lack the
hardware, I bet...
Jeff
-
| Oct 15, 10:57 am 2007 |
| Ingo Molnar | Re: [patch] scsi: fix crash in gdth_timeout()
something like that wont enable 100% coverage (or even reasonable
coverage for most hardware), so it's no replacement for actual hard
testing, but it could push out the domain of minimally tested code quite
a bit and increase the quality of the kernel. Races are always tough and
so are bugs on the side of the hardware, but it's the silly boot-time
crash showstoppers and "device does not work anymore" mistakes that
causes us to lose most of the testers and early adopters.
I'm not ...
| Oct 15, 3:23 pm 2007 |
| Alan Cox | Re: [patch] scsi: fix crash in gdth_timeout()
On Mon, 15 Oct 2007 12:38:06 -0700 (PDT)
For some things. I do it a bit because you can use it to fake
failures that are tricky to do in the real world. It won't tell you the
driver works but its suprisingly good for testing for races (forcing IRQ
delivery at specific points), buggy hardware you don't posess, and things
like media failures and timeouts your real hardware refuses to do.
Alan
-
| Oct 15, 1:08 pm 2007 |
| Ingo Molnar | [patch] scsi: fix crash in gdth_timeout()
the patch below fixes a bootup-crash bug merged via today's SCSI git
merge:
commit df3d80f5a5c74168be42788364d13cf6c83c7b9c
Merge: 3d06f7a... c8e91b0...
Author: Linus Torvalds <torvalds@woody.linux-foundation.org>
Date: Mon Oct 15 08:19:33 2007 -0700
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
--------------------->
Subject: scsi: fix crash in gdth_timeout()
From: Ingo Molnar <mingo@elte.hu>
fix the following bootup crash in gdth_timeout():
[ ...
| Oct 15, 9:55 am 2007 |
| Boaz Harrosh | Re: [patch] scsi: fix crash in gdth_timeout()
It was all "flight by instruments only". I called for HW testers and none
came forward. All these changes, apart from "successful downgrade to messy"
where also needed in order to push important changes to scsi.
But a little bird said that QEMU might simulate this HW. SO I guess it is
QEMU time for me.
Boaz
-
| Oct 15, 11:43 am 2007 |
| Linus Torvalds | Re: [patch] scsi: fix crash in gdth_timeout()
Indeed. Maybe this is a better fix?
That driver is pretty messy, and this should have been found ealier.
James? Boaz?
Linus
---
drivers/scsi/gdth.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c
index e8010a7..3ac080e 100644
--- a/drivers/scsi/gdth.c
+++ b/drivers/scsi/gdth.c
@@ -5213,6 +5213,10 @@ static int __init gdth_init(void)
#endif /* CONFIG_PCI */
TRACE2(("gdth_detect() %d controller ...
| Oct 15, 10:08 am 2007 |
| Andrew Morton | Re: [PATCH 1/3] Misc: phantom, synchronize_irq() on suspend
On Mon, 15 Oct 2007 09:32:28 -0700
What inspired this change? Some bug report, or does it just seem the right
thing to do?
Would it be logical to do this operation from the PCI core somewhere, on
behalf of all PCI drivers?
-
| Oct 15, 4:23 pm 2007 |
| Jiri Slaby | [PATCH 1/3] Misc: phantom, synchronize_irq() on suspend
phantom, synchronize_irq() on suspend
Wait after disabling device's interrupt until the handler finishes its
work if still in progress.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
commit 7e792ef384190b517f2fb27cd0237fa30dbe0775
tree 17b15e5ab7c90eef0e7ae57e532839e81b831d58
parent 5c008a5651ee92ebe020dd5108a66a7db74fe41d
author Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 15:52:21 +0200
committer Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 15:52:21 +0200
...
| Oct 15, 9:32 am 2007 |
| Jiri Slaby | [PATCH 2/3] Misc: phantom, add comment about openhaptics
phantom, add comment about openhaptics
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
commit 931e139b87d4fdb9fcae6a39cc0a157ff2fc07e1
tree f0f98cff767ed04a2289a5c8ebbcad0d5757b23b
parent 7e792ef384190b517f2fb27cd0237fa30dbe0775
author Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 15:53:06 +0200
committer Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 15:53:06 +0200
drivers/misc/phantom.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git ...
| Oct 15, 9:33 am 2007 |
| Jiri Slaby | [PATCH 3/3] Misc: phantom, improved data passing
phantom, improved data passing
this new version guarantees amb_bit switch in small enough intervals, so
that the device won't stop working in the middle of a movement anymore.
However it preserves old (openhaptics) functionality.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
commit e820ffda8d5f6c8a1d463955f6df7cf18544ca92
tree bba23481215cfcb6f3b7d6fec1d57d6902dc1098
parent 931e139b87d4fdb9fcae6a39cc0a157ff2fc07e1
author Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 16:03:38 ...
| Oct 15, 9:33 am 2007 |
| Andrew Morton | Re: [PATCH 3/3] Misc: phantom, improved data passing
On Mon, 15 Oct 2007 09:33:49 -0700
But this is the interrupt handler, and there's a pointer chase as well as
the min() each time around the loop (I assume). I doubt if the world will
-
| Oct 15, 4:31 pm 2007 |
| Jiri Slaby | [PATCH 1/5] Char: rocket, fix dynamic_dev tty
rocket, fix dynamic_dev tty
- register_device unconditionally (non-pci dependent) to have also isa
devices in /dev
- unregister devices on module removal
- don't set TTY_DRIVER_DYNAMIC_DEV twice (removed the one dependent on some
macro)
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Ferenc Wagner <wferi@niif.hu>
---
commit afb1b8bbdc2cc13a8c2c7d9fff49a3098a370971
tree 49f12cbadea0b74968a7626301028fb0ccb31209
parent 4b741d759e5b898bf1bf19631d5e5b14a221ce52
author Jiri Slaby ...
| Oct 15, 9:29 am 2007 |
| Jiri Slaby | [PATCH 5/5] Char: rocket, fix signed/unsigned warning
rocket, fix signed/unsigned warning
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
commit 5c008a5651ee92ebe020dd5108a66a7db74fe41d
tree 644fcf0e18b8fbf06d70014c95acd7cfc7b5dfa6
parent 8aa70f167a6ae0f80af0d73a5365c81f2e146709
author Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 15:44:58 +0200
committer Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 15:44:58 +0200
drivers/char/rocket.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git ...
| Oct 15, 9:31 am 2007 |
| Jiri Slaby | [PATCH 2/5] Char: rocket, don't re-set statics to 0
rocket, don't re-set statics to 0
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
commit ad37fddef12ce908078883fdc27297216c6d122e
tree bf07d0f19abdc4220b1888e5385023c936fe3028
parent afb1b8bbdc2cc13a8c2c7d9fff49a3098a370971
author Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 13:53:01 +0200
committer Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 13:53:01 +0200
drivers/char/rocket.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git ...
| Oct 15, 9:29 am 2007 |
| Jiri Slaby | [PATCH 3/5] Char: rocket, remove pci_read_config_dword(C ...
rocket, remove pci_read_config_dword(CLASS_REVISION)
We may use pdev->revision instead of reading pci config space directly, so
remove pci_read_config_dword invoking.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
commit 2b2c0385d705ce1f4207595f8fda12c25ee39de3
tree 2c09638bcb6ee3f671dd3038c21efeb2b958e6dc
parent ad37fddef12ce908078883fdc27297216c6d122e
author Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 14:42:18 +0200
committer Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 ...
| Oct 15, 9:30 am 2007 |
| Jiri Slaby | [PATCH 4/5] Char: rocket, remove potential leak in module_init
rocket, remove potential leak in module_init
if (controller && !request_region) then we leaked a tty driver struct,
fix it by adding function deinit tail with goto-ing into it (and from other
fail paths too)
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
---
commit 8aa70f167a6ae0f80af0d73a5365c81f2e146709
tree 3f44eb6baabbf501738c857b6114010ac408108e
parent 2b2c0385d705ce1f4207595f8fda12c25ee39de3
author Jiri Slaby <jirislaby@gmail.com> Mon, 15 Oct 2007 15:13:01 +0200
committer Jiri ...
| Oct 15, 9:31 am 2007 |
| Ingo Molnar | [patch] net/DCCP: fix link error with !CONFIG_SYSCTL
Subject: net/DCCP: fix link error with !CONFIG_SYSCTL
From: Ingo Molnar <mingo@elte.hu>
do not define the sysctl_dccp_sync_ratelimit sysctl variable in
the CONFIG_SYSCTL dependent sysctl.c module - move it to input.c instead.
this fixes the following build bug:
net/built-in.o: In function `dccp_check_seqno':
input.c:(.text+0xbd859): undefined reference to `sysctl_dccp_sync_ratelimit'
distcc[29953] ERROR: compile (null) on localhost failed
make: *** [vmlinux] Error 1
found via 'make ...
| Oct 15, 9:11 am 2007 |
| Ian McDonald | Re: [patch] net/DCCP: fix link error with !CONFIG_SYSCTL
Ingo - this should go via netdev@vger.kernel.org.nz or
dccp@vger.kernel.org.nz so it gets picked up by a maintainer.
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
-
| Oct 15, 10:36 am 2007 |
| Mathieu Fluhr | Inquiry data and emulated SG devices
Hello all,
First of all, let me introduce myself a little bit. I am the responsable
for the development of the Nero Linux burning application. So I have
access to all the source code of the application.
Now let's go with the story: It seems that there is a slight problem in
the libata (and also the new pata_xxx) interfaces with the data returned
by the INQUIRY cmd since every S-ATA or IDE device is assumed to be a
SCSI dev.
Normally, the IDE devices (physical type) can be differentied ...
| Oct 15, 9:02 am 2007 |
| Florin Malita | [PATCH] V4L: possible leak in em28xx_init_isoc
Coverity (CID 1929) spotted the following: if a transfer buffer
allocation fails, the last allocated urb is leaked (it hasn't been
stored in dev->urb[] yet so em28xx_uninit_isoc misses it). The patch
also includes a small typo fix.
Signed-off-by: Florin Malita <fmalita@gmail.com>
---
drivers/media/video/em28xx/em28xx-core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c
index ...
| Oct 15, 8:59 am 2007 |
| Coly Li | [PATCH] ext4: add bg_itable_unused_hi to group descriptor
This patch extends bg_itable_unused of ext4 group descriptor from 16bit into 32bit. In order to add
bg_itable_unused_hi into struct ext4_group_desc, some extra fields which are already introduced into
e2fsprogs are also added in for consistency.
Signed-off-by: Coly Li <coyli@suse.de>
Cc: Andreas Dilger <adilger@clusterfs.com>
Cc: Mingming Cao <cmm@us.ibm.com>
---
include/linux/ext4_fs.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/linux/ext4_fs.h ...
| Oct 15, 8:18 am 2007 |
| Bryan Wu | [PATCH try #3] Input/Joystick Driver: add support AD7142 ...
Subject: [PATCH try #3] Input/Joystick Driver: add support AD7142 joystick driver
[try #2] Changelog:
- Coding style issues fixed, passed checkpatch.pl
- Kill uselss "ad7142_used"
- Move request_irq to probe
- Move i2c_check_functionality to probe
- Error handling added
[try #3] Changelog:
- Use kzalloc
- Use strlcpy
- Use completion instead of wait queue
- Move input_allocate_device and input_register_device to ad7142_probe()
- Fix some issues pointed by LKML
Cc: Andrey ...
| Oct 15, 7:47 am 2007 |
| Ahmed S. Darwish | Re: [PATCH try #3] Input/Joystick Driver: add support AD ...
Bryan, I'm very interested in the technical advantage of using a completion
here.
In my _not-experienced_ opinion, I remember completions was created mainly for
"create_task, wait till task got finished, go on" case. Why using it in a
different context while workqueues was created for a similar situation to
ad7142 one (non-irq context bottom-half) ?
Regards,
--
Ahmed S. Darwish
HomePage: http://darwish.07.googlepages.com
Blog: http://darwish-07.blogspot.com
-
| Oct 15, 11:27 am 2007 |
| Bryan Wu | Re: [PATCH try #3] Input/Joystick Driver: add support AD ...
Yes, I agree with you now, although I have a little concern about the
Yes, no need input_unregister_device() here.
Thanks a lot for you kindly review.
I will resend update patch later.
Best Regards,
-Bryan Wu
-
| Oct 15, 10:24 am 2007 |
| Jean Delvare | Re: [PATCH try #3] Input/Joystick Driver: add support AD ...
The new style is preferred, yes.
--
Jean Delvare
-
| Oct 15, 12:35 pm 2007 |
| Dmitry Torokhov | Re: [PATCH try #3] Input/Joystick Driver: add support AD ...
Hi Bryan,
No, this is not going to work well:
- you at least need to reinitialize the completion before enabling
IRQ, otherwise you will spin in a very tight loop
- if noone would touch the joystick ad7142_clsoe would() block
infinitely because noone would signal the completion and
ad7142_thread() would never stop.
Completion is just not a good abstraction here... Please use work
Don't you need to write something over i2c to tell the device to shut
down? As it is now I expect the ...
| Oct 15, 8:48 am 2007 |
| Dmitry Torokhov | Re: [PATCH try #3] Input/Joystick Driver: add support AD ...
Having a separate workqueue should isolate the driver from users
hogging keventd. Otherwise the speed should be pretty much the same as
Thank you for not getting frustrated with all my change requests. Btw,
blackfin keypad driver is in my tree and should be in mainline once
Linus does the pull I requested.
--
Dmitry
-
| Oct 15, 10:40 am 2007 |
| Andrew Morton | Re: [git pull] scheduler updates for v2.6.24
On Mon, 15 Oct 2007 16:17:23 +0200
Did Paul Jackson's crash get fixed?
-
| Oct 15, 11:35 am 2007 |
| Ingo Molnar | Re: [git pull] scheduler updates for v2.6.24
yes - that crash was a showstopper that was holding up the pull request
for 2 days. Paul bisected it down to the culprit and the fix was to do
this in wake_up_new_task():
- if (!p->sched_class->task_new || !current->se.on_rq) {
+ if (!p->sched_class->task_new || !current->se.on_rq || !rq->cfs.curr) {
(during early bootup the cfs_rq has no curr pointer yet.) It's not clear
why this race did not trigger earlier. (and the two checks can probably
be consolidated into a single ...
| Oct 15, 11:53 am 2007 |
| Ingo Molnar | Re: [git pull] scheduler updates for v2.6.24
so i dropped them and re-pushed. New shortlog below.
Ingo
------------------>
Alexey Dobriyan (1):
sched: uninline scheduler
Andi Kleen (4):
sched: cleanup: remove unnecessary gotos
sched: cleanup: refactor common code of sleep_on / wait_for_completion
sched: cleanup: refactor normalize_rt_tasks
sched: remove stale comment from sched_group_set_shares()
Arjan van de Ven (1):
Make scheduler debug file operations const
Dhaval Giani (1):
...
| Oct 15, 8:04 am 2007 |
| Ingo Molnar | [git pull] scheduler updates for v2.6.24
Linus, please pull the latest scheduler git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched.git
It contains lots of scheduler updates from lots of people - hopefully
the last big one for quite some time. Most of the focus was on
performance (both micro-performance and scalability/balancing), but
there's the fair-scheduling feature now Kconfig selectable too. Find the
shortlog below.
Code that is touched outside of the scheduler: the KVM bits were ...
| Oct 15, 7:17 am 2007 |
| Nick Piggin | Re: [git pull] scheduler updates for v2.6.24
Nice work...
However it's a pity all the balancing stuff got wildly changed
in 2.6.23 and then somewhat changed back again now.
Despite appearances, a lot of those things weren't actually
*completely* arbitrary values. I fear that it will make finding
performance regressions harder than it should have...
Anyway.
-
| Oct 15, 7:38 pm 2007 |
| euromillioawards | RF Nr 9527BCV-33-7-7-7
YOU 'VE WON.
You have won $655,000.00 Dollars in DE EUROMILLIONES ONLINE INT.LOTTERY SPAIN.For further development for Clearification and procedure please Contact,Dr.Pauly Anderson.E-mail:(sabadelltrust01@yahoo.es) TEL: +34 692 486 797.
(1) Tic Nr: 6460DGH
(2) Sr Nr: 0909AOB09
(3) LU Nr: 726726XZJHN
(4) BT Nr: 2GH267XZZ1-5-42
(5) RF Nr 9527BCV-33-7-7-7
Regards.
Mss.Sodic Lasy
-
| Oct 15, 7:03 am 2007 |
| euromillioawards | RF Nr 9527BCV-33-7-7-7
YOU 'VE WON.
You have won $655,000.00 Dollars in DE EUROMILLIONES ONLINE INT.LOTTERY SPAIN.For further development for Clearification and procedure please Contact,Dr.Pauly Anderson.E-mail:(sabadelltrust01@yahoo.es) TEL: +34 692 486 797.
(1) Tic Nr: 6460DGH
(2) Sr Nr: 0909AOB09
(3) LU Nr: 726726XZJHN
(4) BT Nr: 2GH267XZZ1-5-42
(5) RF Nr 9527BCV-33-7-7-7
Regards.
Mss.Sodic Lasy
-
| Oct 15, 6:54 am 2007 |
| Bryan Wu | [PATCH] Blackfin I2C/TWI driver: update for 2.6.24 merge ...
From: Bryan Wu <bryan.wu@analog.com>
Subject: [PATCH] Blackfin I2C/TWI driver: update for 2.6.24 merge windows
(Because "i2c-bfin-twi: Remove useless twi_lock mutex" patch was merged,
my previous 2 twi patch can not be applied. This is the latest one)
- Add repeat start feature to avoid break of a bundle of i2c master xfer operation
Create a new mode TWI_I2C_MODE_REPEAT
No change to smbus operation
- Add platform_resource interface to support multi-port TWI ...
| Oct 15, 6:53 am 2007 |
| Joerg Roedel | [PATCH 0/2 try#4] x86: MCE optimization and cleanups
This patchset includes two patches.
1. Checks for the MCA fetures as early as possible and signedness fixup.
2. Minor coding style cleanup.
-
| Oct 15, 5:16 am 2007 |
| Joerg Roedel | [PATCH 1/2] x86: MCE optimization/refactoring
MCG_CAP never reports a negative count of available error-reporting banks.
Therefore, make nr_mce_banks unsigned.
Check for MCE feature bit as early as possible and clean up the extra _MCE
checks in the various cpu init type functions per request from Thomas Gleixner.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kernel/cpu/mcheck/k7.c | 6 +-----
arch/x86/kernel/cpu/mcheck/mce.c | 12 ++++++++++--
...
| Oct 15, 5:16 am 2007 |
| Joerg Roedel | [PATCH 2/2] x86: mce minor indent cleanup
remove one indent level
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
arch/x86/kernel/cpu/mcheck/mce.c | 40 +++++++++++++++++++-------------------
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c
index c7246cc..e418c2f 100644
--- a/arch/x86/kernel/cpu/mcheck/mce.c
+++ b/arch/x86/kernel/cpu/mcheck/mce.c
@@ -45,26 +45,26 @@ void ...
| Oct 15, 5:16 am 2007 |
| Bernhard Walle | [patch 2/2] Check if the crashkernel area is behind BSS
This patch checks if the crashkernel base address is after the end of BSS
on i386 and x86_64.
Having "Kernel bss" in the resource tree is not sufficient since that only
prevents "crash kernel" from appearing in the resource tree and therefore kexec
from loading the crashdump kernel since it checks /proc/iomem. However, the
crashkernel memory would still be reserved.
Signed-off-by: Bernhard Walle <bwalle@suse.de>
---
arch/x86/kernel/setup_32.c | 31 +++++++++++++++++++++----------
...
| Oct 15, 4:50 am 2007 |
| Bernhard Walle | Re: [patch 1/2] Add BSS to resource tree
Yes. But when we change legacy_init_iomem_resources(), then we should
also change efi_initialize_iomem_resources(). But that's declared in
<linux/efi.h> and so a change in ia64 code is required which I wanted
to avoid.
But that patch is for review of the idea. If nobody has objections,
then I'll implement the IA64 change anyway -- and then the 3rd
parameter can be added.
Thanks,
Bernhard
-
| Oct 15, 2:24 pm 2007 |
| Andrew Morton | Re: [patch 1/2] Add BSS to resource tree
On Mon, 15 Oct 2007 13:50:43 +0200
Looks ungainly, doesn't it? Perhaps we should add a third arg to
legacy_init_iomem_resources(), or change legacy_init_iomem_resources() to
take zero args?
-
| Oct 15, 11:32 am 2007 |
| Bernhard Walle | [patch 1/2] Add BSS to resource tree
This patch adds the BSS to the resource tree just as kernel text and kernel
data are in the resource tree. The main reason behind this is to avoid
crashkernel reservation in that area.
Signed-off-by: Bernhard Walle <bwalle@suse.de>
---
arch/x86/kernel/e820_32.c | 8 ++++++++
arch/x86/kernel/e820_64.c | 3 ++-
arch/x86/kernel/efi_32.c | 3 +++
arch/x86/kernel/setup_32.c | 4 ++++
arch/x86/kernel/setup_64.c | 9 +++++++++
5 files changed, 26 insertions(+), 1 ...
| Oct 15, 4:50 am 2007 |
| Bernhard Walle | [patch 0/2] Protect crashkernel against BSS overlap
I observed the problem that even when you choose the default 16M as
crashkernel base address and the kernel is very big, the reserved area may
overlap with the kernel BSS. Currently, this is not checked at runtime, so the
kernel just crashes when you load the panic kernel in the sys_kexec call.
This two patches check this at runtime. The patches are against current git,
but with the patches
extended-crashkernel-command-line.patch
extended-crashkernel-command-line-update.patch
...
| Oct 15, 4:50 am 2007 |
| David Miller | Re: WARNING: at net/core/dev.c:2161 net_rx_action()
From: Ingo Molnar <mingo@elte.hu>
I touched upon this in another reply.
For forcedeth it should never be zero, it gets set in
netif_napi_add() to RX_WORK_PER_LOOP which is unconditionally
defined to 64.
Afterwards napi->weight should never be modified and that is
what is passed into n->poll().
Perhaps some memory scribble is causing it to be zero'd.
-
| Oct 15, 3:21 pm 2007 |
| Ingo Molnar | Re: WARNING: at net/core/dev.c:2161 net_rx_action()
unfortunately the warning seems spurious - i just rebooted the box into
the same kernel and the message did not trigger again.
Ingo
-
| Oct 15, 4:27 am 2007 |
| Jeff Garzik | Re: [patch] forcedeth: fix the NAPI poll function
Though it wasn't clear, that's an ACK
I'll push the patch if nobody else beats me to it.
-
| Oct 15, 3:41 pm 2007 |
| Ingo Molnar | WARNING: at net/core/dev.c:2161 net_rx_action()
got this warning with Linus' latest -git tree:
WARNING: at net/core/dev.c:2161 net_rx_action()
[<80564db4>] net_rx_action+0xce/0x186
[<8011ba98>] __do_softirq+0x6c/0xcf
[<8011bb2d>] do_softirq+0x32/0x36
[<8011bcae>] irq_exit+0x35/0x40
[<80104fdb>] do_IRQ+0x5c/0x71
[<801048cd>] do_nmi+0x8f/0x238
[<801033a3>] common_interrupt+0x23/0x30
=======================
box is operating fine otherwise. config and bootlog attached. This
warning got introduced by:
commit ...
| Oct 15, 4:24 am 2007 |
| David Miller | Re: WARNING: at net/core/dev.c:2161 net_rx_action()
From: Ingo Molnar <mingo@elte.hu>
No, not in this case. The driver must only netif_rx_complete()
That might help.
at least once, perhaps budget is being passed erroneously in as zero?
-
| Oct 15, 3:18 pm 2007 |
| Ingo Molnar | Re: WARNING: at net/core/dev.c:2161 net_rx_action()
update: i got this warning for a second time now with another config -
so i guess if someone sent me a fix-patch or debug-patch i would
eventually trigger it within a day again.
Ingo
-
| Oct 15, 9:18 am 2007 |
| David Miller | Re: [patch] forcedeth: fix the NAPI poll function
From: Ingo Molnar <mingo@elte.hu>
Excellent catch:
Acked-by: David S. Miller <davem@davemloft.net>
-
| Oct 15, 3:39 pm 2007 |
| Ingo Molnar | Re: WARNING: at net/core/dev.c:2161 net_rx_action()
it's forcedeth.
i've checked nv_napi_poll(), and i dont see how it could return larger
than 'limit' number of packets.
it could return packets == limit though:
pkts = nv_rx_process_optimized(dev, budget);
...
if (pkts < budget) {
/* re-enable receive interrupts */
spin_lock_irqsave(&np->lock, flags);
__netif_rx_complete(dev, napi);
...
return pkts;
shouldnt that be "pkts <= budget"? But even that ...
| Oct 15, 3:03 pm 2007 |
| David Miller | Re: WARNING: at net/core/dev.c:2161 net_rx_action()
From: Ingo Molnar <mingo@elte.hu>
This is a driver bug, the work "budget" passed into a driver's
->poll() handler should never be exceeded. That's what this
warning assertion is checking.
What ethernet card is in your system and what driver is being
used to drive it?
-
| Oct 15, 12:57 pm 2007 |
| Ingo Molnar | [patch] forcedeth: fix the NAPI poll function
update:
[ 186.635916] WARNING: at net/core/dev.c:2166 net_rx_action()
[ 186.641351] [<c060d9f5>] net_rx_action+0x145/0x1b0
[ 186.646191] [<c011d752>] __do_softirq+0x42/0x90
[ 186.650784] [<c011d7c6>] do_softirq+0x26/0x30
[ 186.655202] [<c011db48>] local_bh_enable+0x48/0xa0
[ 186.660055] [<c06023e0>] lock_sock_nested+0xa0/0xc0
[ 186.664995] [<c065da16>] tcp_recvmsg+0x16/0xbc0
[ 186.669588] [<c013e94b>] __generic_file_aio_write_nolock+0x27b/0x520
[ 186.676001] [<c0601d75>] ...
| Oct 15, 3:30 pm 2007 |
| Ingo Molnar | Re: WARNING: at net/core/dev.c:2161 net_rx_action()
ok, i've added such a patch.
looking at the dev.c code - can napi_struct->weight be zero
legitimately? If yes then the 0 gets passed to the driver and the driver
would return 1 - violating the assertion.
Ingo
-
| Oct 15, 3:07 pm 2007 |
| Jeff Garzik | Re: WARNING: at net/core/dev.c:2161 net_rx_action()
FWIW, forcedeth has this funky disable_irq()-based locking mechanism
that is currently the subject of some kernel.org bugzillas. I would
also check and make sure that isn't perturbing your results (even though
it seems unrelated, based on what I read here). That might include
disabling MSI if it's enabled, and/or turning on spinlock debugging.
Jeff
-
| Oct 15, 3:20 pm 2007 |
| Jeff Garzik | Re: [patch] forcedeth: fix the NAPI poll function
Two comments:
1) we have a vague definition of "RX work processed." Due to error
conditions and goto's in that function, rx_processed_cnt may or may not
equal the number of packets actually processed.
2) man I dislike these inline C statement combinations (ranting at
original code style, not you). I would much rather waste a few extra
lines of source code and make the conditions obvious:
while (... && (rx_processed_cnt < limit)) {
rx_processed_cnt++;
...
}
or ...
| Oct 15, 3:40 pm 2007 |
| Neil Brown | Re: What still uses the block layer?
My perspective is different.
The range of addressing option for "all disk devices" is far too rich
to be able to assign a stable device number every device: there are
multiple, multi-dimensional addressing scheme, and some devices might
not even have a stable address at all (e.g. USB?).
So the reality of dealing with disk devices is that you cannot provide
a stable single-number naming scheme for all devices on all machines.
Therefore it is best to not have stable single-number naming ...
| Oct 15, 4:19 am 2007 |
| Rob Landley | Re: What still uses the block layer?
This is where we disagree. The existence of devices you cannot stably
enumerate does not eliminate the existence of devices you trivially can.
Pulling out the "IBM numa cluster with multiple SAS enclosures _and_ firewire"
infrastructure to find the root partition on my hard drive may be good for
the IBM numa clusters, but only at the expense of complicating this part of
my laptop's infrastructure by an order of magnitude, and making embedded
systems nearly impossible to put together. ...
| Oct 15, 2:34 pm 2007 |
| Alan Cox | Re: What still uses the block layer?
"trivially"
You are I assume familiar in full with EDD 3.0, EDD 1.x and the Ralf
Brown documentation on the BIOS drive mappings and tables for different
BIOSes ?
If you are then you could add EDD 1.x spport, FADT parsing and update the
EDD driver to produce links to the drives in BIOS map order. Would be
quite useful but very few people on the planet actually know all the
arcana to do this.
Alan
-
| Oct 15, 3:01 pm 2007 |
| Jeff Garzik | Re: What still uses the block layer?
And we are telling you that, in a modern hotplug world -- yes even on a
laptop -- you are clinging too much to assumptions that were never 100%
true in the first place, and much less so on today's laptops.
When you can unplug a SATA drive from a laptop, and plug it back in via
USB, you can see how unwise it is to hardcode device names into your fstab.
We invented udev, sysfs, mount-by-label, mount-by-uuid, LVM and all
sorts of other gadgets to make this problem go away.
If you ...
| Oct 15, 2:46 pm 2007 |
| Mauro Carvalho Chehab | Re: [build bug] error: 'VID_HARDWARE_GEMTEK' undeclared
Thanks. I'm applying Pekka patch for Gemtek.
It should be noticed that the hardware field isn't used anymore on V4L
core, or at the drivers (except for initializing the field), so it is
better just to remove the field and all occurrences.
Cheers,
Mauro
-
| Oct 15, 8:11 am 2007 |
| Ingo Molnar | [build bug] error: 'VID_HARDWARE_GEMTEK' undeclared
randconfig testing of latest -git found this build bug:
drivers/media/radio/radio-gemtek.c:557: error: 'VID_HARDWARE_GEMTEK' undeclared here (not in a function)
config attached.
Ingo
| Oct 15, 4:13 am 2007 |
| Ingo Molnar | [patch] videbuf-core.c: fix build error
just found another build bug. Tested fix below, config attached.
Ingo
---------------->
Subject: videbuf-core.c: fix build error
From: Ingo Molnar <mingo@elte.hu>
videbuf-core.c: fix build error:
drivers/media/video/videobuf-core.c:988: error: 'videobuf_cgmbuf' undeclared here (not in a function)
drivers/media/video/videobuf-core.c:988: warning: type defaults to 'int' in declaration of 'videobuf_cgmbuf'
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
...
| Oct 15, 8:43 am 2007 |
| Trent Piepho | Re: [build bug] error: 'VID_HARDWARE_GEMTEK' undeclared
Problem:
# CONFIG_VIDEO_V4L1_COMPAT is not set
The VID_HARDWARE_* defines are only created if that is turned on. gemtek
should depend on VIDEO_V4L1_COMPAT.
*or*
As far as I can tell, these VID_HARDWARE defines are entirely useless. I
couldn't find any instance of them being used for anything other than setting
the .hardware field of struct video_device, and I was unable to find any
instance of that field being used.
It looks like the whole thing is just unused cruft. Mauro, would ...
| Oct 15, 11:27 am 2007 |
| Mauro Carvalho Chehab | Re: [build bug] error: 'VID_HARDWARE_GEMTEK' undeclared
Those VID_HARDWARE_* are bogus. No place checks for the .hardware value.
I've already made a patch removing it. Feel free to double check it.
--
Cheers,
Mauro
-
| Oct 15, 11:37 am 2007 |
| Pekka Seppänen | [PATCH] radio-gemtek: fix 'VID_HARDWARE_GEMTEK' undeclared
Remove obsolete V4L v1 reference.
Signed-off-by: Pekka Seppänen <pexu@kapsi.fi>
---
.hardware = VID_HARDWARE_GEMTEK was from pre-V4L2 era module. My bad, sorry folks.
diff -up v4l-dvb/linux/drivers/media/radio/radio-gemtek.c{.orig,}
--- v4l-dvb/linux/drivers/media/radio/radio-gemtek.c.orig 2007-10-15 15:52:38.000000000 +0300
+++ v4l-dvb/linux/drivers/media/radio/radio-gemtek.c 2007-10-15 15:52:53.000000000 +0300
@@ -555,7 +555,6 @@ static struct video_device gemtek_radio
...
| Oct 15, 6:16 am 2007 |
| Ingo Molnar | Re: [PATCH] radio-gemtek: fix 'VID_HARDWARE_GEMTEK' undeclared
thanks.
Tested-by: Ingo Molnar <mingo@elte.hu>
Ingo
-
| Oct 15, 6:49 am 2007 |
| Jochen Friedrich | [PATCH take2] [POWERPC] i2c: adds support for i2c bus on 8xx
Using the port of 2.4 code from Vitaly Bordug <vitb@kernel.crashing.org>
and the actual algorithm used by the i2c driver of the DBox code on
cvs.tuxboc.org from Tmbinc, Gillem (htoa@gmx.net). Renamed
i2c-algo-8xx.c to i2c-algo-cpm.c and i2c-rpx.c to i2c-8xx.c. Added
original i2c-rpx.c as i2c-8xx-ppc.c for pre-OF (arch ppc) devices.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
---
This can be pulled from git://git.bocc.de/dbox2.git i2c
arch/powerpc/boot/dts/mpc885ads.dts | ...
| Oct 15, 4:10 am 2007 |
| Scott Wood | Re: [PATCH take2] [POWERPC] i2c: adds support for i2c bu ...
Do we really need to be adding features for arch/ppc at this point? It'll
be going away in June. arch/ppc-specific things outside of arch/ppc itself
will also be more likely to be missed in the removal.
Also, please post inline rather than as an attachment; attachments are
Should be fsl,cpm-i2c. Is cpm2 i2c the same? If not, it should be
fsl,cpm1-i2c. It's probably best to specify it anyway, along with
Please add this to mpc885ads_pins, rather than poking the registers
directly. ...
| Oct 15, 11:31 am 2007 |
| Jiri Slaby | Re: RocketPort Linux driver errors on module reload
And so am I. I wouldn't change it, maybe they will contact you some later ;).
Anyway the driver faces another problem with pci refcounting (it doesn't
increment the counter) and the device might be removed from it any time the pci
bus code decides. Are you willing to test to-pci-probing patches (i.e. patches
which converts the driver to the model introduced in linux 2.4)? If not, I'll
only increment the counter on modprobe and decrement it on rmmod, since it would
be a safe (in the meaning ...
| Oct 15, 12:09 pm 2007 |
| Ferenc Wagner | RocketPort Linux driver errors on module reload
Hi,
A few days ago I sent the enclosed bug report to the address
advertised in Documentation/rocket.txt. Till now I got no reply.
While they think about it, I decided to air the problem here, too.
In a nutshell, the rocket module doesn't deregister its devices during
removal, they stay in /sys/class/tty causing grief on reinsert and
crippling udev.
Assuming it's an easy fix, can I plea for a patch against 2.6.23? Or
is there a workaround like manually deregistering the ...
| Oct 15, 2:55 am 2007 |
| Ferenc Wagner | Re: RocketPort Linux driver errors on module reload
You are the man, Jiri! That indeed fixes the problem.
Thank you very much. What a turnaround...
Shouldn't Documentation/rocket.txt also be changed? I'm not sure
whether that support email is still valid.
--
Regards,
Feri.
-
| Oct 15, 5:57 am 2007 |
| Jiri Slaby | Re: RocketPort Linux driver errors on module reload
Could you try the attached patch below?
--
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
index 56cbba7..94bb3d0 100644
--- a/drivers/char/rocket.c
+++ b/drivers/char/rocket.c
@@ -699,8 +699,8 @@ static void init_r_port(int board, int aiop, int chan, struct pci_dev *pci_dev)
spin_lock_init(&info->slock);
mutex_init(&info->write_mtx);
rp_table[line] = info;
- if (pci_dev)
- tty_register_device(rocket_driver, line, &pci_dev->dev);
+ tty_register_device(rocket_driver, ...
| Oct 15, 4:25 am 2007 |
| Rob Landley | [PATCH] Add Documentation/block/00-INDEX
From: Rob Landley <rob@landley.net>
Add Documentation/block/00-INDEX
Signed-off-by: Rob Landley <rob@landley.net>
---
By the way, shouldn't request.txt be in htmldocs somewhere?
Documentation/block/00-INDEX | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
--- /dev/null 2007-04-23 10:59:00.000000000 -0500
+++ hg/Documentation/block/00-INDEX 2007-10-15 04:32:49.000000000 -0500
@@ -0,0 +1,20 @@
+00-INDEX
+ - This file
+as-iosched.txt
+ - Anticipatory IO ...
| Oct 15, 2:53 am 2007 |
| Geert Uytterhoeven | [PATCH] PS3 system bus add_uevent_var() fallout
PS3 system bus add_uevent_var() fallout: kill unused variables
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
---
arch/powerpc/platforms/ps3/system-bus.c | 1 -
1 files changed, 1 deletion(-)
--- a/arch/powerpc/platforms/ps3/system-bus.c
+++ b/arch/powerpc/platforms/ps3/system-bus.c
@@ -440,7 +440,6 @@ static void ps3_system_bus_shutdown(stru
static int ps3_system_bus_uevent(struct device *_dev, struct kobj_uevent_env *env)
{
struct ps3_system_bus_device *dev = ...
| Oct 15, 2:51 am 2007 |
| Eric W. Biederman | [PATCH] rd: Mark ramdisk buffers heads dirty
I have not observed this case but it is possible to get a dirty page
cache with clean buffer heads if we get a clean ramdisk page with
buffer heads generated by a filesystem calling __getblk and then write
to that page from user space through the block device. Then we just
need to hit the proper window and try_to_free_buffers() will mark that
page clean and eventually drop it. Ouch!
To fix this use the generic __set_page_dirty_buffers in the ramdisk
code so that when we mark a page dirty we ...
| Oct 15, 3:42 pm 2007 |
| Nick Piggin | Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on ...
I don't think so -- in fact, it could be the best candidate for
a minimal fix for stable kernels (anyone disagree? if not, maybe
you could also send this to the stable maintainers?).
But I do want to have this fixed in a "nice" way. eg. I'd like
it to mark the buffers dirty because that actually results in
more reuse of generic kernel code, and also should make rd
behave more naturally (I like using it to test filesystems
because it can expose a lot more concurrency than something like
loop ...
| Oct 15, 7:38 am 2007 |
| Eric W. Biederman | Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on ...
make_page_uptodate() is most hideous part I have run into.
It has to know details about other layers to now what not
to stomp. I think my incorrect simplification of this is what messed
Cool. Triple buffering :) Although I guess that would only
apply to metadata these days. Having a separate store would
solve some of the problems, and probably remove the need
for carefully specifying the ramdisk block size. We would
still need the magic restictions on page allocations though
and it we ...
| Oct 15, 8:14 pm 2007 |
| Eric W. Biederman | Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on ...
Hah. I looked over my last round of patches again and I have been able
to verify by review the parts I was a little iffy about and I have
found where in my cleanups I had missed a layering violation in the
ramdisk code, and removed some needed code. Which probably accounts
for the reiserfs ramdisk problems. Updated patches in a minute.
Eric
-
| Oct 15, 3:37 pm 2007 |
| Eric W. Biederman | [PATCH] rd: Preserve the dirty bit in init_page_buffers()
The problem: When we are trying to free buffers try_to_free_buffers()
will look at ramdisk pages with clean buffer heads and remove the
dirty bit from the page. Resulting in ramdisk pages with data that get
removed from the page cache. Ouch!
Buffer heads appear on ramdisk pages when a filesystem calls
__getblk() which through a series of function calls eventually calls
init_page_buffers().
So to fix the mismatch between buffer head and page state this patch
modifies init_page_buffers() ...
| Oct 15, 3:40 pm 2007 |
| Nick Piggin | Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on ...
This really needs to be fixed...
I can't make up my mind between the approaches to fixing it.
On one hand, I would actually prefer to really mark the buffers
dirty (as in: Eric's fix for this problem[*]) than this patch,
and this seems a bit like a bandaid...
On the other hand, the wound being covered by the bandaid is
actually the code in the buffer layer that does this latent
"cleaning" of the page because it sadly doesn't really keep
track of the pagecache state. But it *still* feels ...
| Oct 15, 7:06 am 2007 |
| Eric W. Biederman | Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on ...
A minor one. It still leaves us with buffer heads out of sync with
We actually allow that currently for clean pages which is part
The core of my original fix was to modify init_page_buffers so that
when we added buffers to a dirty page the buffers became dirty.
Modifying the generic code is a bit spooky because it requires us
to audit the kernel to make certain nothing else depends on the
current behavior in odd ways. Although since init_page_buffers
is only called when we are adding ...
| Oct 15, 11:38 am 2007 |
| Christian Borntraeger | [PATCH resend] ramdisk: fix zeroed ramdisk pages on memo ...
Andrew, this is a resend of a bugfix patch. Ramdisk seems a bit unmaintained,
so decided to sent the patch to you :-).
I have CCed Ted, who did work on the code in the 90s. I found no current
email address of Chad Page.
We have seen ramdisk based install systems, where some pages of mapped
libraries and programs were suddendly zeroed under memory pressure. This
should not happen, as the ramdisk avoids freeing its pages by keeping them
dirty all the time.
It turns out that there is a case, ...
| Oct 15, 1:28 am 2007 |
| Nick Piggin | Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on ...
Why do you say that? I guess it is _different_, by necessity(?)
Is there anything that is really bad? I guess it's not nice
for operating on the pagecache from its request_fn, but the
alternative is to duplicate pages for backing store and buffer
cache (actually that might not be a bad alternative really).
-
| Oct 15, 8:23 am 2007 |
| Andrew Morton | Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on ...
runtime problems, iirc.
-
| Oct 15, 2:16 am 2007 |
| Christian Borntraeger | Re: [PATCH resend] ramdisk: fix zeroed ramdisk pages on ...
I obviously agree ;-)
Yes, that would solve the problem as well. As long as we fix
the problem, I am happy. On the other hand, do you see any
obvious problem with this "bandaid"?
Christian
-
| Oct 15, 2:05 am 2007 |
| Jens Axboe | Re: 2.6.23-mm1
XFS update, s390 block driver, gfs2 update, ocfs2 update, powerpc
What's done is done, I just hope we've seen the last of it now.
--
Jens Axboe
-
| Oct 15, 12:45 am 2007 |
| Neil Brown | Re: 2.6.23-mm1
How about the following - even more code simplification gained by this
approach :-)
I originally had the patch for removing the 'size' argument after a
patch (series) that made bi_size unchanged. It seemed that patch
would face a harder path upstream so I re-ordered them and missed this
I must have missed something ....
I've seen: A fix for a bi_end_io in jfs that I missed.
A correction for that fix ("return 0" was remove instead
of just the '0' removed)
...
| Oct 15, 12:31 am 2007 |
| Marc Pignat | [PATCH] zd1211rw, fix oops when ejecting install media
The disconnect function can dereference the net_device structure before it is
allocated. This is the case when ejecting the device installer.
Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
---
Hello!
Patch against 2.6.23.
This patch fixes the bug I've submitted to linux-wireless friday in the
"zd1211rw on 2.6.23 oops ejecting device" thread.
Regards
Marc
--- drivers/net/wireless/zd1211rw/zd_usb.c.orig 2007-10-15 08:29:16.000000000 +0200
+++ ...
| Oct 14, 11:51 pm 2007 |
| Daniel Drake | Re: [PATCH] zd1211rw, fix oops when ejecting install media
s/before it is allocated/when it is never allocated/
-
| Oct 15, 4:05 am 2007 |
| Paul Jackson | Re: [RFC] cpuset update_cgroup_cpus_allowed
Good point ... hmmm ...
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
-
| Oct 15, 7:32 pm 2007 |
| Paul Jackson | Re: [RFC] cpuset update_cgroup_cpus_allowed
I don't see the alternative -- I just see my patch, with the added
blurbage:
#12 - /usr/local/google/home/menage/kernel9/linux/kernel/cpuset.c ====
# action=edit type=text
Should I be increasing my caffeine intake?
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
-
| Oct 15, 5:16 pm 2007 |
| Paul Menage | Re: [RFC] cpuset update_cgroup_cpus_allowed
Looks plausible, although as David comments I don't think it handles a concurrent CPU hotplug/unplug. Also I don't like the idea of doing a cgroup_lock() across sched_setaffinity() - cgroup_lock() can be held for relatively long periods of time.
Here's an alternative for consideration, below. The main differences are:
- currently against an older kernel with pre-cgroup cpusets, so it uses tasklist_lock and do_each_thread(); a cgroup version would use cgroup iterators as yours does
- solves ...
| Oct 15, 2:24 pm 2007 |
| David Rientjes | Re: [RFC] cpuset update_cgroup_cpus_allowed
By making this cpus_equal() and not cpus_intersects(), you're trying to
make sure that t->cpus_allowed is always equal to *cpus for each task in
Yet by not doing any locking here to prevent a cpu from being
hot-unplugged, you can race and allow the hot-unplug event to happen
before calling set_cpus_allowed(). That makes this entire function a
no-op with set_cpus_allowed() returning -EINVAL for every call, which
isn't caught, and no error is reported to userspace.
Now all the tasks in ...
| Oct 15, 11:49 am 2007 |
| Paul Jackson | [RFC] cpuset update_cgroup_cpus_allowed
Paul M, David R, others -- how does this look?
From: Paul Jackson <pj@sgi.com>
Update the per-task cpus_allowed of each task in a cgroup
whenever it has a cpuset whose 'cpus' mask changes.
The change to basing cpusets on the cgroup (aka container)
infrastructure broke an essential cpuset hack. The old cpuset
code had used the act of reattaching a task to its own cpuset
(writing its pid back into the same 'tasks' file it was already
in) to trigger the code that updates the cpus_allowed ...
| Oct 15, 12:11 am 2007 |
| Paul Jackson | Re: [RFC] cpuset update_cgroup_cpus_allowed
> currently against an older kernel
ah .. which older kernel?
I tried it against the broken out 2.6.23-rc8-mm2 patch set,
inserting it before the task-containersv11-* patches, but
that blew up on me - three rejected hunks.
Any chance of getting this against a current cgroup (aka
container) kernel?
Could you use the diff --show-c-function option when composing
patches - they're easier to read that way - thanks.
+ if (!retval) {
+ cpus_allowed = cpuset_cpus_allowed(p);
+ if ...
| Oct 15, 7:34 pm 2007 |
| Paul Menage | Re: [RFC] cpuset update_cgroup_cpus_allowed
Bah. Trying again:
Here's an alternative for consideration, below. The main differences are:
- currently against an older kernel with pre-cgroup cpusets, so it uses tasklist_lock and do_each_thread(); a cgroup version would use cgroup iterators as yours does
- solves the race between sched_setaffinity() and update_cpumask() by having sched_setaffinity() check for changes to cpuset_cpus_allowed() after doing set_cpus_allowed()
- guarantees to only act on each process once (so guarantees ...
| Oct 15, 5:20 pm 2007 |
| Alok kataria | ARCH_FREE_PTE_NR 5350 on x86_64
Hi,
Looking at the tlb_flush code path and its co-relation with
ARCH_FREE_PTE_NR, on x86-64 architecture. I think we still don't use
the ARCH_FREE_PTE_NR of 5350 as the caching value for the mmu_gathers
structure, instead fallback to using 506 due to some typo errors in
the code.
Found this link in the archives.
http://www.ussg.iu.edu/hypermail/linux/kernel/0509.1/1821.html
I don't think anything has been done on this yet (looked at 2.6.23).
Do let me know if its only a typo that needs ...
| Oct 14, 11:54 pm 2007 |
| Nick Piggin | Re: ARCH_FREE_PTE_NR 5350 on x86_64
ARCH_FREE_PTE_NR should probably just get ripped out completely at
this point. Something similar (but working) could be added back if
anybody actually had a workload where it helps to increase the mmu
batch size.
-
| Oct 15, 5:36 am 2007 |
| Don Mullis | Re: Hitachi disk: spurious completions during NCQ
This has been seen with several Hitachi drives. There's speculation
that it's due to a bug in the drive firmware:
http://groups.google.it/group/linux.kernel/browse_thread/thread/a4bd3c19565a2009/38981...
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/137470
A workaround:
Index: /etc/rc.local
===================================================================
--- .orig/etc/rc.local 2007-10-13 ...
| Oct 14, 11:07 pm 2007 |
| Luca | Re: Hitachi disk: spurious completions during NCQ
Yes, I'm aware of this. That's why I was suggesting to blacklist this drive.
thanks,
Luca
-
| Oct 15, 2:47 am 2007 |
| Dave Young | [PATCH][resend] param_sysfs_builtin memchr argument fix
If memchr argument is longer than strlen(kp->name), there will be some weird result.
It will casuse duplicate filenames in sysfs for the "nousb". kernel
warning messages are as bellow:
sysfs: duplicate filename 'usbcore' can not be created
WARNING: at fs/sysfs/dir.c:416 sysfs_add_one()
[<c01c4750>] sysfs_add_one+0xa0/0xe0
[<c01c4ab8>] create_dir+0x48/0xb0
[<c01c4b69>] sysfs_create_dir+0x29/0x50
[<c024e0fb>] create_dir+0x1b/0x50
[<c024e3b6>] kobject_add+0x46/0x150
[<c024e2da>] ...
| Oct 14, 10:39 pm 2007 |
| Arjan van de Ven | Re: [PATCH] jiffies_round -> jiffies_round_relative conv ...
On Mon, 15 Oct 2007 00:40:34 -0500
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
-
| Oct 15, 7:01 am 2007 |
| Arjan van de Ven | Re: [PATCH] jiffies_round -> jiffies_round_relative conv ...
On Mon, 15 Oct 2007 00:42:23 -0500
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
-
| Oct 15, 7:02 am 2007 |
| Anton Blanchard | [PATCH] jiffies_round -> jiffies_round_relative conversi ...
When rounding a relative timeout we need to use round_jiffies_relative().
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c
index f3690a6..46400ec 100644
--- a/drivers/edac/edac_device.c
+++ b/drivers/edac/edac_device.c
@@ -436,7 +436,7 @@ static void edac_device_workq_function(struct work_struct *work_req)
*/
if (edac_dev->poll_msec == 1000)
queue_delayed_work(edac_workqueue, ...
| Oct 14, 10:34 pm 2007 |
| Arjan van de Ven | Re: [PATCH] jiffies_round -> jiffies_round_relative conv ...
On Mon, 15 Oct 2007 00:34:28 -0500
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
-
| Oct 15, 7:01 am 2007 |
| Anton Blanchard | [PATCH] jiffies_round -> jiffies_round_relative conversi ...
When rounding a relative timeout we need to use round_jiffies_relative().
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c
index 2d46a16..739d060 100644
--- a/drivers/net/wireless/ipw2100.c
+++ b/drivers/net/wireless/ipw2100.c
@@ -1769,7 +1769,7 @@ static int ipw2100_up(struct ipw2100_priv *priv, int deferred)
if (priv->stop_rf_kill) {
priv->stop_rf_kill = 0;
queue_delayed_work(priv->workqueue, ...
| Oct 14, 10:38 pm 2007 |
| Arjan van de Ven | Re: [PATCH] jiffies_round -> jiffies_round_relative conv ...
On Mon, 15 Oct 2007 00:38:01 -0500
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
-
| Oct 15, 7:01 am 2007 |
| Anton Blanchard | [PATCH] jiffies_round -> jiffies_round_relative conversi ...
When rounding a relative timeout we need to use round_jiffies_relative().
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h
index 298faa9..06d9bc0 100644
--- a/drivers/net/wireless/rt2x00/rt2x00lib.h
+++ b/drivers/net/wireless/rt2x00/rt2x00lib.h
@@ -30,7 +30,7 @@
* Interval defines
* Both the link tuner as the rfkill will be called once per second.
*/
-#define LINK_TUNE_INTERVAL ( ...
| Oct 14, 10:40 pm 2007 |
| Anton Blanchard | [PATCH] jiffies_round -> jiffies_round_relative conversi ...
When rounding a relative timeout we need to use round_jiffies_relative().
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index c141a26..41049a4 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -2392,7 +2392,7 @@ out_requeue:
if (b43_debug(dev, B43_DBG_PWORK_FAST))
delay = msecs_to_jiffies(50);
else
- delay = round_jiffies(HZ * 15);
+ delay = ...
| Oct 14, 10:42 pm 2007 |
| Ivo van Doorn | Oct 15, 11:08 am 2007 | |
| Jim Cromie | [ patch .24-rc0 5/5 ] SuperIO locks coordinator - use in ...
05 - use superio-locks in rest of drivers/hwmon/*.c
this patch is compile-tested only, please review for sanity before you
try running them. Things to look for - missing superio_release(),
opportunities to use superio_devid(), superio_inw(), etc.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
hwmon-superio-others
Kconfig | 6 +++
f71805f.c | 86 +++++++++++++++-------------------------------
it87.c | 80 +++++++++++++++---------------------------
...
| Oct 14, 10:11 pm 2007 |
| Jim Cromie | [ patch .24-rc0 1/5 ] SuperIO locks coordinator - add th ...
01 - adds superio_locks module
User-drivers specify the sio-port characteristics they can support
device-ids, sio-port-addrs, enter & exit sequences, etc in
a struct superio_search (in __devinit, preferably).
superio_find() then searches existing slots/shared-reservations
for a matching sio-port, and returns it if found.
Otherwize it probes port-addrs, specified by find() user,
and makes and returns a new reservation.
superio_find() finds and reserves the slot,
returned as ...
| Oct 14, 10:05 pm 2007 |
| Jim Cromie | [ patch .24-rc0 3/5 ] SuperIO locks coordinator - use in ...
03 - use superio-locks in drivers/hwmon/pc87360
this driver keeps the slot for only during __init, since it
only needs the sio-port to read the ISA addresses of the
Logical Devices in the chip, which are then used exclusively.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
hwmon-superio-pc87360
Kconfig | 1
pc87360.c | 73 +++++++++++++++++++++++++-------------------------------------
2 files changed, 31 insertions(+), 43 deletions(-)
diff -ruNp -X dontdiff -X ...
| Oct 14, 10:07 pm 2007 |
| Jim Cromie | [ patch .24-rc0 2/5 ] SuperIO locks coordinator - use in ...
02 - use superio-locks in drivers/hwmon/w83627hf.c
tested on an AMD-Barton mobo.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
hwmon-superio-w83627hf
Kconfig | 1
w83627hf.c | 140 ++++++++++++++++++++++++-------------------------------------
2 files changed, 58 insertions(+), 83 deletions(-)
diff -ruNp -X dontdiff -X exclude-diffs hwmon-fan-push-offset/drivers/hwmon/Kconfig hwmon-superio.old/drivers/hwmon/Kconfig
--- ...
| Oct 14, 10:07 pm 2007 |
| Jim Cromie | [ patch .24-rc0 4/5 ] SuperIO locks coordinator - use in ...
04 - use superio-locks in drivers/char/pc8736x_gpio
this driver keeps the slot for the lifetime of the driver
( __init til __exit ), since the driver needs the sio-port
to change pin configurations.
patches 03,04 were tested on a soekris 4801 a year ago,
the box is currently busy. Together they sanity-test
the sharing of a reservation with 2 different life-cycles.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
hwmon-superio-pc8736x-gpio
Kconfig | 1
pc8736x_gpio.c ...
| Oct 14, 10:08 pm 2007 |
| Hans de Goede | Re: [lm-sensors] [ patch .24-rc0 0/5 ] SuperIO locks coo ...
Your welcome, at a first look over things look pretty sane now. I'm willing to
do a full review of this, but first I would like to see some more input from
others.
Regards,
Hans
-
| Oct 14, 11:56 pm 2007 |
| Jim Cromie | [ patch .24-rc0 0/5 ] SuperIO locks coordinator
this patchset (on hwmon-git) re-introduces superio_locks module,
previously RFC'd here, where I 'borrowed' another thread..
http://marc.info/?l=linux-kernel&m=115821759424601&w=2
The module shares out slots/shared-reservations containing
a mutex, so that multiple modules can coordinate access to
the sio-port.
Im crossposting - LKML for more reviewers, lm-sensors for
folks with the hardware and (perhaps) more interest.
If its not too late, please consider for 2.6.24-rc0
01 - adds ...
| Oct 14, 10:04 pm 2007 |
| NeilBrown | [PATCH 005 of 5] md: Fix type that is stopping raid5 gro ...
This kmem_cache_create is creating a cache that already exists. We
could us the alternate name, just like we do a few lines up.
Signed-off-by: Neil Brown <neilb@suse.de>
Cc: "Dan Williams" <dan.j.williams@intel.com>
### Diffstat output
./drivers/md/raid5.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff .prev/drivers/md/raid5.c ./drivers/md/raid5.c
--- .prev/drivers/md/raid5.c 2007-10-15 14:12:03.000000000 +1000
+++ ./drivers/md/raid5.c 2007-10-15 14:12:06.000000000 ...
| Oct 14, 9:34 pm 2007 |
| NeilBrown | [PATCH 004 of 5] md: Make sure read errors are auto-corr ...
Whenever a read error is found, we should attempt to overwrite with
correct data to 'fix' it.
However when do a 'check' pass (which compares data blocks that are
successfully read, but doesn't normally overwrite) we don't do that.
We should.
Signed-off-by: Neil Brown <neilb@suse.de>
### Diffstat output
./drivers/md/raid1.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff .prev/drivers/md/raid1.c ./drivers/md/raid1.c
--- .prev/drivers/md/raid1.c 2007-10-15 ...
| Oct 14, 9:34 pm 2007 |
| NeilBrown | [PATCH 003 of 5] md: Expose the degraded status of an as ...
From: Iustin Pop <iusty@k1024.org>
The 'degraded' attribute is useful to quickly determine if the array is
degraded, instead of parsing 'mdadm -D' output or relying on the other
techniques (number of working devices against number of defined devices, etc.).
The md code already keeps track of this attribute, so it's useful to export it.
Signed-off-by: Iustin Pop <iusty@k1024.org>
Signed-off-by: Neil Brown <neilb@suse.de>
### Diffstat output
./drivers/md/md.c | 7 +++++++
1 file ...
| Oct 14, 9:34 pm 2007 |
| NeilBrown | [PATCH 002 of 5] md: 'sync_action' in sysfs returns wron ...
When an array is started read-only, MD_RECOVERY_NEEDED can be set but
no recovery will be running. This causes 'sync_action' to report the
wrong value.
We could remove the test for MD_RECOVERY_NEEDED, but doing so would
leave a small gap after requesting a sync action, where 'sync_action'
would still report the old value.
So make sure that for a read-only array, 'sync_action' always returns 'idle'.
Signed-off-by: Neil Brown <neilb@suse.de>
### Diffstat output
./drivers/md/md.c | ...
| Oct 14, 9:34 pm 2007 |
| NeilBrown | [PATCH 001 of 5] md: Fix a bug in some never-used code.
http://bugzilla.kernel.org/show_bug.cgi?id=3277
There is a seq_printf here that isn't being passed a 'seq'.
Howeve as the code is inside #ifdef MD_DEBUG, nobody noticed.
Also remove some extra spaces.
Signed-off-by: Neil Brown <neilb@suse.de>
### Diffstat output
./drivers/md/raid0.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff .prev/drivers/md/raid0.c ./drivers/md/raid0.c
--- .prev/drivers/md/raid0.c 2007-10-15 14:05:58.000000000 +1000
+++ ...
| Oct 14, 9:34 pm 2007 |
| NeilBrown | [PATCH 000 of 5] md: Five minor md patch, some for 2.6.24.
Following are 5 minor patches for md in current -mm.
The first 4 are suitable to flow into 2.6.24.
The last fixes a small bug in Dan Williams' patches currently in -mm,
which are not scheduled for 2.6.24.
Thanks,
NeilBrown
[PATCH 001 of 5] md: Fix a bug in some never-used code.
[PATCH 002 of 5] md: 'sync_action' in sysfs returns wrong value for readonly arrays
[PATCH 003 of 5] md: Expose the degraded status of an assembled array through sysfs
[PATCH 004 of 5] md: Make sure read ...
| Oct 14, 9:34 pm 2007 |
| James Bottomley | [GIT PATCH] SCSI updates for 2.6.24
This is the accumulated updates queued for 2.6.24. It contains the
usual slew of driver updates, plus some gdth and advansys rewrites. We
still have some outstanding bugs in gdth and fc4 for which I'm hoping to
sweep fixes into the next update.
The patch is available here:
master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git
The short changelog is:
Adrian Bunk (5):
esp_scsi: remove __dev{init,exit}
imm: fix check-after-use
nsp_cs: remove kernel 2.4 ...
| Oct 14, 9:09 pm 2007 |
| Nick Piggin | Re: [RFC] vivi, videobuf_to_vmalloc() and related breakage
Right you are. remap_vmalloc_range doesn't turn the passed vmalloc
area into user memory (it creates a completely new mapping).
Presumably it either wants to copy_to_user to that new mapping, or
memcpy to ->vmalloc? Would the former be an attempt to avoid some
I don't know why one would be finding remap_vmalloc_range to fail
it mmap time but not later? Should just do it at mmap time and if
that is failing, then work out why (or ask linux-mm for help).
Actually there is probably a window ...
| Oct 15, 12:59 am 2007 |
| Jiri Kosina | Re: WTF is HIDIOCGRDESC supposed to do (aside of being a ...
Ouch. My bad, I mis-merged from the wrong version of the branch when
preparing the branch to merge.
The patch below is needed. Thanks a lot for catching this. I will take
this through my tree in the next round of updates if Linus doesn't pick it
up.
From: Jiri Kosina <jkosina@suse.cz>
HID: fix HIDIOCGRDESC memory access in hidraw
Fix bogus copying of data into userspace when HIDIOCGRDESC is issued.
HID-transport layer makes sure that dev->hid->rdesc is not larger than ...
| Oct 15, 6:17 am 2007 |
| Sam Ravnborg | Re: RFC: reviewer's statement of oversight
git stores to my best knowledge only a single author.
Infrequently we need a list but then people have solved it putting
relevant people in s-o-b and by give credit in changelog.
With the current definition you need to supply BOTH a from: and a s-o-b.
I usually request a s-o-b when it is missing no matter what other content
I did not realise that "concensus" in this context refered to both the
one that give the "Acked-by" and the author.
Viewing it this way I agree with the intent and the ...
| Oct 15, 7:32 am 2007 |
| WANG Cong | Re: WANTED: kernel projects for CS students
Thanks very much, Rik. I need this eagerly.
I want to find a kernel project that can both be my graduation thesis
and contribute to the Linux kernel community. I read that page and
think your project--Swapout Clustering is interesting for me.
Is it alright for me to work on it? And can you give some help?
Thanks!
--
May the Source Be With You.
-
| Oct 15, 3:40 am 2007 |
| Jörn | Re: WANTED: kernel projects for CS students
Maybe this:
Allow removal of select from Kconfig files
Difficulty: 4
Many config options depend on other options is unrelated submenus. As a
result, people have complained about not being able to select the
desired option because they finding all dependencies is too complicated.
Select solves this problem and creates a near-identical new one. Now it
is just as hard to turn some options _off_ as it was before to turn
others _on_.
The solution would be to have smarter tools that give ...
| Oct 15, 8:40 am 2007 |
| Sam Ravnborg | Re: WANTED: kernel projects for CS students
The kernel build system supports parallel make and I guess all
kernel developers use it. People tell me that a 32 way machine is
quite good for kernel compilation.
The bottleneck is that we spawn so many make instances and each have
to read all the same makefiles and stat in total a zillion files
for a simple kernel build.
With a single Makefile we can run a single instance make where
we read all files only once and stat the same file only once.
Sam
-
| Oct 15, 11:19 am 2007 |
| Rik van Riel | Re: WANTED: kernel projects for CS students
On Mon, 15 Oct 2007 16:23:52 +0200
Thank you Sam, I have added your project ideas to the page.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
| Oct 15, 8:10 am 2007 |
| Zan Lynx | Re: WANTED: kernel projects for CS students
How about this in the Device Mapper raid-1/mirror code?
/* FIXME: add read balancing */
That comment has been in there for many releases. I've wanted read
balancing for several servers and had all sorts of ideas about it, like
adding functions to the underlying device queues to return a "queuing
cost" to determine which is the best queue to add the read request. I
think that could work better for queues like CFQ than the MD
closest-head.
An implementation would also need to be ...
| Oct 15, 10:10 am 2007 |
| Jan Engelhardt | Re: WANTED: kernel projects for CS students
Even now, make -j8 really pays off on bigiron AMD.
-
| Oct 15, 9:52 am 2007 |
| Alexey Dobriyan | Re: WANTED: kernel projects for CS students
Ehh? You do it once, then leave it aside or in /proc/config.gz, on new
kernel copy it back, "make oldconfig", answer several questions and here
-
| Oct 15, 12:17 pm 2007 |
| Sam Ravnborg | Re: WANTED: kernel projects for CS students
Thanks for adding these.
Sam
-
| Oct 15, 11:31 am 2007 |
| Sam Ravnborg | Re: WANTED: kernel projects for CS students
I have discussed this briefly with Kay Sievers.
What udev can provide is the list of modules needed, so what the kernel
need to provide is a simple module to CONFIG option(s) converter + a base
config to start out with.
Nothing particular difficult but needs a few days work to do.
Sam
-
| Oct 15, 11:30 am 2007 |
| david | Re: WANTED: kernel projects for CS students
another config thing that would be nice would be to take something like
Rob Landley's miniconfig tool and make it work well enough to be
integrated (it creates a version of .config that only contains the things
that need to be set, not everything that's at a default that doesn't make
any difference)
David Lang
-
| Oct 15, 5:39 pm 2007 |
| Guilherme Amadio | Re: WANTED: kernel projects for CS students
Hello,
I read the messages about the company list and now this CS projects list and
I was wondering if is there any similar list of labs/universities that host
PhD projects related to the Linux kernel. I am thinking about switching from
physics to CS and it would be really cool to work with the kernel.
Thanks in advance,
Guilherme
-
| Oct 15, 10:30 am 2007 |
| Xavier Bestel | Re: WANTED: kernel projects for CS students
make -j works fine with an unique Makefile, if that's the question.
Xav
-
| Oct 15, 9:53 am 2007 |
| Sam Ravnborg | Re: WANTED: kernel projects for CS students
Hi Rik.
In the kernel build area a few possible projects exists.
Increase speed for a build with no updates
==========================================
On a resonably fast machine with a decent config it takes
roughly 10 seconds to do a make where nothing is updated.
Generating one single Makefile is assumed to speed up things
and will in addition allow a simpler syntax as what is used today
for some of the uglier constructs.
Contact: Sam Ravnborg <sam@ravnborg.org>
Difficulty: ...
| Oct 15, 7:23 am 2007 |
| Mark Gross | Re: WANTED: kernel projects for CS students
Is there already a make config option that will do a good job at setting
a default .config file based on what is already running on a system?
I get tiered of trimming down my .config for my laptop build so it takes
less than 30min to build a kernel.
Bonus credit to additional "expert" options (like those powertop puts
out) for target uses, laptop, HPC, home file share, embedded targets....
Oh, and lets make the expert configs easily extensible.
-
| Oct 15, 10:04 am 2007 |
| J. Bruce Fields | Re: WANTED: kernel projects for CS students
You might take a look at proceedings for conferences with recent
linux-related papers (linuxsymposium.org, usenix.org, linux.org.au, ?)
and look for urls and presenters with .edu addresses.
--b.
-
| Oct 15, 11:03 am 2007 |
| Giacomo Catenazzi | Re: WANTED: kernel projects for CS students
could you explain better what you need? I think I've already such
tools ;-)
ciao
cate
-
| Oct 15, 12:54 pm 2007 |
| Philippe Elie | Re: WANTED: kernel projects for CS students
Isn't make -j 2 or more implemented by running multiple make in sub-dirs ?
Parallel make is more and more used even on cheap hardware.
--
Phe
-
| Oct 15, 9:31 am 2007 |
| Rik van Riel | Re: WANTED: kernel projects for CS students
On Mon, 15 Oct 2007 18:40:34 +0800
You would be the third student to take on that project
simultaneously. That is not a problem for me (on the
contrary, it increases the chances of one codebase being
likeable to Linus), but it does decrease the chances of
your patch being the one to make it upstream.
Still, it should be a fun project to implement and
benchmark, so go ahead if you want.
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the ...
| Oct 15, 10:13 am 2007 |
| david | Re: WANTED: kernel projects for CS students
another couple of raid enhancements would be:
1. teach the system that a raid456 stripe is handled most efficiantly if
treated as a single block of data
by this I mean that if you read one block from the stripe the system reads
the entire stripe, so it should take this into account when doing
read-ahead and not always throw away most of the data it read becouse it's
outside the current readahead window (if nothing else, look at putting it
on the tail of the LRU list instead of just ...
| Oct 15, 5:51 pm 2007 |
| Rik van Riel | Re: WANTED: kernel projects for CS students
On Mon, 15 Oct 2007 11:10:32 -0600
I've written down the basic description:
http://kernelnewbies.org/KernelProjects/Raid1ReadBalancing
Could you add any ideas that you have to the page?
It is a wiki, so anybody can edit the site (after
creating an account).
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
| Oct 15, 10:23 am 2007 |
| Folkert van Heusden | Re: WANTED: kernel projects for CS students
Ah yes, but then you buy a new system to which the old config does not
apply.
Folkert van Heusden
--
www.vanheusden.com/multitail - win een vlaai van multivlaai! zorg
ervoor dat multitail opgenomen wordt in Fedora Core, AIX, Solaris of
HP/UX en win een vlaai naar keuze
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
-
| Oct 15, 12:54 pm 2007 |
| Doug Whitesell (LKML) | Re: WANTED: kernel projects for CS students
I'm also quite interested in what compsci students can do for the
kernel project. I'm currently doing a little embedded development and
research at school, but I and a few others would jump at the chance
to work on the kernel (besides finding duplicate problems that the
x86 merge is already taking care of, of course. ;)
Also (as an aside), we're looking at redoing our operating systems
curriculum out here at school...anyone aware of (relatively good) OS
curricula? (time scope: ...
| Oct 15, 10:04 am 2007 |
| Philippe Elie | Oct 15, 9:36 am 2007 | |
| Mark Gross | Re: WANTED: kernel projects for CS students
that would be cool.
--mgross
-
| Oct 15, 11:45 am 2007 |
| Satoru Takeuchi | Re: [PATCH] doc: add uio document to docbook compilation ...
Hi Randy,
At Sun, 14 Oct 2007 20:49:42 -0700,
Thank you, fixed. This patch can apply cleanly to 2.6.23-git6.
Satoru
---
Add uio document to DocBook compilation target.
`make *docs' doesn't generate "The Userspace I/O HOWTO", the user space
I/O document written in DocBook.
Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Index: linux-2.6.23/Documentation/DocBook/Makefile
===================================================================
--- ...
| Oct 14, 11:47 pm 2007 |
| Hans-Jürgen | Re: [PATCH] doc: add uio document to docbook compilation ...
Am Sun, 14 Oct 2007 20:49:42 -0700
Here's a version against mainline 2.6.23:
Thanks,
Hans
--
Add uio document to DocBook compilation target.
`make *docs' doesn't generate "The Userspace I/O HOWTO", the user
space I/O document written in DocBook.
Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Index: linux-2.6.23/Documentation/DocBook/Makefile
===================================================================
--- ...
| Oct 14, 11:24 pm 2007 |
| David Miller | Re: Don't leak 'listeners' in netlink_kernel_create()
From: ebiederm@xmission.com (Eric W. Biederman)
Applied, thanks everyone.
-
| Oct 15, 1:39 am 2007 |
| Thomas Gleixner | Re: [PATCH] Hook compat_sys_nanosleep up to high res tim ...
Thanks,
tglx
-
| Oct 14, 11:11 pm 2007 |
| Anton Blanchard | [PATCH] Hook compat_sys_nanosleep up to high res timer code
Now we have high res timers on ppc64 I thought Id test them. It turns
out compat_sys_nanosleep hasnt been converted to the hrtimer code and so
is limited to HZ resolution.
The follow patch converts compat_sys_nanosleep to use high res timers.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/kernel/compat.c b/kernel/compat.c
index 3bae374..729f63d 100644
--- a/kernel/compat.c
+++ b/kernel/compat.c
@@ -40,62 +40,26 @@ int put_compat_timespec(const struct timespec *ts, ...
| Oct 14, 11:43 pm 2007 |
| Anton Blanchard | [PATCH] Rework hrtimer_nanosleep to make sys_compat_nano ...
Hi Thomas,
Thanks for the review, updates to follow.
Anton
--
Pull the copy_to_user out of hrtimer_nanosleep and into the callers
(common_nsleep, sys_nanosleep) in preparation for converting
compat_sys_nanosleep to use hrtimers.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 540799b..7a9398e 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -300,7 +300,7 @@ hrtimer_forward(struct ...
| Oct 14, 11:38 pm 2007 |
| Arnd Bergmann | Re: [PATCH] Rework hrtimer_nanosleep to make sys_compat_ ...
If it's common to call sys_nanosleep with a NULL rmtp argument, we could save a
few cycles using
return hrtimer_nanosleep(&tu, rmtp ? &rmp : NULL, HRTIMER_MODE_REL,
I think it would be better here to propagate the move to a kernel *rmtp
down to sys_clock_nanosleep so we get the same optimization in
compat_sys_clock_nanosleep. That should probably also be a separate
patch. I can do one if you don't do it first.
Arnd <><
-
| Oct 15, 12:28 am 2007 |
| Anton Blanchard | [PATCH] Rework hrtimer_nanosleep to make sys_compat_nano ...
I can get to this later in the week, if you feel the urge in the
meantime go for it :)
Anton
--
Pull the copy_to_user out of hrtimer_nanosleep and into the callers
(common_nsleep, sys_nanosleep) in preparation for converting
compat_sys_nanosleep to use hrtimers.
Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
---
diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index 540799b..7a9398e 100644
--- ...
| Oct 15, 2:06 pm 2007 |
| Anton Blanchard | [PATCH] Hook compat_sys_nanosleep up to high res timer code
Now we have high res timers on ppc64 I thought Id test them. It turns
out compat_sys_nanosleep hasnt been converted to the hrtimer code and so
is limited to HZ resolution.
The follow patch converts compat_sys_nanosleep to use high res timers.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
diff --git a/kernel/compat.c b/kernel/compat.c
index 3bae374..252a446 100644
--- a/kernel/compat.c
+++ b/kernel/compat.c
@@ -40,62 +40,27 @@ int put_compat_timespec(const struct timespec *ts, ...
| Oct 15, 2:13 pm 2007 |
| Jeff Garzik | Re: [PATCH] : IDE-CS Add additional id string (corsair, 1GB)
applied to pata_pcmcia
-
| Oct 15, 12:51 pm 2007 |
| Kristoffer Ericson | Re: [PATCH] : IDE-CS Add additional id string (corsair, 1GB)
Greetings,
Of course. Not sure how you want it so I've kept the patches seperate for now.
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
index 782ff4a..5db2013 100644
--- a/drivers/ata/pata_pcmcia.c
+++ b/drivers/ata/pata_pcmcia.c
@@ -353,6 +353,7 @@ static void pcmcia_remove_one(struct pcmcia_device *pdev)
static struct pcmcia_device_id pcmcia_devices[] = {
...
| Oct 14, 11:05 pm 2007 |
| Justin Piszcz | Re: [lm-sensors] 2.6.23.1 x86 hardware monitoring bug?
I only had one, in /app (lm-sensors-2.10.2) -- which has been removed,
thanks..
Justin.
-
| Oct 15, 3:15 am 2007 |
| Rudolf Marek | Re: [lm-sensors] 2.6.23.1 x86 hardware monitoring bug?
Hi,
Most likely you have distro and custom libsensors installed on the system. (and
different PATH for root)
Please check how many of libsensors libraries is installed.
Thanks,
Rudolf
-
| Oct 15, 2:12 am 2007 |
| Justin Piszcz | Re: 2.6.23.1 x86 hardware monitoring bug?
Arg, you were correct-- my error, it had been a special version that I=20
had to install to get the coretemp several months ago, it is working now.
$ sensors
abituguru3-isa-00e0
Adapter: ISA adapter
CPU Core: +1.35 V (min +0.00 V, max +1.60 V)
DDR2: +2.00 V (min +1.60 V, max +2.40 V)
DDR2 VTT: +1.00 V (min +0.80 V, max +1.20 V)
CPU VTT 1.2V: +1.22 V (min +0.95 V, max +1.45 V)
MCH & PCIE 1.5V: +1.50 V (min +1.20 ...
| Oct 15, 1:07 am 2007 |
| Hans de Goede | Re: 2.6.23.1 x86 hardware monitoring bug?
What does "which sensors" say as user, and what as root?
What does "ldd `which sensors`" say as user and what as root?
I have the feeling you have 2 different versions of lm-sensors installed in
root is using one, and the user the other.
Regards,
-
| Oct 14, 11:33 pm 2007 |
| Justin Piszcz | Re: 2.6.23.1 x86 hardware monitoring bug?
Output from ls -lH /sys/class/hwmon/hwmon*/device:
/sys/class/hwmon/hwmon0/device:
total 0
lrwxrwxrwx 1 root root 0 2007-10-15 03:59 driver -> ../../../bus/platfor=
m/drivers/abituguru3
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan1_alarm
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan1_alarm_enable
-r--r--r-- 1 root root 4096 2007-10-15 04:06 fan1_beep
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan1_input
-r--r--r-- 1 root root 4096 2007-10-15 03:59 fan1_label
-r--r--r-- 1 ...
| Oct 15, 1:06 am 2007 |
| Kristoffer Ericson | [PATCH] : IDE-CS Add additional id string (corsair, 1GB)
Greetings,
The manf string looks weird (0x0 + 0x0), but I assume its correct. Also, whitespaces seems almost intentional, so am I missing something?
Shortlog:
This patch adds id strings for Corsair 1GB (identified as Hyperstone Model1) inside legacy/ide-cs.c
It also includes some minor whitespace cleanups.
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
diff --git a/drivers/ide/legacy/ide-cs.c b/drivers/ide/legacy/ide-cs.c
index 4cdb519..e8e360c 100644
--- ...
| Oct 14, 9:04 pm 2007 |
| David Howells | Re: [PATCH] frv: missing casts in cmpxchg()
Acked-by: David Howells <dhowells@redhat.com>
-
| Oct 15, 3:03 am 2007 |
| Vitaliy Ivanov | Re: [2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.
Pete,
Thanks for your notes. Will check and correct it asap.
Vitaliy
-
| Oct 15, 1:04 pm 2007 |
| Pete Zaitcev | Re: [2.4 patch] Port of adutux driver from 2.6 kernel to 2.4.
At least in case of RHEL, such backports never were automatic. In any
case, RHEL 2.1 and 3 do not receive new drivers anymore. We only do
bugfixes if something comes up. Realistically speaking, 2.4 kernels
are just too old for anyone to use. So, I think it would be best for
Did you verify if this works? We use pre-swapped descriptors in 2.4.
The above very clearly is a use-after-free, in case the device was
open across a disconnect. Solution: Use minor_table_mutex to lock
dev->open_count ...
| Oct 15, 10:30 am 2007 |
| WANG Cong | Re: [-mm Patch] drivers/net/wireless/b43/main.c: fix an ...
OK. I look through Jonathan's patch[1], but didn't find a proper tag
as you suggested. I think the "Reported-by:" tag may be appropriate,
as the above.
So, we need a "Reported-by:" tag, Jonathan. Could you please consider
to add it into your patch? I didn't see it in -mm1 tree or I can give
you a patch.
CC: Jonathan Corbet <corbet@lwn.net>
Thanks!
[1] http://lkml.org/lkml/2007/10/11/255
--
May the Source Be With You.
-
| Oct 15, 6:33 am 2007 |
| Larry Finger | Re: [-mm Patch] drivers/net/wireless/b43legacy/main.c: i ...
I sent the equivalent patch to John Linville yesterday.
Larry
-
| Oct 15, 8:03 am 2007 |
| WANG Cong | [-mm Patch] drivers/net/wireless/b43/main.c: fix an unin ...
Fix an uninitialized variable in drivers/net/wireless/b43/main.c::b43_start().
From: Adrian Bunk <bunk@kernel.org>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
---
drivers/net/wireless/b43/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.23-mm1/drivers/net/wireless/b43/main.c
===================================================================
--- linux-2.6.23-mm1.orig/drivers/net/wireless/b43/main.c
+++ ...
| Oct 15, 4:34 am 2007 |
| WANG Cong | [-mm Patch] drivers/net/wireless/b43legacy/main.c: initi ...
Initialize "err" in drivers/net/wireless/b43legacy/main.c::b43legacy_start()
in case of returning an uninitialized value.
From: Adrian Bunk <bunk@kernel.org>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
---
drivers/net/wireless/b43/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.23-mm1/drivers/net/wireless/b43legacy/main.c
===================================================================
--- ...
| Oct 15, 4:59 am 2007 |
| Adrian Bunk | Re: [-mm Patch] drivers/net/wireless/b43/main.c: fix an ...
A technical remark regarding these two patches:
These are your patches, not mine.
You can note formally or informally that I reported/forwarded these
issues, but I'm neither in a legal sense the author of these patches nor
am I in a technical sense responsible for their correctness [1], and a
cu
Adrian
[1] they might or might not be correct (I don't know)
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain ...
| Oct 15, 5:56 am 2007 |
| David Miller | Re: [2.6 patch] __inet6_csk_dst_store(): fix check-after-use
From: Noriaki TAKAMIYA <takamiya@po.ntts.co.jp>
Patch applied, thanks everyone!
-
| Oct 15, 1:38 am 2007 |
| Mauro Carvalho Chehab | Re: [2.6 patch] ivtv: fix NULL dereference
I'm applying it. I prefer to handle the fix changesets first, in
separate requests.
Later, I'll pull from your ivtv tree, together with the changesets
you're working for 2.6.25.
Btw, as I've received the patch via Adrian's e-mail, I've changed your
tag to "Reviewed-by".
Cheers,
Mauro
-
| Oct 15, 11:01 am 2007 |
| Kok, Auke | Re: [2.6 patch] e1000e/ethtool.c: fix error checks
I'll forward this to Jeff,
thanks.
Auke
-
| Oct 15, 9:20 am 2007 |
| David Miller | Re: drivers/net/niu.c: possible array overflows
From: Adrian Bunk <bunk@kernel.org>
Thanks for the report Adrian, I'll fix it like this:
commit 503211a947ab13fb44d920f78f1e19057efc277f
Author: David S. Miller <davem@sunset.davemloft.net>
Date: Mon Oct 15 01:36:24 2007 -0700
[NIU]: Fix write past end of array in niu_pci_probe_sprom().
Noticed by Coverity checker and reported by Adrian Bunk.
Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index ...
| Oct 15, 1:36 am 2007 |
| Paul Moore | Re: [PATCH] Version 7 (2.6.23) Smack: Simplified Mandato ...
The how/why of the packet rejection probably isn't all that important, but the
most likely scenario based on the ICMP error code is that the router simply
does not know about the CIPSO IP option type and is dropping the packet as a
result. I'd be very surprised to see a standard router in general use which
has policy to perform packet level access control using CIPSO options/labels.
--
paul moore
linux security @ hp
-
| Oct 15, 8:12 am 2007 |
| Alan Stern | Re: [linux-usb-devel] usb+sysfs: duplicate filename 'bIn ...
I have tried several times to duplicate this, most recently under
2.6.23-mm1. But nothing goes wrong; the error messages don't appear.
You may have to do your own debugging. Try adding printk statements to
usb_create_sysfs_intf_files() and usb_remove_sysfs_intf_files() so you
can tell when they get called.
Alan Stern
-
| Oct 15, 11:38 am 2007 |
| Dave Young | Re: usb+sysfs: duplicate filename 'bInterfaceNumber'
Hi,
I have encountered the same problem which was reported in
http://lkml.org/lkml/2007/9/29/45
For the first one "usbcore duplicated sysfs filename" , I have submit
a patch to fix it.
For the "bInterfaceNumber" one, I have no idea, the same problem still
-
| Oct 14, 10:57 pm 2007 |
| Gabriel C | Re: [PATCH 0/3] debloat aic7xxx and aic79xx drivers
Works fine for me tested on :
03:0e.0 SCSI storage controller [0100]: Adaptec AIC-7892P U160/m [9005:008f] (rev 02)
Gabriel
-
| Oct 15, 6:53 am 2007 |
| Denys Vlasenko | Re: [PATCH 0/3] debloat aic7xxx and aic79xx drivers
I'd appreciate that.
Do you, by any chance, use aic94xx driver too (drivers/scsi/aic94xx/*)?
I am a desktop Linux user, so far I don't use suspend at all. Sorry.
--
vda
-
| Oct 15, 4:25 am 2007 |
| Ralf Baechle | Re: -git mips defconfig compile error
The logo.c bit I've sent out a few weeks ago so I'm just waiting for that
patch to resurface at the other end of the wormhole.
The jazzsonic breakage was caused by the not very well done "[NET]:
Introduce and use print_mac() and DECLARE_MAC_BUF()" patch aka
0795af5729b18218767fab27c44b1384f72dc9ad.
(No need to mail me about build failures of default configurations; there
is an autobuilder building them regularly ...)
Ralf
-
| Oct 15, 2:55 am 2007 |
| Maciej W. Rozycki | Re: -git mips defconfig compile error
Hmm, I would have waited for this to happen before committing the change
depending on it not to keep things known-broken then... That's what I do
with my bits, e.g. I have an update to platform code waiting till
sb1250-mac.c changes come over here.
Maciej
-
| Oct 15, 9:19 am 2007 |
| Ralf Baechle | Re: -git mips defconfig compile error
Na, much more trivial. After a little looking into what went wrong I
found that I meant to strip only the jazzsonic segment because of another
jazzsonic patch from Fleedwood. But I stripped the logo.c bit as well.
Ralf
-
| Oct 15, 10:45 am 2007 |
| James Bottomley | Re: [PATCH] git scsi misc include fix
I've added linux-scsi which should be cc'd on all SCSI issues.
I don't quite believe this, though. The requirement for struct
scatterlist is the same before and after the gid scsi-misc patch. If
the compile fails with git-scsi-misc because of a missing scatterlist
include, it should also fail with vanilla 2.6.23 without the git
patch ... could you see if you can find out why it doesn't?
thanks,
James
-
| Oct 15, 4:35 pm 2007 |
| Paul Jackson | Re: [PATCH] git scsi misc include fix
Not so. The git-scsi-misc.patch in 2.6.23-mm1 clearly adds the line:
struct scatterlist sense_sgl;
as part of the added struct scsi_eh_save in scsi/scsi_eh.h.
This bit me while I was doing a bisection on 2.6.23-mm1, for another
problem, in git-sched, which is discussed in the lkml thread:
git-sched patch won't boot on SN arch, 2.6.23-mm1
This is using sn2_defconfig. The full 2.6.23-mm1 patch set builds ok,
because another patch, git-block.patch as I recall, ...
| Oct 15, 5:08 pm 2007 |
| Paul Jackson | Re: [PATCH] git scsi misc include fix
I suspect you're correct, yes.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
-
| Oct 15, 6:24 pm 2007 |
| Andrew Morton | Re: [PATCH] git scsi misc include fix
On Mon, 15 Oct 2007 19:35:30 -0400
git-scsi-misc adds this:
struct scsi_eh_save {
int result;
enum dma_data_direction data_direction;
unsigned char cmd_len;
unsigned char cmnd[MAX_COMMAND_SIZE];
void *buffer;
unsigned bufflen;
unsigned short use_sg;
int resid;
struct scatterlist sense_sgl;
};
which will not compile unless the includer has earlier included
scatterlist.h.
-
| Oct 15, 4:55 pm 2007 |
| James Bottomley | Re: [PATCH] git scsi misc include fix
Ah, right, sorry ... on the ball now. I thought you were saying that
the scsi_error.c compilation was failing. In that case, the correct fix
is actually to move the scatterlist include from scsi_error.c (where the
scatterlist was originally used locally) into scsi_eh.h, like this.
James
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index d29f846..ebaca4c 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -24,7 +24,6 @@
#include ...
| Oct 15, 6:07 pm 2007 |
| Ingo Molnar | [patch] usb: fix ssb_ohci_probe() build bug
the patch below fixes this for me.
Ingo
----------------------->
Subject: usb: fix ssb_ohci_probe() build bug
From: Ingo Molnar <mingo@elte.hu>
fix ssb_ohci_probe() build bug:
drivers/built-in.o: In function `ssb_ohci_probe':
ohci-hcd.c:(.text+0xbff39): undefined reference to `ssb_device_enable'
ohci-hcd.c:(.text+0xbff6f): undefined reference to `ssb_admatch_base'
ohci-hcd.c:(.text+0xbff8b): undefined reference to `ssb_admatch_size'
ohci-hcd.c:(.text+0xbffe5): undefined ...
| Oct 15, 10:43 am 2007 |
| Ingo Molnar | Re: [bug] usb build failure, latest -git
there's a new build failure with latest -git:
drivers/built-in.o: In function `ssb_ohci_probe':
ohci-hcd.c:(.text+0xbff39): undefined reference to `ssb_device_enable'
ohci-hcd.c:(.text+0xbff6f): undefined reference to `ssb_admatch_base'
ohci-hcd.c:(.text+0xbff8b): undefined reference to `ssb_admatch_size'
ohci-hcd.c:(.text+0xbffe5): undefined reference to `ssb_device_disable'
[...]
config attached.
Ingo
| Oct 15, 3:53 am 2007 |
| Michael Buesch | Re: [bug] usb build failure, latest -git
I'm not sure why this happens. SSB is Y and ohci-hcd is also Y.
So why doesn't it find the syms?
--
Greetings Michael.
-
| Oct 15, 5:58 am 2007 |
| Ingo Molnar | [build bug] drivers/ssb build failure, latest -git
hm, it builds fine now. Weird - i'll double-check i got the right
config.
have triggered a new SSB build failure meanwhile:
drivers/built-in.o:: more undefined references to `pcmcia_access_configuration_register' follow
config attached.
Ingo
| Oct 15, 6:50 am 2007 |
| Michael Buesch | Re: [patch] usb: fix ssb_ohci_probe() build bug
Acked-by: Michael Buesch <mb@bu3sch.de>
--
Greetings Michael.
-
| Oct 15, 11:08 am 2007 |
| Ingo Molnar | [patch] ssb: fix build failure
the patch below fixes it for me. PCI seems to have a similar bug as
well.
Ingo
----------------->
Subject: ssb: fix build failure
From: Ingo Molnar <mingo@elte.hu>
fix build failure if PCMCIA=m but SSB=y:
(fix symmetric bug for PCI too.)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
drivers/ssb/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux/drivers/ssb/Kconfig
===================================================================
--- ...
| Oct 15, 6:56 am 2007 |
| Ingo Molnar | Re: [build bug] drivers/ssb build failure, latest -git
find attached another config that reproduces the build failure above.
i think the reason is this:
CONFIG_SSB=m
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_SSB=y
Ingo
-
| Oct 15, 10:38 am 2007 |
| Jens Axboe | Re: [PATCH] Update Jens Axboe's email in Documentation/*
Thanks, I'll add it to the patch list. I guess people often look in the
documentation for email addresses, so it's nice to keep it current.
--
Jens Axboe
-
| Oct 15, 2:42 am 2007 |
| Thomas Gleixner | Re: x86: merge some trivially mergeable headers
Roland,
I meant the patch, which was posted by Brian earlier, which had some
overlap with yours.
I applied both and fixed the Kbuild entries as well. On top of those I
run my "find-duplicates-harder" script and fixed another bunch.
You can find the current state of affairs in the "cleanup" branch of
my x86 git tree.
Thanks,
tglx
-
| Oct 15, 5:54 am 2007 |
| Linus Torvalds | Re: [git pull] Input updates for 2.6.24-rc0
Thanks, pulled and pushed out.
Can you check that applesmc looks sane after the merge conflict? The
conflict itself looked pretty trivial, and it compiles for me, but I'd
still like somebody who knows those things to double-check..
Linus
-
| Oct 15, 1:43 pm 2007 |
| Dmitry Torokhov | Re: [git pull] Input updates for 2.6.24-rc0
*ping*
--
Dmitry
-
| Oct 15, 1:28 pm 2007 |
| Dmitry Torokhov | Re: [git pull] Input updates for 2.6.24-rc0
Yep, it looks good from here.
Thanks.
--
Dmitry
-
| Oct 15, 2:12 pm 2007 |
| Dmitry Torokhov | Re: [PATCH] Input: Refactor evdev 32bit compat to be sha ...
Hi Philip,
Looks very good, thank you. I just think that we should keep
input_compat.h in drivers/input instead of include/linux and never
show to anyone ;). I will change it on my side.
--
Dmitry
-
| Oct 15, 6:13 am 2007 |
| Julian Calaby | Re: What still uses the block layer?
Umm, not quite, from my experiences with pre-production wireless
drivers, (another story, another time) fancy stuff is being done in
udev to make sure that your gigabit card is always assigned to eth0.
--
Julian Calaby
Email: julian.calaby@gmail.com
-
| Oct 15, 2:06 am 2007 |
| Luben Tuikov | Re: What still uses the block layer?
I wasn't referring to him specifically. He also stepped into the WWN
-
| Oct 15, 1:37 am 2007 |
| Rob Landley | Re: What still uses the block layer?
Well, triggered by. (This documentation stuff makes me poke into corners of
the kernel I ordinarily otherwise avoid, for various reasons. I don't
currently have the luxury of saying "beats me how this bit works, not my
Sorry about that. My social skills are finite, I tend to exhaust them when I
do too much at once. :(
This discussion has clarified for me that my objection isn't the scsi layer
itself, it's the /dev/sd? namespace combining devices that would otherwise
be /dev/hda, ...
| Oct 15, 2:26 am 2007 |
| Rob Landley | Re: What still uses the block layer?
This is where I hit my ad hominem attack quota and stopped reading.
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
-
| Oct 15, 2:09 pm 2007 |
| david | Re: What still uses the block layer?
I think a close analogy would be that after a partition is mounted you
don't need to know the path to the hard drive, and that is already true
today. when you mount a drive (or assign and IP address to a network
I also have a 3TB raid I built at home, it uses 3ware cards and a dozen
300G IDE drives. since the 3ware driver is classified as SCSI if a drive
fails all the other drives get renumbered on the next boot and it's
painful to figure out which drive has a problem. I have to reboot ...
| Oct 15, 7:51 pm 2007 |
| Wilfried Klaebe | Re: What still uses the block layer?
I have udev here, and it generates several useful symlinks.
/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0-part2 will always point
to the second primary partition of the IDE master on the first IDE
channel here, be there as many USB sticks as there may.
(But still I'd like it if it wasn't named "scsi-0:0:0:0", because the
I don't think there was any intent to merge namespaces. It "just happened"
as a byproduct of having sata/pata use the scsi subsystem.
Wilfried
--
Irgendwas ist ja ...
| Oct 15, 1:29 pm 2007 |
| Stefan Richter | Re: What still uses the block layer?
Ah, so it was about your documentation work. I already forgot the
context of your previous inquiries. Alas the tone of them already did
some damage, leading to responses like these.
...
The Linux SCSI subsystems don't consume, they provide services; nowadays
not only for SCSI hardware and SCSI protocols but also for a number of
subsystems whose tasks are similar enough to SCSI subsystems to make the
SCSI core and upper SCSI layer useful to them too.
BTW:
| Now that IDE disks have been ...
| Oct 14, 10:44 pm 2007 |
| david | Re: What still uses the block layer?
this is a nice option, and since most of the existing userspace code is
looking for /dev/sd*, /dev/sr*, etc this should be able to work for new
installs with no userspace changes. Since it would break existing installs
it would need to be optional.
one other option that could be considered (and I do realize I'm bringing
up flame-bait here) is that drivers that have fixed addresses could offer
up a device name that include that address.
i.e. depending on the config option a device could ...
| Oct 15, 8:06 pm 2007 |
| Rob Landley | Re: What still uses the block layer?
I was just trying to use the strangeness in a large distributor's first
attempt at this functionality as an evidence that it's apparently not trivial
to get even the common cases right under the new model, while the common
cases used to be trivial to get right under the old model. (Or at least it
seemed so to me.)
I think I've exhausted this line of argument, though, and will stop now.
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
-
| Oct 15, 3:54 pm 2007 |
| Jeff Garzik | Re: What still uses the block layer?
WWN was added in ATA-7, AFAICS.
However, I've seen quite a few ATA-7 devices that do not bother to fill
it in. I wonder if ATA-8 device firmwares will act with similar
slackness. :)
Jeff
-
| Oct 15, 10:44 am 2007 |
| Stefan Richter | Re: What still uses the block layer?
Low-level networking drivers suggest a default interface name (per
interface or as a template like eth%d into which the networking core
inserts a lowest spare number). Userspace can rename interfaces, but
nevertheless it's nice to have different default kernel names for
ethernet, wlan etc..
Could low-level SCSI drivers provide similar name templates which give a
hint on the transport involved? It's a bit more difficult as with
networking interfaces though because
- SCSI devices can have ...
| Oct 15, 10:10 am 2007 |
| Theodore Tso | Re: What still uses the block layer?
SG_EMULATED_HOST was added before Linux 2.4, at least six or seven
years ago. Back then the migration of ATA devices through the various
versions the ATAPI specification and then into SATA was very early in
its evolution, and back then, yes there were people who considered
anything that didn't use the honking huge parallel SCSI cables not
"real" SCSI. Over time, that distinction at both the physical
connector level and logical level has declined to the point of almost
non-existence. It's ...
| Oct 15, 6:21 am 2007 |
| Rob Landley | Re: What still uses the block layer?
No, it doesn't. James Bottomley has been exceedingly polite and helpful, as
were several other people on the linux-scsi list when I asked them about this
stuff back in August.
Religion, politics, and anything remotely related to hotplug appear to be
topics to avoid in polite company if you want it to remain polite. (My
gripes with scsi mostly have to do with device enumeration. My attempts to
use sysfs also have to do with device enumeration. I've spotted a trend
here.)
Rob
-- ...
| Oct 14, 11:51 pm 2007 |
| Matthew Wilcox | Re: What still uses the block layer?
But you still have to spin up the disc to read the label (which seems
like a legitimate complaint to me).
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
-
| Oct 15, 11:00 am 2007 |
| Loïc Grenié | Re: What still uses the block layer?
How do you define real SCSI ? The definition of SCSI in the kernel is
"a device that accept the SCSI command set" (more precisely "a
suitably large subset a the SCSI command set". It looks as if you
definition of SCSI is "a device that is sold with written SCSI on the
box and that attaches to a card with SCSI written on the box"; is it
correct ?
The host is the expansion card that connects the device to the
motherboard. If it is emulated this means that it is not a ...
| Oct 15, 3:32 am 2007 |
| Christoph Hellwig | Re: What still uses the block layer?
The ub driver is a really dumb piece of shit. It only drivers usb storage
devices using a scsi protocol set, and duplicates the scsi stack in a very
suboptimal way.
-
| Oct 15, 1:52 am 2007 |
| Arjan van de Ven | Re: What still uses the block layer?
On Mon, 15 Oct 2007 03:36:15 -0500
that's a choice Ubuntu made in their udev scripts... if you don't like
it, complain to them.
I'm surprised you would even need to care about what device name things
are though.... with mount-by-label (deployed for a bunch of years now
in most distros), and various helpful links like /dev/cdrom ....
anyway.. if you don't like your distros udev configuration, lkml is the
wrong forum.
-
| Oct 15, 7:00 am 2007 |
| Greg KH | Re: What still uses the block layer?
Proposals on how to do this would be gladly reviewed.
But again, please remember that these USB devices are really SCSI
devices. Same for SATA devices. There is a reason they are using the
Use mount-by-label instead, it's much saner and handles device name
movement just fine (as does the UUID method that you seem to hate.)
Look in /dev/disk/ for a wide range of options that you have in which to
choose how to pick your block devices.
Oh, and this seems like a very Ubuntu specific rant, ...
| Oct 15, 10:25 am 2007 |
| Rob Landley | Re: What still uses the block layer?
Ok, I'll bite. If it's all "real" scsi, why does ioctl(SG_EMULATED_HOST)
They're the same thing?
Do you mean that on a system with both, going:
ifconfig eth1 66.92.53.140
ifconfig ppp 192.168.0.42
Would be functionally equivalent to:
ifconfig eth1 192.168.0.42
ifconfig ppp 66.92.53.140
So if on one boot the addresses are assigned the first way, and upon reboot
they're assigned in the second way by exact the same set of commands... well
that's not IMPORTANT, is it? (Or ...
| Oct 15, 1:04 am 2007 |
| Rob Landley | Re: What still uses the block layer?
I remember building a 2.4 kernel, statically linking in all the drivers, and
getting the ethernet devices showing up in a reliable order for years. Where
does the need for fancy stuff come in?
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
-
| Oct 15, 3:08 am 2007 |
| Theodore Tso | Re: OOM killer gripe (was Re: What still uses the block ...
About 6 weeks ago, on a 2.6.23-rc kernel, I accidentally typed "make
-j", and left off the 4 before I hit the return key. About 2-3
minutes later, the box locked pretty tight. I managed to switch to a
VT console before I lost total control of X (took many, many minutes
to do the switch), but after many minutes, managed to get logged into
the console, but I wasn't able to get a ps command to complete so I
could start killing processes. (I probably should have just done a
"killall make" right ...
| Oct 15, 4:40 am 2007 |
| david | Re: What still uses the block layer?
do PCI devices reorder their bus numbers spontaniously, or only if you
I have, at least the response was to tell me how to kill this 'feature'
even if they won't change it.
David Lang
-
| Oct 15, 7:54 pm 2007 |
| Nick Piggin | OOM killer gripe (was Re: What still uses the block layer?)
I hate to go completely offtopic here, but disks are so incredibly
slow when compared to RAM that there is really nothing the kernel
can do about this. Presumably the job will finish, given infinite
time.
How much swap do you have configured? You really shouldn't configure
so much unless you do want the kernel to actually use it all, right?
Because if we're not really conservative about OOM killing, then the
user who actually really did want to use all the swap they configured
gets angry ...
| Oct 15, 6:37 am 2007 |
| Theodore Tso | Re: What still uses the block layer?
True, but most manufacturers try to make the serial number unique for
their own reasons (like warrantee service), and you can have
manufacturing errors with MAC assignment just as easily as you can
with serial numbers.
I still remember when SGI shipped MIT 20 SGI Indy pizza boxes that all
had the same MAC addresses (that we knew about --- we found out
because all 20 were installed on the same subnet). That was a mildly
entertaining bug to track down.... especially since IIRC, Irix at ...
| Oct 15, 6:35 am 2007 |
| Rob Landley | Re: What still uses the block layer?
Sorry about that. Not my intent. I was aiming more at "I'm trying to
document this and I don't understand how it works at all, or why it does
things this way. It seems backwards from what I would expect."
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
-
| Oct 15, 2:51 pm 2007 |
| Eric W. Biederman | Re: OOM killer gripe (was Re: What still uses the block ...
No.
There are three basic swapping scenarios.
- Pushing unused data out of ram
- Swapping
- Thrashing
To effectively swap you need SWAP > RAM because after a little while of
swapping all of your pages in RAM should be assigned a location in the
page cache.
I have not heard of many people swapping and not thrashing lately.
I think part of the problem is that we do random access to the swap
partition which makes us seek limited. And since the number of
seeks per unit time has been ...
| Oct 15, 8:55 pm 2007 |
| Rob Landley | Re: OOM killer gripe (was Re: What still uses the block ...
I gave it about half an hour, then it locked solid and stopped writing to the
disk at all. (I gave it another 5 minutes at that point, then held down the
power button.)
Two words: "Software suspend". I've actually been thinking of increasing it
I tend to lower "swappiness" and when that happens all sorts of stuff goes
weird. Software suspend used to say says it can't free enough memory if I
put swappiness at 0 (dunno if it still does). This time the OOM killer never ...
| Oct 15, 2:52 am 2007 |
| Greg KH | Re: What still uses the block layer?
Because PCI devices reorder their bus numbers all the time. And we have
ethernet devices hanging off of USB connections now (yes, even built-in
to the machine), and we have network connections on other hot-pluggable
busses (remember, PCI is hot pluggable.)
So, the distros need to name network devices in a persistant way, that
is why the distros now do this. If you don't like the distro doing it,
complain to them, it's not a kernel issue :)
thanks,
greg k-h
-
| Oct 15, 10:33 am 2007 |
| James Bottomley | Re: What still uses the block layer?
OK, so could we get back to the original discussion? The question I
think you meant to ask is "does SCSI use the block layer, and if so;
how?"
The answer is yes (just do an ls /sys/block on any scsi machine). The
how is that it bascially uses the block layer as a service library (i.e.
most SCSI services are built on top of those already provided by block).
The email you cited was basically from our one area of confusion: SCSI
and block both provide services to decode the SG_IO ioctl. This ...
| Oct 15, 6:10 am 2007 |
| Alan Cox | Re: What still uses the block layer?
ATA8 at the moment looks set to add a true "MAC" or "WWN" type identifier
to each device.. Right now model/serial is not always unique.
-
| Oct 15, 6:29 am 2007 |
| Matthew Wilcox | Re: What still uses the block layer?
Ah, but it could. If you had more than one IDE controller (which is
even possible on laptops; the Fujitsu P7120 is one that I'm familiar
with that has more than one), the initialisation order *of the
It's not something anyone particularly set out to do, it's just how
it worked out. It was justified by saying "ok, this goes from a 99%
solution to a 96% solution, but there's 100% solution called uuids".
I don't particularly agree with this line of argumentation, but it did
hold sway.
-- ...
| Oct 15, 9:08 am 2007 |
| Rob Landley | Re: What still uses the block layer?
For the embedded space, the ability to configure out the scsi layer is
interesting from a size perspective. I bookmarked that a while back, but had
forgotten about it. Thanks for the reminder.
For the desktop I don't object to the scsi layer. I object to the naming.
Merging a half-dozen different types of devices into a single name space, and
then warning us that the order they appear within that namespace could be the
result of race conditions... Seems like an artificially inflated ...
| Oct 15, 1:36 am 2007 |
| Alan Cox | Re: What still uses the block layer?
They *are* SCSI devices. USB storage is a SCSI over USB transport. ATAPI
is a SCSI over ATA transport. SAS is much the same thing, as is FC, and
it continues.
With the exception of ATA disk for historical reasons SCSI essentially
For the emedded CF using world we could do with a truely dumb ATA only CF
driver, possibly even with pure polled support that used neither the IDE
or the ATA layer.
Alan
-
| Oct 15, 6:08 am 2007 |
| Nick Piggin | Re: OOM killer gripe (was Re: What still uses the block ...
Kernel doesn't know that you want to use it for suspend but not
If you can work out where things are spinning/sleeping when that happens,
along with sysrq+M data, then it could make for a useful bug report. Not
entirely helpful, but if it is a reproducible problem for you, then you
might be able to get that data from outside X.
-
| Oct 15, 8:08 am 2007 |
| Greg KH | Re: What still uses the block layer?
If you hate USB storage devices using scsi, please use the ub driver,
When did usb-storage devices ever show up as /dev/usb0? USB flash disks
are really SCSI devices, look at the USB storage spec for proof of that.
thanks,
greg k-h
-
| Oct 14, 11:00 pm 2007 |
| Douglas Gilbert | Re: What still uses the block layer?
SG_EMULATED_HOST was present when I started maintaining the
the sg driver in 1997. Back then some folks (one German name
comes to mind) toyed with the idea of sending SCSI Parallel
Interface (SPI) messages through a pass through interface.
SPI messages are obviously transport specific and hence any
app trying to send them needed to ascertain what the transport
was. There were really only two to choose from at the time
(in linux): SPI and the ATA Packet Interface (ATAPI).
If SG_EMULATED_HOST ...
| Oct 15, 7:46 am 2007 |
| Jeff Garzik | Re: What still uses the block layer?
/somewhat/ true I'm afraid: libata uses the SCSI layer for ATAPI
devices because they are essentially bridges to SCSI devices. It uses
the SCSI layer for ATA devices because the SCSI layer provided a huge
amount of infrastructure that would need to have been otherwise
duplicated, /then/ massaged into coordinating between <jgarzik's ATA
layer> and <SCSI layer> when dealing with ATAPI.
There is also a detail that was of /huge/ value when introducing a new
device class: distro ...
| Oct 15, 11:46 am 2007 |
| Matthew Garrett | Re: What still uses the block layer?
Keeping the naming as hda while changing the semantics (such as the
reduced number of partitions) would have been differently confusing. We
did look into keeping compatibility symlinks, but decided to just
transition everything to UUIDs instead.
--
Matthew Garrett | mjg59@srcf.ucam.org
-
| Oct 15, 11:56 am 2007 |
| Nelson, Shannon | RE: [PATCH] drivers/pci, drivers/dma: kill unused vars
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
FYI - this code gets heavily revised by ioat patches in -mm that Andrew
is planning on merging soon.
-
| Oct 15, 9:05 am 2007 |
| Jens Axboe | Re: [PATCH] drivers/block/cpqarray,cciss: kill unused var
Thanks Jeff, applied.
--
Jens Axboe
-
| Oct 15, 12:52 am 2007 |
| Jeff Garzik | Re: [git patches] IDE updates (part 2)
Thanks. Sorry about missing your CC on the libata-wide ata_link
changes. We should have poked the maintainers on that, for the drivers
we cannot build ourselves.
-
| Oct 15, 1:07 pm 2007 |
| Jeff Garzik | Re: [git patches] IDE updates (part 2)
ACK from me too... ARM folks?
-
| Oct 15, 12:54 pm 2007 |
| Russell King | Re: [git patches] IDE updates (part 2)
Will test tomorrow/Wednesday.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
| Oct 15, 12:58 pm 2007 |
| Dmitry Torokhov | Re: [patch 2/8] m68k: Atari keyboard ACIA driver cleanup
Looks good, thank you Geert. I understand Linus will merge this...
--
Dmitry
-
| Oct 15, 6:19 am 2007 |
| Dmitry Torokhov | Re: [patch 1/8] m68k: Atari input drivers cleanup
Hi Geert,
I'd be more happy if we returned real error reported by
input_register_device() instead of substituting it with -ENOMEM.
--
Dmitry
-
| Oct 15, 6:24 am 2007 |
| Gregory Haskins | Re: [PATCH 2/7] RT: Wrap the RQ notion of priority to ma ...
Ok. Keep in mind the spirit of the patch was to wrap the setting so we
didn't need more #ifdefs later, not so much to make that define. I can
clean up the ifdef of ifdef part no problem. I was just trying to keep
it one place to make the inevitable future change to share with non
-
| Oct 15, 12:57 pm 2007 |
| Steven Rostedt | Re: [PATCH 4/7] RT: Add support for updating push-rt pri ...
On Fri, 12 Oct 2007, Gregory Haskins wrote:
Again no description.
-
| Oct 15, 10:47 am 2007 |
| Steven Rostedt | Re: [PATCH 3/7] RT: Initialize the priority value
On Fri, 12 Oct 2007, Gregory Haskins wrote:
hmm, You forgot a description.
-
| Oct 15, 10:46 am 2007 |
| Steven Rostedt | Re: [PATCH 1/7] RT: Add a per-cpu rt_overload indication
--
Acked-by: Steven Rostedt <rostedt@goodmis.org>
This patch seems reasonable to me. I'll pull it into the queue unless
there's any NACKs.
-
| Oct 15, 10:42 am 2007 |
| Steven Rostedt | Re: [PATCH 2/7] RT: Wrap the RQ notion of priority to ma ...
--
Yes, I do want it conditional. But only because we want to test it first,
so the condition is really temporary. I agree with Peter that this should
be for non PREEMPT_RT as well, and I'll work on a patch for upstream.
But these defines setting defines is just ugly.
-
| Oct 15, 10:45 am 2007 |
| Steven Rostedt | Re: [PATCH 5/7] RT: Add support for low-priority wake-up ...
--
Well if this fails to terminate, then we have a major bug.
Perhaps we can add something like this:
{
int count = NR_CPUS * 2;
while (push_rt_tasks(this_rq) && count--)
;
BUG_ON(!count);
}
Since we should do it really at most CPU times, and I added a CPU * 2 just
to be safe that we don't have a unrealistic point of moving tasks onto
other CPUS and have them finish before we finish this loop.
But really, I don't think we need to worry too much about that while ...
| Oct 15, 11:57 am 2007 |
| Steven Rostedt | Re: [PATCH 5/7] RT: Add support for low-priority wake-up ...
--
Loop conditions like this must be written as:
while (push_rt_task(this_rq))
;
So we don't accidently put something inside the loop if we forget to add
the semicolon, like:
while (push_rt_task(this_rq)
do_something_not_expected_to_loop();
Of course you end your function after that and thus we would get an
compile error if the semicolon were to be missing. But we might add
Hmm, maybe I should put that mask into the find_lowest_cpu function.
I think the question ...
| Oct 15, 11:05 am 2007 |
| Gregory Haskins | Re: [PATCH 6/7] RT: Select tasks based on relative affinity
After thinking about this over the weekend, the task_cpu optimization
doesn't make sense. It made sense in my original design before I
integrated with Steve's series, but not here. I think the second
optimization (this_cpu) still makes sense though, so I will update this
-
| Oct 15, 1:08 pm 2007 |
| Gregory Haskins | Re: [PATCH 5/7] RT: Add support for low-priority wake-up ...
I'm not sure I really get what the difference is, but I don't feel
That was a leftover from before we had the double_lock inside the search
Well, only that it has a few efficiency related advantages (1) to doing
this check before the activate() call. You are correct that either
place would yield correct behavior.
(1) -> We can save the overhead of an unnecessary activate/deactivate
cycle, and avoid placing the system (even if only briefly) into overload
which will potentially affect ...
| Oct 15, 12:54 pm 2007 |
| Lennart Poettering | Re: [RFC][PATCH] sched: SCHED_FIFO watchdog timer
Indeed! Having this in the kernel would allow us to enable RT
scheduling for PulseAudio by default without bad effects. I was thinking about
adding some kind of babysitting process to userspace -- but doing this as
an RLIMIT in the kernel strikes me a much better idea!
I think it would make a lot of sense to make the API very similar to
RLIMIT_CPU, i.e. also send out SIGXCPU and SIGKILL, with the single
difference that RLIMIT_CPU sends out a signal depending on the total
CPU time used for the ...
| Oct 15, 7:25 am 2007 |
| Kay Sievers | Re: [RFC][PATCH] sched: SCHED_FIFO watchdog timer
Great, this looks very promising. Thanks for doing this.
Kay
-
| Oct 15, 2:32 pm 2007 |
| Dmitry Adamushko | Re: [RFC][PATCH] sched: SCHED_FIFO watchdog timer
Why only SHCED_FIFO and not SCHED_RR?
I guess, put_prev_task() / set_curr_task() should be called (for the
case of task_running(p)) to make it group-scheduler-friendly (as it's
done e.g. in sched_setscheduler()).
(normilize_task() should probably do the same)
--
Best regards,
Dmitry Adamushko
-
| Oct 15, 6:26 am 2007 |
| Peter Zijlstra | Re: [RFC][PATCH] sched: SCHED_FIFO watchdog timer
Because SCHED_FIFO is easier, _RR is for later. It was mostly an RFC to
Right, that is where I copied from, I'll pull the functionality into a
single function and make this and the sysrq stuff use it.
Thanks!
| Oct 15, 6:57 am 2007 |
| Glauber de Oliveira ... | Re: [PATCH RFC 2/2] paravirt: clean up lazy mode handling
Wouldn't it be better to WARN_ON, and simply not entering lazy mode?
I am concerned that this is 32-bit specific.
But hey: We could wrap it here, but the best solution may be just to
define this macro for 64-bit, and make it everyone benefits. So yeah,
this is a concern here, but I don't think anything should be changed
in this patch to address it so... so... ok ;-)
--
Glauber de Oliveira Costa.
"Free as in Freedom"
http://glommer.net
"The less confident you are, the more serious you ...
| Oct 15, 6:54 pm 2007 |
| Rusty Russell | Re: [PATCH RFC 2/2] paravirt: clean up lazy mode handling
This is really nice. Thanks Jeremy!
This will conflict a little with my own churn (file movement), but no great
drama if it goes in soon.
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
-
| Oct 15, 5:04 pm 2007 |
| Jeff Garzik | Re: [git patches] libata update
Can be used by any controller that supports SNotification (or is able to
capture and parse the raw FIS's).
And FWIW, Tejun's PMP work also uses a few bits of same async-notify stuff.
I agree with your review items, and will look at those if others don't
beat me to it.
Jeff
-
| Oct 15, 3:31 pm 2007 |
| Andy Whitcroft | Re: [PATCH] checkpatch: Fix line number reporting
Ok I don't understand why the rest of the lines are a problem? At least
with emacs the extra context lines are just ignored right? Are you
trying to use this as a summary?
-apw
-
| Oct 15, 11:21 am 2007 |
| Kamalesh Babulal | [BUG] Linux 2.6.23.1 - Open Firmware exception handler invoked
Hi,
The Open Firmware exception handler is begin invoked, on power5 lpar.
boot: 2.6.23.1
Please wait, loading kernel...
Allocated 03500000 bytes for kernel @ 01c00000
Elf64 kernel loaded...
Loading ramdisk...
ramdisk loaded 0020d000 @ 06b00000
DEFAULT CATCH!, exception-handler=fff00300
at %SRR0: c00000000202705c %SRR1: 8000000000003002
Open Firmware exception handler entered from non-OF code
Client's Fix Pt Regs:
00 0223100003080000 00000000018bfac0 0000000004bbeaf8 ...
| Oct 15, 4:08 am 2007 |
| Arnd Bergmann | Re: [2.6.24 PATCH 02/25] dm io:ctl use constant struct size
It's a corner case of some sort, as DM uses ioctl numbers differently
from most subsystems by splitting to code from the size argument
during processing. Your change is certainly not an _incompatible_
change to the ABI, but 32 bit binaries compiled against the new
headers will use different ioctl numbers from those built against
older headers.
This may break other code that expects a specific number, even
if your handler does not care. The old compat code handles both
variants (no variable ...
| Oct 15, 12:34 am 2007 |
| David Chinner | Re: Interaction between Xen and XFS: stray RW mappings
Sorry - I should have been more precise - vmap should never be used in
performance critical paths on default configs. Log recovery will
trigger vmap/vunmap usage, so this is probably what you are seeing.
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
-
| Oct 14, 9:25 pm 2007 |
| Nick Piggin | Re: Interaction between Xen and XFS: stray RW mappings
Fair enough, so we have to have this lazy tlb flush hook for
Xen/PAT/etc. I don't think it should be much problem to
Hmm, OK. It looks like DRM vmallocs memory (which gives highmem).
-
| Oct 15, 4:28 am 2007 |
| Jeremy Fitzhardinge | Re: Interaction between Xen and XFS: stray RW mappings
Hm, well I saw the problem with a filesystem made with mkfs.xfs with no
options, so there must be at least *some* vmapping going on there.
J
-
| Oct 14, 9:18 pm 2007 |
| Andi Kleen | Re: Interaction between Xen and XFS: stray RW mappings
> Hmm, OK. It looks like DRM vmallocs memory (which gives highmem).
I meant I'm not sure if it uses that memory uncached. I admit
not quite understanding that code. There used to be at least
one place where it set UC for an user mapping though.
-Andi
-
| Oct 15, 5:54 am 2007 |
| Nick Piggin | Re: Interaction between Xen and XFS: stray RW mappings
Yeah, it would be possible. The easiest way would just be to shoot down
all lazy vmaps (because you're doing the global IPIs anyway, which are
the expensive thing, at which point you may as well purge the rest of
your lazy mappings).
OK, I see. Because even though it is technically safe where we are
using it (because nothing writes through the mappings after the page
is freed), a corrupted guest could use the same window to do bad
vmap is slightly harder than kmap in some respects. ...
| Oct 15, 12:26 am 2007 |
| Andi Kleen | Re: Interaction between Xen and XFS: stray RW mappings
I think it happened for reads too. It is a little counter intuitive
because in theory the CPU doesn't need to write back non dirty lines,
but in the one case which took so long to debug exactly this happened
somehow.
At it is undefined for reads and writes in the architecture so
better be safe than sorry.
And x86 CPUs are out of order and do speculative executation
and that can lead to arbitary memory accesses even if the code
never touches an particular address.
Newer Intel CPUs have ...
| Oct 15, 4:07 am 2007 |
| Nick Piggin | Re: Interaction between Xen and XFS: stray RW mappings
Yes, as Dave said, vmap (more specifically: vunmap) is very expensive
because it generally has to invalidate TLBs on all CPUs.
I'm looking at some more general solutions to this (already have some
batching / lazy unmapping that replaces the XFS specific one), however
they are still likely going to leave vmap mappings around after freeing
the page.
We _could_ hold on to the pages as well, but that's pretty inefficient.
The memory cost of keeping the mappings around tends to be well under
1% ...
| Oct 14, 9:15 pm 2007 |
| Christoph Hellwig | Re: [xfs-masters] Re: Interaction between Xen and XFS: s ...
The iclogs are also vmapped, but they aren't unmapped until unmount so
this optimizations doesn't matter either.
-
| Oct 15, 1:31 am 2007 |
| David Chinner | Re: Interaction between Xen and XFS: stray RW mappings
With defaults - little effect as vmap should never be used. It's
only when you start using larger block sizes for metadata that this
becomes an issue. The CONFIG_XEN workaround should be fine until we
get a proper vmap cache....
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
-
| Oct 14, 9:11 pm 2007 |
| Nick Piggin | Re: Interaction between Xen and XFS: stray RW mappings
Is this true even if you don't write through those old mappings?
Is DRM or AGP then not also broken with lazy highmem flushing, or
I've been thinking that a simple debug mode could be a good idea.
Have a new field in the struct page to count the number of possible
unflushed mappings to the page so that things like PAT could go
BUG_ON appropriate conditions. Would that be helpful?
-
| Oct 15, 7:56 am 2007 |
| Andi Kleen | Re: Interaction between Xen and XFS: stray RW mappings
You're keeping vmaps around for already freed pages?
That will be a big problem for proper PAT support, which needs
to track all mappings to memory. It's not just a problem for Xen.
In fact I suspect it is already broken with DRM or AGP for example which
can use UC and WC mappings -- if you keep the mapping around and
DRM or AGP turns the page in another mapping uncacheable you're
creating an illegal cache attribute alias. These are known to occasionally
create cache corruptions on several ...
| Oct 15, 2:36 am 2007 |
| Andrew Morton | Re: [PATCH 5/7] IPMI: new NMI handling
On Fri, 12 Oct 2007 11:40:57 -0500
A preferred way of doing this would be to add a new CONFIG_IPMI_USE_IPMI in
arch/i386/Kconfig and arch/x86_64/Kconfig only, then use that in the ipmi
code.
-
| Oct 15, 2:53 pm 2007 |
| David Howells | Re: [PATCH] frv: Remove duplicate output of .exit.data
Probably.
David
-
| Oct 15, 1:43 pm 2007 |
| Maciej W. Rozycki | Re: [PATCH] frv: Remove duplicate output of .exit.data
Fair enough -- a quick test shows you are right. Wouldn't it deserve a
comment, though? I know hardly anybody dares looking into these scripts,
;-) but those who do, may not be sure this setup is intentional.
Maciej
-
| Oct 15, 8:27 am 2007 |
| hinko.kocevar@cetrta ... | Re: [irda-users] [PATCH] irlmp_unregister_link needs to ...
You're probably right since struct lsap_cb get inserted into the hashbin.
Regards,
Hinko
--
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar@cetrtapot.si
Http: www.cetrtapot.si
-
| Oct 15, 12:43 am 2007 |
| Andrew Morton | Re: apm system does not power off anymore
We break old machines at an unacceptably high (IMO) rate and then don't
fix them. Please, bisect it?
Also, it's bad that the operator has to provide some special boot command-line
option to make the machine work properly. Please consider this to be a
bug. Has it always needed apm=power-off?
-
| Oct 14, 11:23 pm 2007 |
| Andrew Morton | Re: apm system does not power off anymore
hrm, OK.
But it could have been controlled by a more-user-friendly runtime knob, I
guess. Not that it's worth changing that now.
-
| Oct 14, 11:41 pm 2007 |
| Stephen Rothwell | Re: apm system does not power off anymore
It has always been that way because the behaviour of APM on SMP is not
defined. We discovered early that it will work (at least for powering
off) for most SMP machines as long as the APM calls are done on CPU 0.
However on an SMP machine that does not cope, very bad things happen -
thus the operator has to explictly enable the power off behaviour on an
SMP box. (On UP power off is enabled by default.)
--=20
Cheers,
Stephen Rothwell ...
| Oct 14, 11:37 pm 2007 |
| Ingo Molnar | Re: [PATCH] sched domain debug sysctl fixes
thanks, great fixes! They should show up in the next sched-devel git
tree.
Ingo
-
| Oct 15, 12:47 am 2007 |
| Milton Miller | [PATCH] sched domain sysctl: free kstrdup allocations
The procnames for the cpu and domain were allocated via kstrdup and so
should also be freed. The names for the files are static, but we
can differentiate them by the presence of the proc_handler. If a
kstrdup (of < 32 characters) fails the sysctl code will not see the
procname or remaining table entries, but any child tables and names
will be reclaimed upon free.
Signed-off-by: Milton Miller <miltonm@bga.com>
---
Hi Ingo.
It occurred to me this morning that the procname field was ...
| Oct 15, 4:40 pm 2007 |
| John Sigler | Re: NMI watchdog
I enabled every option I thought might be useful.
I booted the system, fired a serial console, bumped the priority of the
serial port IRQ handler to 80 and the priority of the shell in the
serial console to 70, set the console log level to 9 using SysRq.
I then connected via ssh, loaded the driver module (the output showed up
in the serial console), started 4 processes, and had a complete system
lock-up within 10 seconds.
Nothing on the serial console :-(
The system didn't even ...
| Oct 15, 9:05 am 2007 |
| Christoph Lameter | Re: How to find slab\'s usage?
slabinfo can probably do much of what slabtop does.
-
| Oct 15, 11:51 am 2007 |
| Tetsuo Handa | Re: How to find slab\'s usage?
Hello.
Oh, nice. Thank you.
I recompiled the kernel using the same kernel today.
However, I couldn't reproduce slab's leak today.
-
| Oct 15, 4:41 am 2007 |
| Trond Myklebust | Re: nfs mmap adventure (was: 2.6.23-mm1)
If you signal the process before msync() has completed, or before you
have completed unmapping the region then your writes can potentially be
lost. Why should we be providing any guarantees beyond that?
Trond
-
| Oct 15, 8:51 am 2007 |
| Rafael J. Wysocki | Re: 2.6.23-mm1
OK, thanks.
Greetings,
Rafael
-
| Oct 15, 1:40 pm 2007 |
| Rafael J. Wysocki | Re: 2.6.23-mm1 pm_prepare() and _finish() w/ args vs. without
Well, from the lack of response I gather it works. :-)
I'm going to send it in a separate thread with a changelog. Please object if
it doesn't work.
Greetings,
Rafael
-
| Oct 15, 1:55 pm 2007 |
| Peter Zijlstra | nfs mmap adventure (was: 2.6.23-mm1)
I get funny SIGBUS' like so:
fault
if (->page_mkwrite() < 0)
nfs_vm_page_mkwrite()
nfs_write_begin()
nfs_flush_incompatible()
nfs_wb_page()
nfs_wb_page_priority()
nfs_sync_mapping_wait()
nfs_wait_on_request_locked()
nfs_wait_on_request()
nfs_wait_bit_interruptible()
return -ERESTARTSYS
SIGBUS
trying to figure out what to do about this...
-
| Oct 15, 5:28 am 2007 |
| Jeff Mahoney | Re: 2.6.23-mm1: BUG in reiserfs_delete_xattrs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'd guess not. This patch was actually against mainline. I should've
specified. I can work up one against -mm later today if it's needed.
- -Jeff
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHE8wyLPWxlyuTD7IRAiJrAJ4nC6gwH1cFjWx6BI04O5fDIRftmACcD2wb
whyXThHlIBK2phnZ6Pf8Pb8=
=Kx6k
-----END PGP SIGNATURE-----
-
| Oct 15, 1:23 pm 2007 |
| David Howells | Re: nfs mmap adventure (was: 2.6.23-mm1)
Hmmm... It sounds like the fault handler should deliver the appropriate
signal, should ->page_mkwrite() return ERESTARTSYS, and then retry the access
instruction that caused the fault when the signal handler has finished
running.
David
-
| Oct 15, 7:06 am 2007 |
| Christoph Hellwig | Re: 2.6.23-mm1: BUG in reiserfs_delete_xattrs
The delete path is a similar case as the one Dave fixed, also cause by
a NULL vfsmount passed to dentry_open, but through a different code-path.
Untested fix for this problem below:
Index: linux-2.6.23-rc8/fs/reiserfs/xattr.c
===================================================================
--- linux-2.6.23-rc8.orig/fs/reiserfs/xattr.c 2007-09-30 14:13:46.000000000 +0200
+++ linux-2.6.23-rc8/fs/reiserfs/xattr.c 2007-09-30 14:18:30.000000000 +0200
@@ -207,9 +207,8 @@ static struct dentry ...
| Oct 15, 1:40 am 2007 |
| Trond Myklebust | Re: nfs mmap adventure (was: 2.6.23-mm1)
Why? If someone is interrupting the write, then a SIGBUS is pretty much
expected.
Trond
-
| Oct 15, 8:43 am 2007 |
| Mark Gross | Re: 2.6.23-mm1
This is from : WARN_ON(irqs_disabled()) in the cmp_call_function_mask
processor_idle.c is registering a acpi_processor_latency_notify
my code changed the notifier call from blocking_notifier_call_chain to
srcu_notifier_call_chain, because dynamic creation of notifier chains at
runtime where easier with the srcu_notifier_call_chain than the
blocking_notifier_call_chain.
As dynamic creation of PM_QOS parameters are no longer needed I can
change the notifiers back to match what was in ...
| Oct 15, 9:09 am 2007 |
| Laurent Riffard | Re: 2.6.23-mm1: BUG in reiserfs_delete_xattrs
Does work fine, thanks.
-
| Oct 15, 12:51 pm 2007 |
| Jeff Mahoney | Re: 2.6.23-mm1: BUG in reiserfs_delete_xattrs
Here's a patch I worked up the other night that kills off struct file
completely from the xattr code. I've tested it locally.
After several posts and bug reports regarding interaction with the NULL
nameidata, here's a patch to clean up the mess with struct file in the
reiserfs xattr code.
As observed in several of the posts, there's really no need for struct file
to exist in the xattr code. It was really only passed around due to the
f_op->readdir() and a_ops->{prepare,commit}_write ...
| Oct 15, 11:31 am 2007 |
| Gautham R Shenoy | [PATCH] Add irq protection in the percpu-counters cpu-ho ...
Hi Andrew,
While running regular cpu-offline tests on 2.6.23-mm1, I
hit the following lockdep warning.
It was triggered because some of the per-cpu counters and thus
their locks are accessed from IRQ context.
This can cause a deadlock if it interrupts a cpu-offline thread which
is transferring a dead-cpu's counts to the global counter.
Please find the patch for the same below. Tested on i386.
Thanks and Regards
gautham.
=====================Warning! ...
| Oct 14, 11:18 pm 2007 |
| Jens Axboe | Re: 2.6.23-mm1
Neil, this doesn't look very good. dm-crypt needs to know the clone io
size, so ->bi_size was definitely used properly in this context before.
Now it's gone. Suggestions on how to fix that up?
I've been less than impressed with the bi_end_io() patchset so far, it's
been full of typos and bad conversions. I'm tempted to revert the whole
thing, clearly it wasn't ready for merge.
--
Jens Axboe
-
| Oct 14, 11:50 pm 2007 |
| David Howells | Re: nfs mmap adventure (was: 2.6.23-mm1)
Hmmm... Good point. Yuck.
David
-
| Oct 15, 4:27 pm 2007 |
| Laurent Riffard | Re: 2.6.23-mm1: BUG in reiserfs_delete_xattrs
Sorry Jeff, your patch does not apply on 2.6.23-mm1. The 'struct file'
removal from reiserfs_xattr_ function is already in -mm
(make-reiserfs-stop-using-struct-file-for-internal.patch).
The Dave's patch I was refering to is this one:
==== BEGIN =====
The bug is caused by reiserfs creating a special 'struct file' with a
NULL vfsmount.
/* Opens a file pointer to the attribute associated with inode */
static struct file *open_xa_file(const struct inode *inode, const char
*name,
...
| Oct 15, 1:06 pm 2007 |
| Nick Piggin | Re: nfs mmap adventure (was: 2.6.23-mm1)
I don't think the fault handler is currently in any position to do
that ATM. It is possible to make it interruptible in some contexts,
but faults from kernel code may not be able to cope.
-
| Oct 15, 6:46 pm 2007 |
| Peter Zijlstra | Re: nfs mmap adventure (was: 2.6.23-mm1)
Good point, I'm trying to figure out where my signal is comming from.
-
| Oct 15, 9:38 am 2007 |
| Dave Hansen | Re: 2.6.23-mm1
Do you know any more about when this happened? Was it during a reboot,
or after you unmounted some device or volume? Have you seen it again?
Which filesystem(s) do you use?
-- Dave
-
| Oct 15, 9:28 am 2007 |
| Zan Lynx | Re: 2.6.23-mm1
Hmm. I can add more data to this. My x86_64 mode laptop is running
2.6.23-mm1 with Reiser4 and does not experience problems.
I am using 64-bit kernel, libata (I think, whatever the SCSI-like PATA
is called), and Reiser4. Both libata and Reiser4 are built-in, not
modules.
--=20
Zan Lynx <zlynx@acm.org>
| Oct 15, 9:13 am 2007 |
| Rui Nuno Capela | 2.6.23-rt1 trouble
I am experiencing some highly annoying but intermitent freezing on a
pentium4 2.80G HT/SMT box, when doing normal desktop work with 2.6.23-rt1.
The same crippling behavior does not occur on a Core 2 Due T7200 2.0G SMP,
so I suspect it's something due specific to the SMT scheduling support
(Hyper-Threading). But can't tell for sure, obviously :)
The symptoms are noticeable primarily as some X/GUI intermitent freezing,
sometimes only one application, then several and ultimately the whole ...
| Oct 15, 3:49 am 2007 |
| Gaston, Jason D | RE: [PATCH 2.6.23]ata_piix: SATA 2port controller port map fix
Thank you Jeff! I guess it is time to switch email clients, as this one
keeps trashing my file import. I thought I had it worked out, guess
not.
Thanks again,
Jason
-
| Oct 15, 2:33 pm 2007 |
| Jeff Garzik | Re: [PATCH 2.6.23]ata_piix: SATA 2port controller port map fix
this was full of spaces, and should be converted to tabs (I did this
manually)
In the future, make sure to run your patch through
scripts/checkpatch.pl. Some of that script's complaints are a bit
changed this to
[ich9_2port_sata] =
since we have started using the (C99? gcc?) method of initializing
piix_port_info[] array entries based on the given index, rather than
simply noting the index in a comment and depending on the order of other
entries not to change.
Jeff
-
| Oct 15, 12:40 pm 2007 |
| Maciej W. Rozycki | Re: [git patches] IDE updates (part 1)
I do not think it should have relied on it in any way or otherwise
"select" should have been used. I recall confusion around this driver and
even recently some breakage happened as a result of some fiddling with
include/asm-mips/mach-generic/ide.h and the fact this platform is
legacy-free -- there is nothing decoding subtractively on the PCI bus (no
south bridge of any kind) and blind pokes at presumed ISA addresses result
in bus error exceptions.
I'll have a look at it in due ...
| Oct 15, 9:30 am 2007 |
| Thomas Gleixner | Re: [PATCH] RT: fix spin_trylock_irq
You were asked to rebase your patches against the latest -rt
kernel. And you bluntly refused to.
I knew exactly why I ignored the patches when I was moving -rt
forward. Simply because I had not enough time to review them in
detail. Ingo acked them in principle, but we had subtle wreckage from
such changes before and I had no intention to put more risk into a non
trivial merge.
Sorry, you have provided sloppy patches more than once and requested
us to pick random bugfixes from a broken ftp ...
| Oct 15, 2:35 pm 2007 |
| Daniel Walker | Oct 15, 2:44 pm 2007 | |
| Steven Rostedt | Re: [PATCH] RT: fix spin_trylock_irq
--
You're right I missed that. (I even read it). But for fixes like this, (or
any patches that are not in the tree), you really need to resend the
series.
When Ingo posts patches to LKML on CFS, if there's a little fix like this,
There wouldn't be if we didn't have to go looking for patches on patches
that are out of the series. If you see that a series is broken, don't
patch against it. Resend the series!
Patches must be against upstream, unless they are more RFC (like what
Gregory ...
| Oct 15, 11:14 am 2007 |
| Daniel Walker | Re: [PATCH] RT: fix spin_trylock_irq
This is the second fix for this .. The first was in this email (over a
month ago)
http://lkml.org/lkml/2007/8/31/318
The above was emailed to Thomas, but I also sent you that link in IRC as
a link of patches to include .. I'll be happy to audit my code better,
but you should also audit your inclusion process better.. There have
been too many missed patches, and too many double and triples fixes..
Daniel
-
| Oct 15, 10:44 am 2007 |
| Daniel Walker | Re: [PATCH] RT: fix spin_trylock_irq
In hindsight I should have resent, but I didn't .. Really it's a matter
of frustration on my part. Where I submit patches that should be
included , but they are ignored for no clear reason .. Then I submit
again, and the patches are ignored again for no clear reason..
Comparing mainline and -rt isn't very interesting since , -rt has few
patches sent in against it .. Andrew is bound to loose a patch here and
there on accident, but -rt has so few patches sent in that we shouldn't
In all ...
| Oct 15, 1:06 pm 2007 |
| Bernd Schubert | Re: [PATCH 3/3] faster workaround
Its attached.
Bernd
--
Bernd Schubert
Q-Leap Networks GmbH
| Oct 15, 3:18 am 2007 |
| Andrew Morton | Re: [PATCH 3/3] Blackfin serial driver: this driver enab ...
That's a bit hard to parse.
On Thu, 11 Oct 2007 18:23:40 +0800
There's a typo there. Also the text is pretty meaningless - I'd fix it up
Probably this shouldn't be here at all - DEBUG is passed in from the gcc
It is not a good idea to create files in /proc which have spaces in their
names. Yes, userspace _should_ be able to cope with that in all cases, but
all software sucks, even including userspace ;)
That's a bit ugly. Perhaps using container_of() would be clearer. ...
| Oct 15, 1:33 pm 2007 |
| Mike Frysinger | Re: [PATCH 3/3] Blackfin serial driver: this driver enab ...
here it is in english ;)
This driver emulates a standard UART using the SPORT peripherals on a
i'm not sure i follow ... these are the names given to request_irq()
which means this is what shows up in /proc/interrupts ... does this
function also create an actual file somewhere in /proc that i am not
aware of ?
the rest of the comments look good to me, thanks !
-mike
-
| Oct 15, 3:03 pm 2007 |
| Andrew Morton | Re: [PATCH 3/3] Blackfin serial driver: this driver enab ...
On Mon, 15 Oct 2007 18:03:35 -0400
err, umm, yeah. But the same argument applies: it is imprudent to have
space-containing records in /proc/interrupts.
However it seems that we've already done that in several places so I guess
any /proc/interrupts-parsing programs are already coping with it OK.
-
| Oct 15, 3:22 pm 2007 |
| Mike Frysinger | Re: [PATCH 3/3] Blackfin serial driver: this driver enab ...
this looks wrong to me ... why cant the standard infrastructure for
managing baud rate be used ?
-mike
-
| Oct 15, 3:04 pm 2007 |
| Robin Getz | Re: [PATCH 3/3] Blackfin serial driver: this driver enab ...
Blackfin's have a synchronous Serial Peripheral pORT (SPORT).
Unlike SPI, UART, I2C, or CAN interfaces which are designed for specific
industry standard compatible communication only, the SPORT support a variety
(software programmable) serial data communication protocols:
- A-law or µ-law companding according to G.711 specification
- Multichannel or Time-Division-Multiplexed (TDM) modes
- Stereo Audio I2S Mode
- TDM Modes for Multi-Channel audio codecs
- H.100 Telephony standard ...
| Oct 15, 3:10 pm 2007 |
| Andrew Morton | Re: [PATCH] IPC: fix error case when idr-cache is empty ...
On Thu, 11 Oct 2007 09:32:22 +0200
Not pretty, is it? The idr interface isn't a good one. But then, any
storage library (aka container class) which allocates memory at insertion
time is a pain to handle in the kernel.
btw, idr_pre_get() should return 0 on success, else an errno - the current
interface is silly.
-
| Oct 15, 1:13 pm 2007 |
| Jarek Poplawski | Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval()
Since this is for some special aim (not default for most classes, at
least not for sched_fair) I'd suggest to change names:
default_timeslice_fair() and .default_timeslice to something like eg.:
rr_timeslice_fair() and .rr_timeslice or rr_interval_fair() and
.rr_interval (maybe with this "default" before_"rr_" if necessary).
On the other hand man (2) sched_rr_get_interval mentions that:
"The identified process should be running under the SCHED_RR
scheduling policy".
Also this place seems ...
| Oct 15, 4:11 am 2007 |
| Peter Williams | Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval()
As do I. Even more so now that you've shown me the man page for
sched_rr_get_interval().
I'd suggest that we modify sched_rr_get_interval() to return -EINVAL
(with *interval set to zero) if the target task is not SCHED_RR. That
way we can save a lot of unnecessary code. I'll work on a patch.
I didn't consider them harsh.
Peter
--
Peter Williams pwil3058@bigpond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- ...
| Oct 15, 6:16 pm 2007 |
| Rob Landley | Re: [PATCH] Make m68k cross compile like every other arc ...
Another thing to take into account is that kconfig was recently changed to
save ARCH and CROSS_COMPILE in the .config file:
http://lwn.net/Articles/253889/
Presumably that means you'd only have to specify your arch and cross compiler
during config, and then if you re-used that config it would re-use those
settings. But the existing makefile discards anything that isn't explicitly
overridden on the make command line at each stage of the build.
It seems to me any fix should only reset ...
| Oct 15, 5:31 pm 2007 |
| Geert Uytterhoeven | Re: [PATCH] Make m68k cross compile like every other arc ...
64-bit parisc tests if /usr/bin/hppa64-linux-gnu- exists.
If yes, it sets CROSS_COMPILE to hppa64-linux-gnu-.
If no, it sets CROSS_COMPILE to hppa64-linux-
32-bit parisc unconditionally sets CROSS_COMPILE to hppa-linux-.
This still breaks Rob's setup if his compiler is called differently.
Anyway, here's a try to make it autodetect m68k-linux-gnu-gcc and
m68k-linux-gcc. Perhaps it can be generalized in kbuild, to allow
arch/*/Makefile to set a list of possible cross-compiler ...
| Oct 15, 1:25 pm 2007 |
| Jeff Garzik | Re: [PATCH 1/3] xen-netfront: use net_device's stats structure
ACK patches 1-3, but they still do not apply.
Since net-2.6.24 has gone upstream, you may send diffs against
torvalds/linux-2.6.git if you like -- there are no outstanding
dependencies at this time.
-
| Oct 15, 11:21 am 2007 |
| Jeremy Fitzhardinge | Re: [PATCH 1/3] xen-netfront: use net_device's stats structure
Yes, there was a larger patch which globally rolled all the private
stats structures into the netdev one, so the xen-specfic one was
redundant, and someone else submitted the deadcode removal one, so the
only outstanding patch is this one:
Subject: xen-netfront: rearrange netfront structure to separate tx and rx
Keep tx and rx elements separate on different cachelines to prevent
bouncing.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Acked-by: Jeff Garzik ...
| Oct 15, 12:59 pm 2007 |
| Jeff Garzik | Oct 15, 1:13 pm 2007 | |
| Jeff Garzik | Re: [PATCH] natsemi: Use round_jiffies() for slow timers
applied and the pci_enabie_device() return value patch
-
| Oct 15, 11:21 am 2007 |
| Vivek Goyal | Re: [RFC] [Patch] calgary iommu: Use the first kernel's ...
Trapping DMA and ignoring will make sense. I don't know how it can be done.
What does ignoring DMA mean here? Acutual DMA does not take place but device
thinks DMA is complete?
Trapping DMA and ignoring in kdump kernel (if possible), seems to be better
than letting DMA happen. This will reduce chances of corruption of second
kernel.
Can you please give little more details in terms of how to trap DMA. I think
Right now ppc64 just uses the TCE tables from first kernel and allows the ...
| Oct 14, 11:29 pm 2007 |
| Jean Delvare | Re: [lm-sensors] [PATCH v3] hwmon: Add power meter spec ...
Hi Darrick,
Looks good, thanks for your patience :)
Acked-by: Jean Delvare <khali@linux-fr.org>
Note that lm-sensors 3 still lacks support for power meters, if you
want it you'll have to submit a patch.
--
Jean Delvare
-
| Oct 15, 8:10 am 2007 |
| Dave Jones | Re: [PATCH][try 2] architectural pstate driver for powernow-k8
On Thu, Oct 11, 2007 at 08:59:58AM +0100, Andy Whitcroft wrote:
> > /* get fid did for hardware pstate transition */
> > pstate = index & HW_PSTATE_MASK;
> > - if (pstate > MAX_HW_PSTATE)
> > + if (pstate > data->max_hw_pstate);
> > return 0;
>
> checkpatch picked up this dodgy if. I suspect that the ';' is wrong
> from the context.
Indeed. Mark/Andreas, want to send me a new patch against latest
Linus HEAD ? I didn't apply the old one yet, as it conflicted with
the ...
| Oct 15, 8:40 am 2007 |
| Mark Langsdorf | Re: [PATCH][try 4] architectural pstate driver for powernow-k8
This patch should apply cleanly to the 2.6.23-git7 kernel. It changes the
powernow-k8 driver code that deals with 3rd generation Opteron, Phenom,
and later processors to match the architectural pstate driver described
in the AMD64 Architecture Programmer's Manual Volume 2 Chapter 18. The
initial implementation of the hardware pstate driver for PowerNow!
used some processor-version specific features, and would not be
maintainable in the long term as the processor features changed.
This ...
| Oct 15, 2:03 pm 2007 |
| Dave Jones | Re: [PATCH][try 3] architectural pstate driver for powernow-k8
On Mon, Oct 15, 2007 at 11:23:45AM -0500, Mark Langsdorf wrote:
> On Monday 15 October 2007 10:40, Dave Jones wrote:
> > On Thu, Oct 11, 2007 at 08:59:58AM +0100, Andy Whitcroft wrote:
> >
> > > > /* get fid did for hardware pstate transition */
> > > > pstate = index & HW_PSTATE_MASK;
> > > > - if (pstate > MAX_HW_PSTATE)
> > > > + if (pstate > data->max_hw_pstate);
> > > > return 0;
> > >
> > > checkpatch picked up this dodgy if. I suspect that the ';' is wrong
...
| Oct 15, 1:32 pm 2007 |
| Mark Langsdorf | [PATCH][try 3] architectural pstate driver for powernow-k8
This is against -git7. I should think that's close enough.
This patch should apply cleanly to the 2.6.23-git7 kernel. It changes the
powernow-k8 driver code that deals with 3rd generation Opteron, Phenom,
and later processors to match the architectural pstate driver described
in the AMD64 Architecture Programmer's Manual Volume 2 Chapter 18. The
initial implementation of the hardware pstate driver for PowerNow!
used some processor-version specific features, and would not be
maintainable in ...
| Oct 15, 9:23 am 2007 |
| Jeremy Fitzhardinge | Re: [PATCH RFC REPOST 1/2] paravirt: refactor struct par ...
Yeah, OK, I can live with that. I'll fold it into the base patch, and
update the lazymode patch accordingly.
J
-
| Oct 15, 12:23 pm 2007 |
| Rusty Russell | Re: [PATCH RFC REPOST 1/2] paravirt: refactor struct par ...
No, and yes.
This applies on top of your 1/2. Boots here, runs lguest. It also
exports pv_info: lg.ko checks it to avoid lguest-in-lguest.
Cheers,
Rusty.
==
Wean off "struct paravirt_ops" entirely: it's now merely a patching enumeration tool
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
diff -r d8192c55373b arch/i386/kernel/asm-offsets.c
--- a/arch/i386/kernel/asm-offsets.c Mon Oct 15 16:56:40 2007 +1000
+++ b/arch/i386/kernel/asm-offsets.c Mon Oct 15 18:10:52 2007 ...
| Oct 15, 1:16 am 2007 |
| Andrew Morton | Re: [PATCH] ipv4: kernel panic when only one unsecured p ...
On Mon, 15 Oct 2007 13:06:14 -0700 (PDT)
<looks>
OK, in ipv4_local_port_range() we have
if (range[1] <= range[0])
ret = -EINVAL;
which will prevent the crashes.
But is it good to disallow high=low? This disallows a port range of one
single port. Unless "high" is exclusive. But
ie: inclusive.
also inclusive.
-
| Oct 15, 2:00 pm 2007 |
| Andrew Morton | Re: [PATCH] ipv4: kernel panic when only one unsecured p ...
On Tue, 09 Oct 2007 15:59:14 +0200
This code has recently been reworked, but from my reading, that
divide-by-zero can still occur. And given that the numbers in
/proc/sys/net/ipv4/ip_local_port_range are inclusive, the arithmetic in
inet_csk_get_port() seems to just be wrong?
So we have this, against David's current devel tree:
--- a/net/ipv4/inet_connection_sock.c~ipv4-kernel-panic-when-only-one-unsecured-port-available
+++ a/net/ipv4/inet_connection_sock.c
@@ -93,7 +93,7 @@ int ...
| Oct 15, 12:49 pm 2007 |
| David Miller | Re: [PATCH] ipv4: kernel panic when only one unsecured p ...
From: Andrew Morton <akpm@linux-foundation.org>
I'm pretty sure we took care of this, but maybe not :-)
-
| Oct 15, 1:06 pm 2007 |
| Alexey Starikovskiy | Re: halt does not shut the system down
This is an option to make. It creates .config file with some default settings,
-
| Oct 15, 7:03 am 2007 |
| John Sigler | Re: halt does not shut the system down
Writing 15361 (i.e. 0x3C01) to ACPI_REGISTER_PM1A_CONTROL appears to
hang my system in acpi_os_write_port(). What can I do about that?
Is it a BIOS issue? a kernel issue? a hardware issue?
(All my results are attached to the bug report.)
Regards.
-
| Oct 15, 3:36 am 2007 |
| Alexey Starikovskiy | Re: halt does not shut the system down
That is supposed to turn your machine off. At least we now know that ACPI
did try to turn it off.
I think _other_ OS could turn your machine off just fine, so the issue is not HW, not BIOS.
Probably, first thing to try is 2.6.23.1 as it was just released and has some changes in
power management section...
Regards,
Alex.
-
| Oct 15, 4:11 am 2007 |
| John Sigler | Re: halt does not shut the system down
I have the same problem in 2.6.23.1 (cf. my bug report in the database)
I'll ask the manufacturer whether they could get poweroff to work.
Regards.
-
| Oct 15, 6:29 am 2007 |
| Pekka Enberg | Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to u ...
Hi,
I wonder whether _not setting_ BDI_CAP_NO_WRITEBACK implies that
->writepage() will never return AOP_WRITEPAGE_ACTIVATE for
!wbc->for_reclaim case which would explain why we haven't hit this bug
before. Hugh, Andrew?
And btw, I think we need to fix ecryptfs too.
Pekka
-
| Oct 15, 4:47 am 2007 |
| David Brownell | Re: [Linux-usb-users] OHCI root_port_reset() deadly loop...
We shouldn't need that. What happens if you add an msleep(5)
before ehci-hcd::ehci_run() drops ehci_cf_port_reset_rwsem?
The theory there being that the switch triggered by setting CF
doesn't take effect instantaneously, contrary to the effective
assumption of that code. A delay of 5 msec seems like it should
be more than enough, but that's kind of a guess ... it's good to
keep that low, since unfortunately that's in the critical path
for OLPC "resume from idle".
- Dave
-
| Oct 15, 4:39 pm 2007 |
| David Miller | Re: [Linux-usb-users] OHCI root_port_reset() deadly loop...
From: David Brownell <david-b@pacbell.net>
I want to help with this, but if I even breath on the kernel the bug
goes away. The race just gets harder to trigger, and if we just keep
adding things it'll make the problem go away but for the absolutely
wrong reasons.
The only way we will provably fix this is to make sure EHCI initialize
fully, first, regardless of kernel config or what userland does.
Also, David, you haven't done anything with the feedback I gave to the
most recent revision ...
| Oct 15, 4:58 pm 2007 |
| David Miller | Re: [Linux-usb-users] OHCI root_port_reset() deadly loop...
From: David Miller <davem@davemloft.net>
Bad news, even with the rwsem after a lot more testing I can still
trigger the hang in ohci_hub_control() :-(
I think we need to go back to considering the total serialization
approach to this problem.
-
| Oct 15, 3:01 pm 2007 |
| Andrew Morton | Re: [PATCH] watchdog: add Nano 7240 driver
On Sun, 07 Oct 2007 22:49:00 +1000
Could you please send a new version of this patch which has
a changelog, isn't space-stuffed and isn't wordwrapped?
Thanks.
-
| Oct 15, 12:15 pm 2007 |
| Stephen Hemminger | Re: [NOT VERY SAFE] [TCP]: Set initial_ssthresh defa ...
On Mon, 15 Oct 2007 21:59:49 +0900
Yes that value means that TCP stays in slow start until the first loss.
This makes TCP behave as expected in the RFC's.
--
Stephen Hemminger <shemminger@linux-foundation.org>
-
| Oct 15, 8:55 am 2007 |
| Komuro | Re: [NOT VERY SAFE] [TCP]: Set initial_ssthresh defa ...
The default value of snd_ssthresh is 0x7fffffff, isn't it?
[linux/net/ipv4/tcp_ipv4.c]
static int tcp_v4_init_sock(struct sock *sk)
...
tp->snd_ssthresh = 0x7fffffff; /* Infinity */
...
Best Regards
-
| Oct 15, 5:59 am 2007 |
| Linas Vepstas | Re: [PATCH] pci: implement "pci=noaer"
Looks reasonable to me.
(sorry for the belated reply... I also saw this in gregkh's patch
series. Since the email was addressed to me, I figure I should
at least say "yes I read it". Dunno if "Yes-I-read-it-by:" is
the same as "Acked by:", if it is, then acked-by me.. )
--linas
-
| Oct 15, 10:12 am 2007 |
| David Schwartz | RE: [rfc][patch 3/3] x86: optimise barriers
When Intel first added speculative loads to the x86 family, they pegged the
speculative load to the cache line. If the cache line is invalidated, so is
the speculative load. As a result, out-of-order reads to normal memory are
invisible to software. If a write to the same memory location on another CPU
would make the fetched value invalid, it will make the cache line invalid,
which invalidates the fetch.
I think it's extremely unlikely that any x86 CPU will do this any
differently. It's hard ...
| Oct 15, 7:38 am 2007 |
| Helge Hafting | Re: [rfc][patch 3/3] x86: optimise barriers
"Trusting people or their opinions" is only about use of the
english language, and not that intersting to bring up here.
Surely you know that lots of people here have english as
a secondary language only. Intersting for me to know, but
I never claimed that linux will work on your laptop, so no:
You can't take my word for that, because I never gave it!
It is well known that some laptops don't work with linux,
I have no idea if yours will work, I don't even know what kind it is.
I told you the ...
| Oct 15, 3:17 am 2007 |
| Jarek Poplawski | Re: [rfc][patch 3/3] x86: optimise barriers
On Mon, Oct 15, 2007 at 11:09:59AM +0200, Jarek Poplawski wrote:
...performance-wards?!
Looks like serious: I don't even now who I'm not now!
Jarek P.
-
| Oct 15, 2:24 am 2007 |
| Nick Piggin | Re: [rfc][patch 3/3] x86: optimise barriers
It's more expensive than nothing, sure. However in real code, algorithmic
complexity, cache misses and cacheline bouncing tend to be much bigger
issues.
I can't think of a place in the kernel where smp_rmb matters _that_ much.
seqlocks maybe (timers, dcache lookup), vmscan... Obviously removing the
lfence is not going to hurt. Maybe we even gain 0.01% performance in
someone's workload.
Also, remember: if loads are already in-order, then lfence is a noop,
right? (in practice it seems to ...
| Oct 15, 5:50 pm 2007 |
| Jarek Poplawski | Re: [rfc][patch 3/3] x86: optimise barriers
Of curse, I know this problem: sometimes it's very hard to make people
believe it's my secondary language! But this time I didn't see any
language problem. I simply poined out that sometimes trusting could be
OK, this was supposed to be a joke... (Btw, can you remember burning
linux laptops?) I thought this "stability first" a bit funny, but this
was a really bad joke, sorry.
Thanks for these additional explanations - you are completely right!
Regards,
Jarek P.
-
| Oct 15, 4:53 am 2007 |
| Jarek Poplawski | Re: [rfc][patch 3/3] x86: optimise barriers
Yes, I still can't believe this, but after some more reading I start
to admit such things can happen in computer "science" too... I've
mentioned a lost performance, but as a matter of fact I've been more
concerned with the problem of truth:
From: Intel(R) 64 and IA-32 Architectures Software Developer's Manual
Volume 3A:
"7.2.2 Memory Ordering in P6 and More Recent Processor Families
...
1. Reads can be carried out speculatively and in any order.
..."
So, it looks to me ...
| Oct 15, 12:44 am 2007 |
| Jarek Poplawski | Re: [rfc][patch 3/3] x86: optimise barriers
On Mon, Oct 15, 2007 at 10:09:24AM +0200, Nick Piggin wrote:
I'm not performance-words at all, so I can't help you, sorry. But, I
understand people who care about this, and think there is a popular
conviction barriers and locked instructions are costly, so I'm
I'm not sure this is the right way to tell it. If there is no
distinction between what is and what could be, how can I believe in
similar Alpha or Itanium stuff? IMHO, these manuals sometimes look
like they describe some real hardware ...
| Oct 15, 2:10 am 2007 |
| Nick Piggin | Re: [rfc][patch 3/3] x86: optimise barriers
I'd say that's exactly what Intel wanted. It's pretty common (we do
it all the time in the kernel too) to create an API which places a
stronger requirement on the caller than is actually required. It can
make changes much less painful.
Has performance really been much problem for you? (even before the
lfence instruction, when you theoretically had to use a locked op)?
I mean, I'd struggle to find a place in the Linux kernel where there
is actually a measurable difference anywhere... and we're ...
| Oct 15, 1:09 am 2007 |
| Tetsuo Handa | Re: [TOMOYO 05/15](repost) Domain transition handler fun ...
Hello.
Fixed in the fourth submission ( http://lkml.org/lkml/2007/10/11/140 ).
Thank you.
-
| Oct 15, 4:46 am 2007 |
| Tetsuo Handa | Re: [TOMOYO 05/15](repost) Domain transition handler fun ...
Hello.
OK. I posted new one that uses existing API at http://lkml.org/lkml/2007/10/11/140 .
By the way, what do you think of new primitives shown below?
I'd like to use list_for_each_cookie() and list_add_tail_mb() if acceptable.
----- Start of code -----
/********** Existing API **********/
#include <stdio.h>
#include <stdlib.h>
static inline void mb(void) {;}
static inline void prefetch(void *p) {;}
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#define ...
| Oct 15, 5:09 am 2007 |
| Jeff Garzik | Re: MSI interrupts and disable_irq
Remember, fundamentally MSI-X is a one-to-many relationship, when you
consider a single PCI device might have multiple vectors.
Jeff
-
| Oct 15, 3:17 pm 2007 |
| Davide Libenzi | Re: Revised signalfd man-page
With the new code Linus already merged, signalfd does not attach to the
sighand anymore, so the "orphaned sighand" behaviour is no more there.
An exec() will carry the fd over, and you will be able to use the fd in
the same way you did before the exec(). If sigpending()/sigwaitinfo() will
It'll return the signals that would be normally returned to the thread
with the standard signal delivery methods. That is, calling thread private
signals, and calling thread-group shared ...
| Oct 15, 11:14 am 2007 |
| Michael Kerrisk | Re: Revised signalfd man-page
Hi Davide,
There were two questions that you overlooked in my earlier draft of the
signalfd man page. I've revised one of the questions slightly. Could you
look at these please:
.SS execve(2) semantics
[TO BE COMPLETED]
.\" FIXME
.\" Davide, what are the intended semantics after an execve()?
.\" I would hope that the descriptor remains available, and can
.\" be used to read any queued signals. This is analogous with
.\" traditional behavior, where blocked signals that are pending
.\" ...
| Oct 14, 11:54 pm 2007 |
| Maciej W. Rozycki | Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
Well, this is actually the bit that made cancel_work_sync() be written in
the first place. The short story is the netlink lock is most probably
held at this point (depending on the usage of phy_disconnect()) and there
is also an event waiting in the queue that requires the lock, so if
flush_scheduled_work() is called here a deadlock will happen.
Let me find a reference for a longer ...
| Oct 15, 10:03 am 2007 |
| Jarek Poplawski | Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
On 19-09-2007 16:38, Maciej W. Rozycki wrote:
Hi,
Could you explain why cancel_work_sync() is better here than
flush_scheduled_work() wrt. rtnl_lock()?
Regards,
Jarek P.
-
| Oct 15, 5:53 am 2007 |
| Frank Ch. Eigler | Re: [patch 1/4] Linux Kernel Markers - Architecture Inde ...
Hi -
Our team is farther along adapting to this change against 2.6.23-mm1,
and we have run into a complication. It's more of a distribution
issue.
We would prefer to retain systemtap's capability to build
instrumentation for a kernel other than the currently running one.
Such instrumentation can be then copied and run on a distinct machine.
This has meant relying on development data: make install_headers +
Makefiles (as packaged by Fedora/RHEL), and to a lesser extent
separated debugging ...
| Oct 15, 12:41 pm 2007 |
| Mathieu Desnoyers | Re: [patch 1/4] Linux Kernel Markers - Architecture Inde ...
Hi Frank,
I think the main issue with the solution you propose is that it doesn't
deal with markers in modules, am I right ?
I will soon come with a marker iterator and a module that provides a
userspace -and in kernel- interface to enable/disable markers. Actually,
I already have the code ready in my LTTng snapshots. I can provide a
Considering that I want to minimize the impact on the system, I put the
marker strings in their own memory location rather than clobbering the
memory ...
| Oct 15, 4:12 pm 2007 |
| Roland McGrath | Re: [patch 1/4] Linux Kernel Markers - Architecture Inde ...
My suggestion applies as well to modules as anything else.
What "like Module.symvers" means is something like:
name1 vmlinux %s
name2 fs/nfs/nfs %d
All the modules built by the same kernel build go into this one file.
Modules packaged separately for the same kernel could provide additional
That's clearly straightforward to do given the basic markers data structures.
It does not address the need for an offline list of markers available in a
particular kernel build or set of modules ...
| Oct 15, 4:50 pm 2007 |
| Avi Kivity | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
This bit can go; for the external module I can add it back in
external-module-compat.h. No need to pollute mainline with backward
compatibility stuff.
--
error compiling committee.c: too many arguments to function
-
| Oct 15, 2:47 am 2007 |
| Laurent Vivier | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
No, It must not be cleared here because we can't enter in the accounting =
code
between kvm_guest_enter(void) and kvm_guest_exit(void).
This is why the accounting code clears it.
I put a kvm_guest_exit() only for symmetry.
Laurent
--=20
---------------- Laurent.Vivier@bull.net -----------------
"Given enough eyeballs, all bugs are shallow" E. S. Raymond
| Oct 15, 3:53 am 2007 |
| Avi Kivity | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
IIRC the accounting code clears it, but yes, it may not have been called
at all, so clearing it here is needed.
--
error compiling committee.c: too many arguments to function
-
| Oct 15, 3:02 am 2007 |
| Christian Borntraeger | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
I think we can merge your patches, as the userspace interface seems fine. To
make the accounting work for virtual cpu accounting found on ppc and s390 we
can later add an additional patch that also deals with interruptible guest
contexts.
So something like this should work:
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
---
drivers/kvm/kvm.h | 8 ++++++++
kernel/sched.c | 2 ++
2 files changed, 10 insertions(+)
Index: ...
| Oct 15, 7:39 am 2007 |
| Christian Borntraeger | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest
forgot to CC everybody besides Laurent:
Why cant we enter the accounting code?
Dont know about x86, but on s390 we can get host interrupts and reschedules
even when we run a guest (if preemption is on).
If the timer tick happens while the guest is running, we will run the
accounting code on x86 as well, no?
Christian
--
IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: ...
| Oct 15, 4:19 am 2007 |
| Ingo Molnar | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
thx - zapped.
Ingo
-
| Oct 15, 2:50 am 2007 |
| Avi Kivity | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
It's exactly the same issue as with systime and usertime. The interrupt
samples the program counter at various points at a fairly low frequency
(milliseconds) while syscalls last a few dozens of microseconds.
Probability makes it average out correctly in the end.
[Ingo, what about dyntick? suppose you have just one process that calls
read() from /dev/zero repeatedly. There'd be very few (or no)
Suppose the time to service the I/O is exactly equal to the amount
running in guest ...
| Oct 15, 9:46 am 2007 |
| Laurent Vivier | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
It's fine for me.
Laurent
--=20
---------------- Laurent.Vivier@bull.net -----------------
"Given enough eyeballs, all bugs are shallow" E. S. Raymond
| Oct 15, 7:45 am 2007 |
| Ingo Molnar | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
hm:
static inline void kvm_guest_enter(void)
{
current->flags |= PF_VCPU;
}
static inline void kvm_guest_exit(void)
{
}
shouldnt PF_VCPU be cleared in kvm_guest_exit()?
Ingo
-
| Oct 15, 2:51 am 2007 |
| Laurent Vivier | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
IMHO, I think it is better to let kvm_guest_exit() empty (you can remove =
it, if
you want):
1st case:
- unset PF_VCPU in kvm_guest_exit(), all the tick is always for system ti=
me.
Guest time is always 0.
1st case and half:
- like 1st case but we move kvm_guest_exit() as you propose and the reaso=
n of
the interrupt is the tick interrupt. The tick is for guest time only. I t=
hink
the probability is very low.
2nd case:
- don't unset PF_VCPU in kvm_guest_exit(), all the tick is ...
| Oct 15, 4:37 am 2007 |
| Laurent Vivier | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
ok.
I think the solution is to have an arch dependent kvm_guest_exit(): empty=
for
x86, clearing the bit for s390.
Regards,
Laurent
--=20
---------------- Laurent.Vivier@bull.net -----------------
"Given enough eyeballs, all bugs are shallow" E. S. Raymond
| Oct 15, 4:38 am 2007 |
| Avi Kivity | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
If the guest is executing for 10% of the time, the probability is
But then even execution in ->handle_exit() is accounted as guest time,
which is wrong.
--
error compiling committee.c: too many arguments to function
-
| Oct 15, 5:07 am 2007 |
| Avi Kivity | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
But if we didn't get an interrupt in that time?
We can clear it a bit later, after local_irq_enable() in __vcpu_run().
However we need a nop instruction first because "sti" keeps interrupts
disabled for one more instruction.
--
error compiling committee.c: too many arguments to function
-
| Oct 15, 4:15 am 2007 |
| Ingo Molnar | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
FYI, KVM abstracted its guest-mode entry code recently so this did not
apply - find below the reworked patch.
Ingo
------------------->
Subject: sched: guest CPU accounting: maintain guest state in KVM
From: Laurent Vivier <Laurent.Vivier@bull.net>
Modify KVM to update guest time accounting.
[ mingo@elte.hu: ported to 2.6.24 KVM. ]
Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Acked-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
...
| Oct 15, 2:38 am 2007 |
| Laurent Vivier | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
No more comments: I agree.
We can move the "&= ~PF_VCPU" to kvm_guest_exit() and remove it from
account_system_time(). Moreover it will simplify the code for s390...
Regards,
Laurent
-
| Oct 15, 12:45 pm 2007 |
| Laurent Vivier | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest tim ...
I think you know that better than me.
But is there homogeneity in probability ?
I mean, if the guest has a lot I/O, it is interrupted by them and the
probability to be interrupted by a tick is lower than the time passed in =
System time and User time are wrong too as the tick is accounted to the s=
ide
where it appears, even if CPU has executed code from the other side in a
sub-part of the tick. It's not a good argument.
Laurent
--=20
---------------- Laurent.Vivier@bull.net ...
| Oct 15, 5:29 am 2007 |
| Christian Borntraeger | Re: [RESEND 2][PATCH 4/4] Modify KVM to update guest
Ah, I see. The host interrupt behaves different and instead of running the
interrupt handler, it exits the vmrun on x86? The interrupt handler will be
called some cycles after the sti?
That is different to s390. We can run the guest code for a long time and the
host instruction pointer stays on the sie instruction. That means, we can
interrupt sie and continue by simply setting the instrution pointer (PSW)
back to the sie instruction.
Any idea how to make this proper on all architectures? ...
| Oct 15, 4:33 am 2007 |
| Christian Borntraeger | Re: [RESEND 2][PATCH 0/4] Virtual Machine Time Accounting
I would move this line
if (p->flags & PF_VCPU) {
account_guest_time(p, cputime);
------> p->flags &= ~PF_VCPU; <---------
return;
}
into kvm_guest_exit. Otherwise a guest that is running very long in
guest context would only get the first tick accounted as guest time, no?
Besides that, this looks good and should work for kvm on s390 as well.
Thanks Laurent.
Christian
-
| Oct 15, 3:51 am 2007 |
| HighPoint Linux Team | [PATCH] hptiop: avoid buffer overflow when returning sen ...
avoid buffer overflow when returning sense data.
Signed-off-by: HighPoint Linux Team <linux@highpoint-tech.com>
---
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c
index 8b384fa..d32a4a9 100644
--- a/drivers/scsi/hptiop.c
+++ b/drivers/scsi/hptiop.c
@@ -375,8 +375,9 @@ static void hptiop_host_request_callback
scp->result = SAM_STAT_CHECK_CONDITION;
memset(&scp->sense_buffer,
0, sizeof(scp->sense_buffer));
- memcpy(&scp->sense_buffer,
- &req->sg_list, ...
| Oct 14, 11:42 pm 2007 |
| HighPoint Linux Team | Re: [PATCH] hptiop: avoid buffer overflow when returning ...
Sorry for ambiguity. With current adapter firmware the driver is working but future
firmware updates may return sense data larger than 96 bytes, causing overflow
on scp->sense_buffer and a kernel crash.
This fix should be backported to earlier kernels.
HighPoint Linux Team
-
| Oct 15, 12:48 am 2007 |
| Andrew Morton | Re: [PATCH] hptiop: avoid buffer overflow when returning ...
See, we know what the fix does, but we don't know what the consequences are
if the user's kernel doesn't have this fix.
So we are not able to work out whether this fix should be backported to
2.6.23.x and even to 2.6.22.x?
-
| Oct 14, 11:40 pm 2007 |
| Frank van Maarseveen | Re: [2.6 patch] arch/i386/kernel/smpboot.c:setup_trampol ...
This one hasn't been merged yet.
--
Frank
-
| Oct 15, 8:02 am 2007 |
| previous day | today | next day |
|---|---|---|
| October 14, 2007 | October 15, 2007 | October 14, 2007 |
