| From | Subject | Date |
|---|---|---|
| Rodolfo Giometti | [PATCH] TSL2550 support (I2C device driver)
Hello,
attached a patch to add support for Taos TSL2550 ambient light sensors
(http://www.taosinc.com/product_detail.asp?cateid=4&proid=18).
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti@enneenne.com
Linux Device Driver giometti@gnudd.com
Embedded Systems giometti@linux.it
UNIX programming phone: +39 349 2432127
| Jan 29, 4:56 pm 2007 |
| Richard Purdie | Re: Advice on APM-EMU reunion
I'm not sure this is a good idea. As you're creating a new interface,
why not create something new/improved without the problems that
confining yourself to APM emulation brings?
Regards,
Richard
-
| Jan 29, 4:53 pm 2007 |
| Rodolfo Giometti | Re: Advice on APM-EMU reunion
Because several applications (and expecially in embedded systems) use
that interface. However adding a sysfs support I try to define a new
(and most versatile) interface.
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti@enneenne.com
Linux Device Driver giometti@gnudd.com
Embedded Systems giometti@linux.it
UNIX programming phone: +39 349 2432127
-
| Jan 29, 4:59 pm 2007 |
| Rodolfo Giometti | Advice on APM-EMU reunion
Hello,
some months ago I sent to the MIPS and ARM mail lists a patch to unify
the several APM emulation codes adding a new dedicated directory so it
can be used to put there the per board specific code avoiding code
duplications (see files ./arch/arm/kernel/apm.c,
./arch/mips/kernel/apm.c and ./arch/sh/kernel/apm.c that are almost
the same).
The patch is here
"http://www.linux-mips.org/archives/linux-mips/2006-07/msg00144.html"
and it has been lost in the deep space...
The target is to ...
| Jan 29, 4:07 pm 2007 |
| Thomas Gleixner | [patch-mm] dynticks: Fix one off jiffy update
Sigh. /me wanted to be too clever and needs to order more brown
paperbags now.
The rework of the jiffy update code introduced a one off error, which
led to a one off accounting error for last_jiffy_update. This made
jiffies lag behind.
Noticed by Karsten Wiese (cpufreq_ondemand weirdness).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Index: linux-2.6.20-rc6-mm/kernel/time/tick-sched.c
===================================================================
--- ...
| Jan 29, 4:24 pm 2007 |
| Greg KH | [GIT PATCH] ALSA core fix for 2.6.20-rc5
Takashi asked me to send you this single patch as it conflicted with his
current tree and it is needed before 2.6.20 comes out to fix a userspace
ABI breakage that I caused earlier.
This patch fixes a bug with the sound core when CONFIG_SYSFS_DEPRECATED
is enabled. More details can be found in the patch itself, which will
follow as a reply to this message.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6.git/
thanks,
greg k-h
include/sound/core.h ...
| Jan 29, 3:50 pm 2007 |
| Greg KH | [PATCH 1/1] [PATCH] ALSA: Fix sysfs breakage
From: Takashi Iwai <tiwai@suse.de>
The recent change for a new sysfs tree with card* object breaks the
/sys/class/sound tree if CONFIG_SYSFS_DEPRECATED is enabled.
The device in each entry doesn't point the correct device object:
/sys/class/sound
...
|-- pcmC0D0c
| |-- dev
| |-- device -> ../../../class/sound/card0
| |-- pcm_class
| |-- power
| | `-- wakeup
| |-- subsystem -> ../../../class/sound
| `-- uevent
Also, this change breaks some drivers ...
| Jan 29, 3:52 pm 2007 |
| Mike Frysinger | [patch] rename members in dummy _xt_align struct
--nextPart1550477.nZ2r2BMeEE
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
i'd like to rename the members in the _xt_align struct in=20
netfilter/x_tables.h ... by not using 'u8', 'u16', etc..., it's possible to=
=20
filter headers meant for userspace through the preprocessor and pull out=20
people who accidentally utilize these internal types ... however, by using=
=20
struct members who have the same name as 'u8', ...
| Jan 29, 3:25 pm 2007 |
| Josef 'Jeff' Sipek | [PATCH 4/4] fs/unionfs/: Don't duplicate the struct nameidata
The only fields that we have to watch out for are the dentry and vfsmount.
Additionally, this makes Unionfs gentler on the stack as nameidata is rather
large.
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
---
fs/unionfs/inode.c | 22 ++++++++++++++++------
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/fs/unionfs/inode.c b/fs/unionfs/inode.c
index 3b4a388..1b2e8a8 100644
--- a/fs/unionfs/inode.c
+++ b/fs/unionfs/inode.c
@@ -191,15 +191,25 @@ static struct ...
| Jan 29, 1:37 pm 2007 |
| Josef Sipek | Re: [PATCH 4/4] fs/unionfs/: Don't duplicate the struct ...
Not sure why this was sent. The other 4/4 email is the correct one.
Josef "Jeff" Sipek.
--
Bad pun of the week: The formula 1 control computer suffered from a race
condition
-
| Jan 29, 1:40 pm 2007 |
| Josef 'Jeff' Sipek | [PATCH 4/4] fs/unionfs/: Don't duplicate the struct nameidata
Josef 'Jeff' Sipek (3):
fs/unionfs/: Remove stale_inode.c
fs/unionfs/: Andrew Morton's comments
fs/unionfs/: Don't duplicate the struct nameidata
fs/unionfs/branchman.c | 4 +-
fs/unionfs/commonfops.c | 54 +++++++++++-----------
fs/unionfs/copyup.c | 67 +++++++++++++++------------
fs/unionfs/dentry.c | 19 +++-----
fs/unionfs/fanout.h | 51 +++++++++++++++++----
fs/unionfs/file.c | 17 +++-----
fs/unionfs/inode.c | 69 ...
| Jan 29, 1:37 pm 2007 |
| Josef 'Jeff' Sipek | [GIT PULL -mm] Unionfs updates/cleanups
The following patches (also available though the git tree) address a number
of code cleanliness issues with Unionfs.
You can pull from 'master' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/jsipek/unionfs.git
to receive the following:
Adrian Bunk (1):
fs/unionfs/: possible cleanups
Josef 'Jeff' Sipek (3):
fs/unionfs/: Remove stale_inode.c
fs/unionfs/: Andrew Morton's comments
fs/unionfs/: Don't duplicate the struct nameidata
fs/unionfs/branchman.c ...
| Jan 29, 1:37 pm 2007 |
| Josef 'Jeff' Sipek | [PATCH 1/4] fs/unionfs/: Remove stale_inode.c
The stale inode operations were heavily based on bad inode operations. This
patch removes stale_inode.c and converts all users of stale_inode_ops to
bad_inode_ops as there seems to be no reason to return ESTALE instead of
EIO.
This is the more appropriate than porting the bad_inode.c fix (commit
be6aab0e9fa6d3c6d75aa1e38ac972d8b4ee82b8) to stale_inode.c.
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
---
fs/unionfs/dentry.c | 2 +-
fs/unionfs/stale_inode.c | 112 ...
| Jan 29, 1:37 pm 2007 |
| Josef 'Jeff' Sipek | [PATCH 3/4] fs/unionfs/: Andrew Morton's comments
- rename {,un}lock_dentry to unionfs_{,un}lock_dentry
- few minor coding style fixes
- removed prototypes from .c files
- replaced dbstart macros etc with static inlines
- replaced UNIONFS_D(d)->sem semaphore with a mutex
- renamed sioq struct workqueue to superio_workqueue
- made unionfs_get_nlinks and alloc_whname not inlined
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
---
fs/unionfs/branchman.c | 4 +-
fs/unionfs/commonfops.c | 48 ++++++++++----------
...
| Jan 29, 1:37 pm 2007 |
| Josef 'Jeff' Sipek | [PATCH 2/4] fs/unionfs/: possible cleanups
From: Adrian Bunk <bunk@stusta.de> - unquoted
This patch contains the following possible cleanups:
- every function should #include the headers containing the prototypes
of it's global functions
- static functions in C files shouldn't be marked "inline", gcc should
know best when to inline them
- make needlessly global code static
- #if 0 the following unused global function:
- stale_inode.c: is_stale_inode()
Signed-off-by: Adrian Bunk <bunk@stusta.de>
[removed stale inode related ...
| Jan 29, 1:37 pm 2007 |
| Chuck Ebbert | How many people are using 2.6.16?
Is there any way to estimate the size of the user base for 2.6.16?
e.g. how many downloads does it get?
-
| Jan 29, 1:30 pm 2007 |
| Josh Boyer | Re: How many people are using 2.6.16?
Are you including distros that use it as well?
josh
-
| Jan 29, 1:35 pm 2007 |
| Mike Houston | Re: How many people are using 2.6.16?
On Mon, 29 Jan 2007 15:30:00 -0500
I've often wondered that myself, as I'm concerned for it to continue
to be maintained. I'm very appreciative of what Adrian is doing with
it. (Thanks!)
I've been using Adrian's 2.6.16 kernel releases on two internet
servers that I look after remotely. One of them is RHEL 4 the other
is Fedora Core 2 (Ensim Webppliance). I'm especially wary of breaking
RHEL 4, and the 2.6.16.xx kernels work perfectly except for the
hald not starting (but that doesn't matter ...
| Jan 29, 2:04 pm 2007 |
| Chuck Ebbert | Re: How many people are using 2.6.16?
Yes, if they're based on Adrian's stable series.
-
| Jan 29, 1:38 pm 2007 |
| Bron Gondwana | Re: How many people are using 2.6.16?
We're still running 2.6.16 kernels on a bunch of machines, though 2.6.19
has been looking pretty nice on the couple of machines that are testing
it. 2.6.17 and 2.6.18 felt less stable.
We do a lot of Cyrus which does a lot of MMAP - and we also use the
Areca driver - which are both strong reasons to move to 2.6.19.2, but
if the MMAP fix was ported back to 2.6.16 we might consider staying
there instead.
Bron.
-
| Jan 29, 3:13 pm 2007 |
| Frederik Deweerdt | [-mm patch] rcu_trace build fix (was Re: 2.6.20-rc6-mm2 ...
Hi,
It looks like a typo there, thanks for reporting. The attached patch
"s/RCU_TRACE/CONFIG_RCU_TRACE/" did the trick for me.
Btw, shouldn't the RCU_TRACE macro be defined to "do {} while(0)" in the
!CONFIG_RCU_TRACE case?
Regards,
Frederik
Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
diff --git a/kernel/rcupreempt.c b/kernel/rcupreempt.c
index f8962a7..9b7d66b 100644
--- a/kernel/rcupreempt.c
+++ b/kernel/rcupreempt.c
@@ -619,7 +619,7 @@ void ...
| Jan 29, 4:05 pm 2007 |
| Tomasz Kvarsin | 2.6.20-rc6-mm2 build failure
I try to compile and got:
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
CC kernel/rcupreempt.o
kernel/rcupreempt.c: In function 'rcupreempt_try_flip_state_name':
kernel/rcupreempt.c:641: error: 'rcu_try_flip_state_names' undeclared
(first use in this function)
kernel/rcupreempt.c:641: error: (Each undeclared identifier is
reported only once
kernel/rcupreempt.c:641: error: for each function it appears in.)
kernel/rcupreempt.c: ...
| Jan 29, 1:31 pm 2007 |
| Andrew Morton | Re: [PATCH] slab.c ifdef reduction breaks build
On Mon, 29 Jan 2007 12:41:33 -0800 (PST)
We don't need the `if (CONFIG_ZONE_DMA_FLAG)' any more, do we?
-
| Jan 29, 1:56 pm 2007 |
| Christoph Lameter | Re: [PATCH] slab.c ifdef reduction breaks build
This would need to be
#idef CONFIG_ZONE_DMA
There have been some recent changes though so I am not sure what your
codebase is.
-
| Jan 29, 1:15 pm 2007 |
| Jeff Dike | [PATCH] slab.c ifdef reduction breaks build
optional-zone_dma-in-the-vm-no-gfp_dma-check-in-the-slab-if-
no-config_zone_dma-is-set-reduce-config_zone_dma-ifdefs converts some
ifdefs into ifs.
One of them causes cs_dmacachep to be referenced, when that field
doesn't exist, because it's ifdefed on CONFIG_ZONE_DMA.
I'd suggest reverting that chunk.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
--
mm/slab.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Index: ...
| Jan 29, 1:05 pm 2007 |
| Christoph Lameter | Jan 29, 2:44 pm 2007 | |
| Christoph Lameter | Re: [PATCH] slab.c ifdef reduction breaks build
I also hit the same issue. Here is the patch:
Fix slab build failure if !CONFIG_ZONE_DMA
I also needed this to get 2.6.20-rc6-mm2 to build. Fixes the fix by the
complainer about the fixes. #ifdef cannot be avoided since cs_dmacachep
is no longer defined.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Index: linux-2.6.20-rc6-mm2/mm/slab.c
===================================================================
--- linux-2.6.20-rc6-mm2.orig/mm/slab.c 2007-01-29 14:27:58.000000000 ...
| Jan 29, 1:41 pm 2007 |
| Chuck Ebbert | [patch] i386: add option to show more code in oops reports
Sometimes developers need to see more object code in an oops report,
e.g. when kernel may be corrupted at runtime.
Add the "code_bytes" option for this.
Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
| Jan 29, 1:11 pm 2007 |
| Mark Fasheh | Re: [Ocfs2-devel] [git patches] ocfs2 fixes
Ok, never mind - I just noticed that you directly applied my patch on
Friday. Thanks!
--Mark
--
Mark Fasheh
Senior Software Developer, Oracle
mark.fasheh@oracle.com
-
| Jan 29, 2:19 pm 2007 |
| Mark Fasheh | [git patches] ocfs2 fixes
Hi Linus,
I made a silly error in my last upstream push. This patch makes
ocfs2 build again.
--Mark
Please pull from 'upstream-linus' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2.git upstream-linus
to receive the following updates:
fs/ocfs2/ocfs2_fs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Mark Fasheh:
ocfs2: fix thinko in ocfs2_backup_super_blkno()
diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h
index c99e905..e61e218 ...
| Jan 29, 1:04 pm 2007 |
| Josh Triplett | [PATCH] cdev.h needs struct inode; add forward declaration
include/linux/cdev.h defines cd_forget to take a struct inode *, but does not
pull in any definition or declaration for struct inode. This generates a
compiler warning if a source file pulls in cdev.h without first pulling in
fs.h. Add a forward declaration of struct inode to cdev.h, to eliminate the
compiler warning and preserve the ability to include headers in any arbitrary
order.
Signed-off-by: Josh Triplett <josh@kernel.org>
---
include/linux/cdev.h | 2 ++
1 files changed, 2 ...
| Jan 29, 1:01 pm 2007 |
| Mike Frysinger | [patch] translate dashes in filenames for headers install
--nextPart10179547.8WxpbZO3dJ
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
the current filename->define translation does not scrub dashes so when=20
creating stub defines for like asm-x86_64/ptrace-abi.h, we get:
#define __ASM_STUB_PTRACE-ABI_H
gcc just hates that sort of thing :)
trivial attached patch adds - to the tr list to scrub it to _
=2Dmike
--nextPart10179547.8WxpbZO3dJ
Content-Type: ...
| Jan 29, 12:58 pm 2007 |
| Miklos Szeredi | [PATCH] fuse: fix bug in control filesystem mount
Linus, please apply before 2.6.20. Thanks.
The BUG in fuse_ctl_add_dentry() could be triggered if the control
filesystem was unmounted and mounted again while one or more fuse
filesystems were present.
The fix is to reset the dentry counter in fuse_ctl_kill_sb().
Bug reported by Florent Mertens.
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
---
Index: linux/fs/fuse/control.c
===================================================================
--- ...
| Jan 29, 12:47 pm 2007 |
| Maynard Johnson | [RFC, PATCH 0/4] Add support to OProfile for profiling C ...
On December 14, 2006, I posted a patch that added support to the
OProfile kernel driver for profiling Cell SPUs. There have been some
changes/fixes to this patch since the original posting (including
forward porting from 2.6.18-based kernel to 2.6.20-rc1), so I am
reposting the patch for review now. This patch relies upon the
following patches that have not been accepted yet:
1. oprofile cleanup patch (submitted on Nov 27)
2. Fix for PPU profiling (not submitted yet, since it depends ...
| Jan 29, 12:45 pm 2007 |
| Maynard Johnson | Jan 29, 12:48 pm 2007 | |
| Maynard Johnson | Jan 29, 12:46 pm 2007 | |
| Maynard Johnson | Jan 29, 12:48 pm 2007 | |
| Maynard Johnson | Jan 29, 12:47 pm 2007 | |
| Evgeniy Dushistov | [RFC] [PATCH 3/3] ufs2 write: block allocation update
Patch adds ability to work with 64bit metadata,
this made by replacing work with 32bit pointers by
inline functions.
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
---
Index: linux-2.6.20-rc5/fs/ufs/balloc.c
===================================================================
--- linux-2.6.20-rc5.orig/fs/ufs/balloc.c
+++ linux-2.6.20-rc5/fs/ufs/balloc.c
@@ -4,6 +4,8 @@
* Copyright (C) 1998
* Daniel Pirkl <daniel.pirkl@email.cz>
* Charles University, Faculty of Mathematics ...
| Jan 29, 12:20 pm 2007 |
| Evgeniy Dushistov | [RFC] [PATCH 2/3] ufs2 write: inodes write
This patch adds into write inode path function to write
UFS2 inode,
and modifys allocate inode path to allocate and init additional
inode chunks.
Also some cleanups:
- remove not used parameters in some functions
- remove i_gen field from ufs_inode_info structure,
there is i_generation in inode structure with same purposes.
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
---
Index: ...
| Jan 29, 12:20 pm 2007 |
| Evgeniy Dushistov | [RFC] [PATCH 1/3] ufs2 write: mount as rw
These series of patches add UFS2 write-support.
UFS2 - is default file system for recent versions of FreeBSD.
The main differences from UFS1 from write support point of view
are:
1)Not all inodes are allocated during formatation of disk.
2)All meta-data(pointer to data blocks) are 64bit(in UFS1 they
are 32bit).
So patch series consist of
1)make possible mount UFS2 in read-write mode
2)code to write ufs2 inodes and code to initialize inodes chunks.
3)work with 64bit meta-data
I made ...
| Jan 29, 12:19 pm 2007 |
| Adam Litke | [PATCH] Don't allow the stack to grow into hugetlb reser ...
When expanding the stack, we don't currently check if the VMA will cross into
an area of the address space that is reserved for hugetlb pages. Subsequent
faults on the expanded portion of such a VMA will confuse the low-level MMU
code, resulting in an OOPS. Check for this.
Signed-off-by: Adam Litke <agl@us.ibm.com>
---
mm/mmap.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/mm/mmap.c b/mm/mmap.c
index 9717337..2c6b163 100644
--- a/mm/mmap.c
+++ ...
| Jan 29, 11:34 am 2007 |
| Jan Engelhardt | Re: Multiple ip= boot arguments?
This is the preffered way nowadays. One day, hopefully,
CONFIG_IP_PNP can go away.
-`J'
--
-
| Jan 29, 1:48 pm 2007 |
| Kevin Nicoll | Multiple ip= boot arguments?
Hello,
I am using kernel 2.6.18, and have been trying without success to set
up multiple network interfaces using kernel boot arguments. It makes
sense to be able to specify multiple interface configurations on the
command line, but it has occurred to me that I may not be correctly
understanding the purpose of the "ip=" parameter. My question is if
it is intended to be able to use more than one "ip=" parameter in the
kernel command line, or if I'm supposed to use a startup ...
| Jan 29, 11:36 am 2007 |
| Dan Aloni | [PATCH] fix I/OAT for kexec
Hello,
Under kexec, I/OAT initialization breaks over busy resources
because the previous kernel did not release them.
I'm not sure this fix can be considered a complete one but
it works for me. I guess something similar to the *_remove
method should occur there..
Signed-off-by: Dan Aloni <da-x@monatomic.org>
diff --git a/drivers/dma/ioatdma.c b/drivers/dma/ioatdma.c
index 8e87261..9a50701 100644
--- a/drivers/dma/ioatdma.c
+++ b/drivers/dma/ioatdma.c
@@ -42,6 +42,7 @@ #define ...
| Jan 29, 11:15 am 2007 |
| Leo Yuriev | 2.6.19 + VIA EPIA = very mysterious RESET-problem :(
Good day.
I have a really big trouble with VIA-EPIA mainboards under Linux
2.6.19. After loading kernel Linux the RESET-circuit ceases to work
correctly.
At reset (by RESET-button or by Watchdog) the system begins to be
restarted, but hangs before occurrence of any BIOS-messages. Only a
power-off and then power-up can help. The problem has been reproduced
confidently and constantly, I has checked up about 20 mainboards (EPIA-
EN/C7 and EPIA-PD/C3).
I am sure, this is not a Linux-related ...
| Jan 29, 10:38 am 2007 |
| Thomas Klein | [PATCH 2.6.20-rc6 2/2] ehea: Fixed missing tasklet_kill() call
NEQ-Tasklet wasn't killed when module is removed.
Signed-off-by: Thomas Klein <tklein@de.ibm.com>
---
drivers/net/ehea/ehea_main.c | 1 +
1 files changed, 1 insertion(+)
diff -Nurp -X dontdiff linux-2.6.20-rc6/drivers/net/ehea/ehea_main.c patched_kernel/drivers/net/ehea/ehea_main.c
--- linux-2.6.20-rc6/drivers/net/ehea/ehea_main.c 2007-01-29 15:53:00.000000000 +0100
+++ patched_kernel/drivers/net/ehea/ehea_main.c 2007-01-29 15:53:34.000000000 +0100
@@ -2598,6 +2598,7 @@ static ...
| Jan 29, 10:44 am 2007 |
| Thomas Klein | [PATCH 2.6.20-rc6 1/2] ehea: Fixed wrong jumbo frames st ...
This patch fixes the wrong query and logging of the per interface jumbo frames
enabled/disabled status.
Signed-off-by: Thomas Klein <tklein@de.ibm.com>
---
drivers/net/ehea/ehea.h | 2 +-
drivers/net/ehea/ehea_main.c | 30 +++++++++++++++++++++++-------
2 files changed, 24 insertions(+), 8 deletions(-)
diff -Nurp -X dontdiff linux-2.6.20-rc6/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h
--- linux-2.6.20-rc6/drivers/net/ehea/ehea.h 2007-01-25 ...
| Jan 29, 10:44 am 2007 |
| Stephen Hemminger | Re: [PATCH] Fix /sys/device/.../power/state regression
On Fri, 26 Jan 2007 19:02:37 -0800
For the case that started the discussion (wireless network devices).
The expected behavior is that the device remains in a low power state
until it enabled (set to up). If really smart a wired network device
can also stay in low power state until carrier is detected. There are
also other network device states (dormant, lower layer down), not currently
in use that could also be useful.
The point is that using the /sys/device/.../power/state file
is not the ...
| Jan 29, 10:36 am 2007 |
| Thomas Gleixner | [PATCH-mm] tick-management touch softlockup watchdog on resume
The softlockup watchdog needs to be touched after resume to avoid a
false positive.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Index: linux-2.6.20-rc6-mm/kernel/time/tick-common.c
===================================================================
--- linux-2.6.20-rc6-mm.orig/kernel/time/tick-common.c
+++ linux-2.6.20-rc6-mm/kernel/time/tick-common.c
@@ -320,6 +320,7 @@ static int tick_notify(struct notifier_b
case ...
| Jan 29, 10:40 am 2007 |
| Bernhard Walle | [PATCH] Fix compilation problem with spider network driv ...
Fixes compilation with 2.6.20-rc6-mm1.
Signed-off-by: Bernhard Walle <bwalle@suse.de>
---
drivers/net/spider_net.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Index: b/drivers/net/spider_net.c
===================================================================
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -1906,8 +1906,7 @@ spider_net_stop(struct net_device *netde
spider_net_write_reg(card, SPIDER_NET_GHIINT1MSK, 0);
spider_net_write_reg(card, ...
| Jan 29, 10:23 am 2007 |
| Phillip Susi | vger truncating CC lists
I have noticed that vger seems to be truncating Cc lists lately, often
resulting in broken partial email addresses in the Cc list causing
people that reply to have copies of the message bounced back instead of
being delivered to the intended recipients. It seems that it munges
long, multi line Cc headers into one line, and truncates that line to a
maximum length. Who is the list admin again? And can they look into this?
-
| Jan 29, 8:54 am 2007 |
| Randy Dunlap | Re: vger truncating CC lists
http://vger.kernel.org/ says:
Email questions: <postmaster@vger.kernel.org>
---
~Randy
-
| Jan 29, 9:58 am 2007 |
| Evgeniy Polyakov | Re: [ANN] Userspace M-on-N threading model implementatio ...
P.S. I'm not subscribed to any of the above lists, please Cc: me in
replies.
--
Evgeniy Polyakov
-
| Jan 29, 7:57 am 2007 |
| Chris Friesen | Re: [ANN] Userspace M-on-N threading model implementatio ...
If you haven't already, I suggest you look into the story of NGPT and
also read the NPTL white paper
(http://people.redhat.com/drepper/nptl-design.pdf) especially section
5.1 describing why they went with a 1:1 model.
Chris
-
| Jan 29, 9:40 am 2007 |
| Evgeniy Polyakov | [ANN] Userspace M-on-N threading model implementation. A ...
Hello.
I'm pleased to announce initial userspace M-on-N threading model
implementation (for hackers) called NTL.
This is first alpha release, which indeed has bugs and limitations.
Userspace M-on-N threading model is based on the idea, that when signal
is delivered, kernel saves all information related to previous context
in stack, so it is possible to find it and replace.
M-on-N threading model compared to usual NPTL 1-on-1 model has following
advantages and disadvantages:
Benefits. ...
| Jan 29, 7:52 am 2007 |
| Peter Zijlstra | Re: VM: Fix nasty and subtle race in shared mmap'ed page ...
Sure, no problem.
Just a question to clarify matters, which kernels are you testing?
That is, you say corruption is now harder to trigger, is that with
the .20-rc kernels (or .19.2). Or are we talking about .18 + my patch?
-
| Jan 29, 7:11 am 2007 |
| Andrea Gelmini | Re: VM: Fix nasty and subtle race in shared mmap'ed page ...
well, I spent some time doing more deeply test.
DB corruption happens anyway, even with the kernel that seems to work
(I say seems because it needs much more effort to get corruption).
I'm trying to understand it.
I will work more over it next week.
thank a lot for your time,
gelma
-
| Jan 29, 7:08 am 2007 |
| Andrea Arcangeli | Re: VM: Fix nasty and subtle race in shared mmap'ed page ...
I'm a bit skeptical that bdb would really be the only thing able to
reproduce a longstanding MAP_SHARED corruption. bdb may be using mmap
a lot but there are tons of other apps using MAP_SHARED a lot too, so
while not impossible I rate it not very probable that a vm race is to
blame for bdb troubles.
bdb is quite a complex piece of code (I once almost fallen in the trap
of depending on it myself), and if you use threads you exercise even
more of its complexity (more than you probably should). ...
| Jan 29, 8:12 am 2007 |
| Oleg Verych | Jan 29, 7:30 am 2007 | |
| Pavel Machek | Re: [ANNOUNCE] System Inactivity Monitor v1.0
Just use same time source rest of inputs already do...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
| Jan 29, 3:28 pm 2007 |
| Alessandro Di Marco | Re: [ANNOUNCE] System Inactivity Monitor v1.0
Vojtech Pavlik <vojtech@suse.cz> writes:
On Sat, Jan 27, 2007 at 05:45:25PM +0000, Pavel Machek wrote:
> Hi!
>
> > Well, I do not think your kernel code is mergeable. But bits to enable
> > similar functionality in userspace probably would be mergeable.
> >
> > You said it :-)
> >
> > This patch exports to the user space the inactivity time (in msecs) of a given
> > input device. Example follows:
>
> Looks okay to me. I guess you should sign it ...
| Jan 29, 6:58 am 2007 |
| Alessandro Di Marco | Re: [ANNOUNCE] System Inactivity Monitor v1.0
Pavel Machek <pavel@ucw.cz> writes:
Hi!
> The /proc/bus/input/devices has an extensible structure. You can just
> add an "A:" line (for Activity) instead of adding a new proc file.
>
> I know, but IMO there is too much stuff to parse in there. Activity counters
> are frequently accessed by daemons, and four or five concurrent daemons are the
> norm in a typical X11 linux box...
Syscalls are fast enough, and the file is _very_ easy (=> fast) to parse.
> ...
| Jan 29, 3:42 pm 2007 |
| Dirk Behme | [PATCH -rt] Make patch-2.6.20-rc6-rt4 compile & link for ARM
Hi,
at least for me it looks like I need something like in
attachment to get patch-2.6.20-rc6-rt4 compile and link for ARM.
Please correct if anything is wrong.
Regards
Dirk
| Jan 29, 6:59 am 2007 |
| Rene Herman | [PATCH] x86_64: sync up probe_roms() with i386
Hi Andrew.
This syncs up the x86_64 probe_roms() with the i386 version as just
submitted.
===
Sync up with i386. Specifically, be careful about touching the
legacy ROMs; in virtualized environments they may not be mapped.
Crosscompiled, but not booted due to lack of hardware.
Signed-off-by: Rene Herman <rene.herman@gmail.com>
===
Rene
| Jan 29, 6:46 am 2007 |
| Rene Herman | Re: [PATCH] x86_64: sync up probe_roms() with i386
In the meantime tested by Martin Murray on x86_64 native and inside
vmware (thanks much!) who told me I could add his sob:
Signed-off-by: Martin Murray <murrayma@citi.umich.edu>
Rene.
-
| Jan 29, 9:55 am 2007 |
| Rene Herman | [PATCH] i386: probe_roms() cleanup
Hi Andrew.
Resubmit. I once heard you say you wanted patches not against -mm but
against mainline so this replaces "romsignature-checksum-cleanup.patch"
in current -mm.
===
Remove the assumption that if the first page of a legacy ROM is mapped,
it'll all be mapped. This'll also stop people reading this code from
wondering if they're looking at a bug...
Signed-off-by: Rene Herman <rene.herman@gmail.com>
===
Rene.
| Jan 29, 6:46 am 2007 |
| Andi Kleen | Re: - romsignature-checksum-cleanup-2.patch removed from ...
The x86_64 tree is really a x86 tree these days and contains most i386 changes.
But in general if you change i386 then changing x86_64 makes sense too.
-Andi
-
| Jan 29, 6:52 am 2007 |
| Rene Herman | Re: - romsignature-checksum-cleanup-2.patch removed from ...
I was (am) quite unsure why this was, given that the patch did not touch
x86_64 at all and moreover continued to apply cleanly to mm...
Did you just mean you also wanted the x86_64 version of it? In the next
two messages I'll resubmit the i386 version, and submit the x86_64 version.
i386 has been compiled and tested, x86_64 has been crosscompiled only,
due to lack of hardware. It's completely the same as the i386 version
though...
Rene.
-
| Jan 29, 6:46 am 2007 |
| Geert Uytterhoeven | [PATCH] `make help' in build tree doesn't show headers_* ...
`make help' in the build tree doesn't show the help texts about the
`headers_install' and `headers_check' targets because it looks for
include/asm-$(ARCH)/Kbuild in the wrong place.
Add the missing `$(srctree)' prefixes to fix this.
Also move the printing of the default install path for the headers inside the
`if/fi', where it belongs.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
---
Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--- ...
| Jan 29, 5:47 am 2007 |
| Roi Avidan | PROBLEM: PCI: Bus #07 (-#0a) is hidden behind transparen ...
Following is the bug report according to the bullets in
http://www.kernel.org/pub/linux/docs/lkml/reporting-bugs.html.
I hope it can help:
[1] PCI: Bus #07 (-#0a) is hidden behind transparent bridge #06
(-#06) (try 'pci=assign-busses')
[2] I do not see an immediate problem with my system. I'm just
following the request found in dmesg log to post this report.
[3] Keywords: PCI
[4] Linux version 2.6.19-gentoo-r4 (root@roipc) (gcc version 4.1.1
(Gentoo 4.1.1-r3)) #1 Sat Jan 13 ...
| Jan 29, 5:42 am 2007 |
| Andy Whitcroft | Re: [PATCH 0/4] Lumpy Reclaim V3
Yes, the "ineffective reclaim" is more of an issue with this than
linear, and the cost metric we are working on should help us show that;
and then help us evaluate the utility of pushing the pages back without
Yes, what was obvious from the linear against lumpy was that the only
valid comparison was on the 'effectiveness' metric (which was basically
the same) and code complexity (where lumpy clearly wins). But we have
no feel for 'cost'. We are working on a cost metric for reclaim ...
| Jan 29, 5:25 am 2007 |
| Andy Whitcroft | Re: [PATCH 0/4] Lumpy Reclaim V3
With the code as it is in this patch this is safe as there is an
uncommented assumption that the active parameter is actually also the
return from a call to PageActive and therefore should be comparible
regardless of value. However, as you also point out elsewhere we are in
fact looking that active value up every time we spin the search loop,
firstly doing it loads more than required, and second potentially when
unlucky actually picking the wrong value from a page in transition and
doing bad ...
| Jan 29, 5:24 am 2007 |
| Alexey Dobriyan | [PATCH -mm] sn2: use static ->proc_fops
fix-rmmod-read-write-races-in-proc-entries.patch doesn't want dynamically
allocated ->proc_fops, because it will set it to NULL at module unload time.
Regardless of module status, switch to statically allocated ->proc_fops which
leads to simpler code without wrappers.
AFAICS, also fix the following bug: "sn_force_interrupt" proc entry set
->write for itself, but was created with 0444 permissions. Change to 0644.
Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
---
...
| Jan 29, 5:29 am 2007 |
| Daniel Kabs | Problem with unix sockets: SOCK_DGRAM ignores MSG_TRUNC
Hi,
I use unix domain datagram sockets for IPC, e.g. I receive messages by
calling recv().
"man 2 recv" tells me about the flags argument to a recv() call, namely:
MSG_TRUNC
Return the real length of the packet, even when it was longer
than the passed buffer. Only valid for packet sockets.
Thus I used recv() with flags MSG_TRUNC|MSG_PEEK in order to detect
message truncation due to insufficient buffer size.
Strangely enough, MSG_TRUNC seems to get ignored by the ...
| Jan 29, 4:59 am 2007 |
| Martin Schwidefsky | Re: + mm-search_binary_handler-mem-limit-fix.patch added ...
For architectures with a split address space there has to be a call
set_fs(USER_DS) that switches from KERNEL_DS to USER_DS for the init
process. So far this has been done in search_binary_handler and
traditionally the kernel starts with KERNEL_DS to make the early
copy_from_user calls work.
So, what is wrong with always setting USER_DS? We are starting a user
space process after all.
--
blue skies,
Martin.
Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland ...
| Jan 29, 11:18 am 2007 |
| Heiko Carstens | Re: + mm-search_binary_handler-mem-limit-fix.patch added ...
This patch breaks s390. I haven't yet tried to figure out why, but does this
patch actually fix a real bug?
-
| Jan 29, 4:33 am 2007 |
| Andrew Morton | Re: + mm-search_binary_handler-mem-limit-fix.patch added ...
On Mon, 29 Jan 2007 14:59:58 +0100
hm, thanks for testing - I'll drop it.
I don't really understand what's wrong with it though. Maybe it's settng
USER_DS on kernel threads?
-
| Jan 29, 10:37 am 2007 |
| Heiko Carstens | Re: + mm-search_binary_handler-mem-limit-fix.patch added ...
This is broken. This is the only place in kernel that sets fs to USER_DS
for a new process. With this patch we could as well get rid of USER_DS and
all the address space checkings.
Besides that it breaks architectures with distinct physical address spaces.
-
| Jan 29, 6:59 am 2007 |
| Oliver Neukum | question on resume()
Hi,
may a driver call wake_up() while doing resume() ?
Regards
Oliver
-
| Jan 29, 4:06 am 2007 |
| Oliver Neukum | Re: question on resume()
If so, how do I notify tasks presumably about to be thawed that their
IO failed?
Regards
Oliver
-
| Jan 29, 4:34 am 2007 |
| Nigel Cunningham | Re: question on resume()
Hi.
Do you mean I/O to disk? If so, it won't fail. All pending I/O gets
processed like normal either before or after suspending and resuming.
If you mean something like a packet being transmitted over the network,
you should be using the normal paths for recording success/failure.
HTH.
Nigel
-
| Jan 29, 1:14 pm 2007 |
| Oliver Neukum | Re: question on resume()
I am talking about a character device that puts requests onto a queue.
If the queue is restarted after resumption the normal error path is waking
up the waiting tasks.
Regards
Oliver
-
| Jan 29, 2:04 pm 2007 |
| Rafael J. Wysocki | Re: question on resume()
Hi,
Hm, this way or another, the notification of tasks should be deferred until
they are thawed. The freezeable workqueue idea seems sensible to me.
Greetings,
Rafael
--
If you don't have the time to read,
you don't have the time or the tools to write.
- Stephen King
-
| Jan 29, 4:10 pm 2007 |
| Nigel Cunningham | Re: question on resume()
Hi.
I assume you mean waking a userspace process from drivers_resume(). If
so, the answer is no - processes will still be frozen at the point. In
the case of Suspend2, the LRU pages will still not have been read
either, so Suspend2 users would hate you for making hibernation crash
and burn :)
Regards,
Nigel
-
| Jan 29, 4:24 am 2007 |
| Nigel Cunningham | Re: question on resume()
Hi.
Ok. In that case, you'd want to delay trying to wake them until resuming
is completed.
Unless there's something I've forgotten, we don't currently have an easy
way for you to determine when processes are thawed. Perhaps this
indicates a need for us to have a notifier chain for the end of a cycle?
You could create a freezeable workqueue and schedule work from your
device_resume call (assuming that's doesn't raised atomicity issues),
but I wonder if that approach would be too heavy ...
| Jan 29, 2:21 pm 2007 |
| Nick Piggin | [patch 3/9] mm: revert "generic_file_buffered_write(): d ...
From: Andrew Morton <akpm@osdl.org>
Revert 6527c2bdf1f833cc18e8f42bd97973d583e4aa83
This patch fixed the following bug:
When prefaulting in the pages in generic_file_buffered_write(), we only
faulted in the pages for the firts segment of the iovec. If the second of
successive segment described a mmapping of the page into which we're
write()ing, and that page is not up-to-date, the fault handler tries to lock
the already-locked page (to bring it up to date) and deadlocks.
An ...
| Jan 29, 3:32 am 2007 |
| Nick Piggin | [patch 0/9] buffered write deadlock fix
The following set of patches attempt to fix the buffered write
locking problems (and there are a couple of peripheral patches
and cleanups there too).
Patches against 2.6.20-rc6. I was hoping that 2.6.20-rc6-mm2 would
be an easier diff with the fsaio patches gone, but the readahead
rewrite clashes badly :(
Please apply?
Thanks,
Nick
--
SuSE Labs
-
| Jan 29, 3:31 am 2007 |
| Nick Piggin | [patch 5/9] mm: debug write deadlocks
Allow CONFIG_DEBUG_VM to switch off the prefaulting logic, to simulate the
difficult race where the page may be unmapped before calling copy_from_user.
Makes the race much easier to hit.
This is useful for demonstration and testing purposes, but is removed in a
subsequent patch.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Index: linux-2.6/mm/filemap.c
===================================================================
--- linux-2.6.orig/mm/filemap.c
+++ linux-2.6/mm/filemap.c
@@ -1894,6 ...
| Jan 29, 3:32 am 2007 |
| Nick Piggin | [patch 7/9] mm: cleanup pagecache insertion operations
Quite a bit of code is used in maintaining these "cached pages" that are
probably pretty unlikely to get used. It would require a narrow race where
the page is inserted concurrently while this process is allocating a page
in order to create the spare page. Then a multi-page write into an uncached
part of the file, to make use of it.
Next, the buffered write path (and others) uses its own LRU pagevec when it
should be just using the per-CPU LRU pagevec (which will cut down on both data
and code ...
| Jan 29, 3:32 am 2007 |
| Nick Piggin | Re: [patch 9/9] mm: fix pagecache write deadlocks
Hmm, I guess these should use kmap_atomic with KM_USER[01]?
The kmap is from an earlier iteration that wanted to sleep
with the page mapped into kernel.
-
| Jan 29, 4:11 am 2007 |
| Nick Piggin | [patch 6/9] mm: be sure to trim blocks
If prepare_write fails with AOP_TRUNCATED_PAGE, or if commit_write fails, then
we may have failed the write operation despite prepare_write having
instantiated blocks past i_size. Fix this, and consolidate the trimming into
one place.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Index: linux-2.6/mm/filemap.c
===================================================================
--- linux-2.6.orig/mm/filemap.c
+++ linux-2.6/mm/filemap.c
@@ -1911,22 +1911,9 @@ generic_file_buffered_write(struct ...
| Jan 29, 3:32 am 2007 |
| Nick Piggin | [patch 1/9] fs: libfs buffered write leak fix
simple_prepare_write and nobh_prepare_write leak uninitialised kernel data.
Fix the former, make a note of the latter. Several other filesystems seem
to be iffy here, too.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Index: linux-2.6/fs/libfs.c
===================================================================
--- linux-2.6.orig/fs/libfs.c
+++ linux-2.6/fs/libfs.c
@@ -327,32 +327,35 @@ int simple_readpage(struct file *file, s
int simple_prepare_write(struct file *file, struct page ...
| Jan 29, 3:31 am 2007 |
| Nick Piggin | [patch 2/9] mm: revert "generic_file_buffered_write(): h ...
From: Andrew Morton <akpm@osdl.org>
Revert 81b0c8713385ce1b1b9058e916edcf9561ad76d6.
This was a bugfix against 6527c2bdf1f833cc18e8f42bd97973d583e4aa83, which we
also revert.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Index: linux-2.6/mm/filemap.c
===================================================================
--- linux-2.6.orig/mm/filemap.c
+++ linux-2.6/mm/filemap.c
@@ -1911,12 +1911,6 @@ generic_file_buffered_write(struct kiocb
...
| Jan 29, 3:31 am 2007 |
| Nick Piggin | [patch 8/9] mm: generic_file_buffered_write iovec cleanup
Hide some of the open-coded nr_segs tests into the iovec helpers. This is
all to simplify generic_file_buffered_write, because that gets more complex
in the next patch.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Index: linux-2.6/mm/filemap.h
===================================================================
--- linux-2.6.orig/mm/filemap.h
+++ linux-2.6/mm/filemap.h
@@ -22,82 +22,82 @@ __filemap_copy_from_user_iovec_inatomic(
/*
* Copy as much as we can into the page and return the ...
| Jan 29, 3:32 am 2007 |
| Nick Piggin | [patch 9/9] mm: fix pagecache write deadlocks
Modify the core write() code so that it won't take a pagefault while holding a
lock on the pagecache page. There are a number of different deadlocks possible
if we try to do such a thing:
1. generic_buffered_write
2. lock_page
3. prepare_write
4. unlock_page+vmtruncate
5. copy_from_user
6. mmap_sem(r)
7. handle_mm_fault
8. lock_page (filemap_nopage)
9. commit_write
10. unlock_page
a. sys_munmap / sys_mlock / others
b. mmap_sem(w)
c. ...
| Jan 29, 3:33 am 2007 |
| Nick Piggin | [patch 4/9] mm: generic_file_buffered_write cleanup
From: Andrew Morton <akpm@osdl.org>
Clean up buffered write code. Rename some variables and fix some types.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Index: linux-2.6/mm/filemap.c
===================================================================
--- linux-2.6.orig/mm/filemap.c
+++ linux-2.6/mm/filemap.c
@@ -1854,16 +1854,15 @@ generic_file_buffered_write(struct kiocb
size_t count, ssize_t written)
{
struct file *file = ...
| Jan 29, 3:32 am 2007 |
| Anton Altaparmakov | Re: page_mkwrite caller is racy?
Other things got more important... I still am on the virge of using it
but I have to finish off other work first so the "virge" may be a little
Yes this is exactly what I need it in NTFS for. And also I need to be
able to perform a mmap'ed write into a non-initialized region, i.e. a
region which has disk allocation but has not been zeroed yet so in a total
worst case scenario I could have a huge file that is all allocated on disk
but completely not initialized yet and a single byte ...
| Jan 29, 1:41 pm 2007 |
| Mark Fasheh | Re: page_mkwrite caller is racy?
Ocfs2 absolutely needs to be able to sleep in there in order to take cluster
locks, do allocation, etc. I suspect ext3 and other file systems will want
to sleep in there when they start caring about being able to allocate the
page before it gets written to.
For an example of what I'm talking about, there's a shared_writeable_mmap
branch in ocfs2.git which makes use of ->page_mkwrite(). It's got some other
small problems which need fixing (when I get the time to do so), but
generally it should ...
| Jan 29, 1:00 pm 2007 |
| Hugh Dickins | Re: page_mkwrite caller is racy?
You're right. Well observed. It was I who originally added that
page_cache_release/page_cache_get, and the page_cache_get certainly
followed getting the page_table_lock when I first added them.
Looks like amidst all the intervening versions, with the patch going
into and getting dropped from -mm from time to time, those positions
became reversed without us noticing (almost certainly when the lock
Yes. I'm reluctant to steal your credit, but also reluctant to go
back and forth too much ...
| Jan 29, 9:08 am 2007 |
| Nick Piggin | page_mkwrite caller is racy?
Hi,
After do_wp_page calls page_mkwrite on its target (old_page), it then drops the
reference to the page before locking the ptl and verifying that the pte points
to old_page.
Unfortunately, old_page may have been truncated and freed, or reclaimed, then
re-allocated and used again for the same pagecache position and faulted in
read-only into the same pte by another thread. Then you will have a situation
where page_mkwrite succeeds but the page we use is actually a readonly one.
Moving ...
| Jan 29, 3:20 am 2007 |
| Michal Piotrowski | script that import patches from local mm-commits mbox an ...
Hi,
At first, change this variable
path_to_mbox_file = '/home/michal/.thunderbird/uyw4at28.default/Mail/Local\ Folders/mm_new2'
Copy to a new mbox patches that appeared after 2.6.20-rc6-mm2, get 2.6.20-rc6-mm2
http://userweb.kernel.org/~akpm/2.6.20-rc6-mm2/2.6.20-rc6-mm2-broken-out.tar.gz
and run witcher inside source tree.
http://www.stardust.webpages.pl/ltg/files/tools/witcher/witcher.py
example series diff
http://www.stardust.webpages.pl/ltg/files/tools/witcher/witcher-series
(it's not ...
| Jan 29, 3:15 am 2007 |
| Michal Piotrowski | Re: script that import patches from local mm-commits mbo ...
Now 'quilt fold' works fine.
Happy testing :)
Regards,
Michal
--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/)
-
| Jan 29, 4:24 pm 2007 |
| Jiri Kosina | Re: [PATCH] usbhid quirks for macbook(pro) updated to 2. ...
Greg,
do you have this already in your tree, or should I take it over?
Soeren - could you please submit your patch with proper Signed-off-by
line?
Thanks,
--
Jiri Kosina
-
| Jan 29, 2:38 am 2007 |
| Soeren Sonnenburg | Re: [PATCH] usbhid quirks for macbook(pro) updated to 2. ...
argh, sorry!
Attached!
Soeren
--
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.
| Jan 29, 3:59 am 2007 |
| Soeren Sonnenburg | Re: 2.6.20-rc6 pb_fnmode regression
Well I need in-kernel usbhid and the way this was implemented in 2.6.19
(and before) one could change pb_fnmode on-the-fly. This is mentioned in
all the power/i/mac/book tutorials and everyone is used to switching
modes this way.
I can happily patch the kernel to use the pb_fnmode but nonetheless this
is a regression to pre 2.6.20* and will confuse others too...
Soeren
--
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still ...
| Jan 29, 3:32 am 2007 |
| Jiri Kosina | Re: 2.6.20-rc6 pb_fnmode regression
So, does the patch below look OK to powerbook people? The only difference
is that the module taking care of pb_fnmode parameter is now hid, instead
of usbhid. If it is OK I will probably queue it as a bugfix for
2.6.20-rc6, as it seems that quite a lot of users got used to be able to
change pb_fnmode value through sysfs.
[PATCH] HID: pb_fnmode fix and move it to generic HID
The apple powerbook people are used to switch the pb_fnmode
setting at runtime through writing to sysfs, altering ...
| Jan 29, 4:45 am 2007 |
| Soeren Sonnenburg | Re: 2.6.20-rc6 pb_fnmode regression
For me yes ... I just rebooted and checked fn_modes ... it works nicely.
So I guess this should be applied ?!
Soeren
--
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.
-
| Jan 29, 8:12 am 2007 |
| Sergey Vlasov | Re: [linux-usb-devel] 2.6.20-rc6 pb_fnmode regression
There is module_param_call() - used at least by drivers/md/md.c:
static int get_ro(char *buffer, struct kernel_param *kp)
=2E..
static int set_ro(const char *val, struct kernel_param *kp)
=2E..
module_param_call(start_ro, set_ro, get_ro, NULL, S_IRUSR|S_IWUSR);
| Jan 29, 3:26 am 2007 |
| Jiri Kosina | Re: 2.6.20-rc6 pb_fnmode regression
Actually the cleanest solution would be when I change the code in such a
way that pb_fnmode parameter would be passed to hid instead of usbhid
module, as this is where the input mapping is being done (you could
potentially have a keyboard which needs the very same handling of fn mode
as usb powerbook keyboards currently have, but on different transport
- input mapping is logically transport independent).
But I guess you will be not OK with breaking the backward compatibility in
such way, ...
| Jan 29, 4:13 am 2007 |
| Soeren Sonnenburg | Re: 2.6.20-rc6 pb_fnmode regression
That sounds good for me. Breaking with what was there is not a problem
as long as this feature is still there, it can be done in a more clean
way this way, and the new /sys/foo/bar path is documented (basically
people nowadays expect slight user interface changes between kernel
I guess this warning is not too useful, except if it is triggered on
echo >/sys/*/pb_fnmode too (which I suspect is what most people do).
Soeren
--
Sometimes, there's a moment as you're waking, when you become ...
| Jan 29, 4:24 am 2007 |
| Jiri Kosina | Re: 2.6.20-rc6 pb_fnmode regression
Ah, now I see. The problem is that in pre-2.6.20-rc1 the pb_fnmode was
setting global variable, but after the HID layer rework, this is a per-hid
variable, which is of course not updated when write to sysfs triggers.
I will try to fix this before I send 2.6.20-rc6 updates to Linus, thanks
for pointing this out.
--
Jiri Kosina
-
| Jan 29, 3:40 am 2007 |
| Jiri Kosina | Re: 2.6.20-rc6 pb_fnmode regression
Hi Soeren,
I would probably not call this a regression, as this has been always
Changing module parameter values through sysfs is not a very nice idea,
because the change of the value is indeed silent - the driver is not
notified in any way, that the value has changed. So the driver should take
care of it by itself, which is not a nice thing.
The fact that during suspend/resume cycle it works is caused by the fact
that all the hid devices are reinitialized, and therefore the ...
| Jan 29, 2:55 am 2007 |
| Yakov Lerner | software read-only flag for rw partition or disk ?
Does /proc have any entries to flip the "software read-only flag"
for a partition or disk (which are physically read-write) ?
Yakov
-
| Jan 29, 2:02 am 2007 |
| Robert P. J. Day | finding "dead" CONFIG variables -- an exercise for the reader
FYI, the majority of patches i've submitted lately related to
potentially "dead" CONFIG variables in the source tree were identified
by a short script "dead_config.sh" i wrote you can find here:
http://www.fsdev.dreamhosters.com/wiki/index.php?title=Dead_CONFIG_variables
that script scans the source tree (or whatever subdirectory you pass
as an argument), collects all of the "CONFIG_" type macros in
conditional preprocessor statements, then spits out any of them that
aren't defined in ...
| Jan 29, 1:59 am 2007 |
| Laurent Riffard | Re: 2.6.20-rc6-mm2
Nice, reiser4 does work now. It was broken since 2.6.20-rc3-mm1, see
thanks
~~
laurent
-
| Jan 29, 2:37 pm 2007 |
| Laurent Riffard | [PATCH] compile and link utsname_sysctl.o
The utsname stuff has been moved from kernel/sysctl.c to the new file
utsname_sysctl.c. Let's use it...
Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
---
Index: linux-2.6-mm/kernel/Makefile
===================================================================
--- linux-2.6-mm.orig/kernel/Makefile
+++ linux-2.6-mm/kernel/Makefile
@@ -8,7 +8,8 @@ obj-y = sched.o fork.o exec_domain.o
signal.o sys.o kmod.o workqueue.o pid.o \
extable.o params.o posix-timers.o \
...
| Jan 29, 2:59 pm 2007 |
| Matthew Frost | Re: 2.6.20-rc6-mm2 - modules_install error
I have a consistent problem running 'make modules_install' after compiling. The
directory structure forms in /lib/modules, but no modules install. This problem
showed up under -rc6-mm1 and -rc6-mm2, but not -rc6. I'm hoping somebody has
hit this before, otherwise it's git-bisect time.
Process is what I have been given to understand as proper: untar, patch,
configure and make as $USER, make modules_install as root. I'm on a new
Slackware-11.0 install (glibc 2.3.6, gcc 3.4.6, module-init-tools ...
| Jan 29, 10:28 am 2007 |
| Jiri Kosina | Re: 2.6.20-rc6-mm2
It does.
Acked-by: Jiri Kosina <jkosina@suse.cz>
--
Jiri Kosina
-
| Jan 29, 9:28 am 2007 |
| Jiri Kosina | Re: 2.6.20-rc6-mm2
I just got this on suspend/resume cycle on my IBM T42p
pcspkr pcspkr: EARLY resume
vesafb vesafb.0: EARLY resume
serial8250 serial8250: EARLY resume
i8042 i8042: EARLY resume
platform floppy.0: EARLY resume
BUG: soft lockup detected on CPU#0!
[<c01043ae>] show_trace_log_lvl+0x1a/0x2f
[<c0104941>] show_trace+0x12/0x14
[<c01049c5>] dump_stack+0x16/0x18
[<c0142053>] softlockup_tick+0x93/0xa2
[<c011eb5b>] run_local_timers+0x12/0x14
[<c011ed6f>] update_process_times+0x36/0x5a
...
| Jan 29, 4:02 am 2007 |
| Andrew Morton | Re: [-mm patch] BUG at net/sunrpc/svc.c:128 (was Re: 2.6 ...
On Mon, 29 Jan 2007 11:21:41 +0000
Thanks.
Christoph, can you pleeeeeze be more careful? A few seconds inattention
and a dopey copy-n-paste bug leads to large amounts of wasted time for
other people.
-
| Jan 29, 10:32 am 2007 |
| Frederik Deweerdt | [-mm patch] BUG at net/sunrpc/svc.c:128 (was Re: 2.6.20- ...
Hi,
The svc_pool_map_init_percpu() should get maxpool from the number of
online cpus, not the number of nodes. The following BUG is triggered
when we try to check if the cpu index is smaller than the number of nodes.
(The system is multi cpu, single node).
[ 133.196276] ------------[ cut here ]------------
[ 133.196334] kernel BUG at net/sunrpc/svc.c:128!
[ 133.196391] invalid opcode: 0000 [#1]
[ 133.196444] PREEMPT SMP
[ 133.196571] last sysfs file: ...
| Jan 29, 4:21 am 2007 |
| Thomas Gleixner | Re: 2.6.20-rc6-mm2
Does the patch below fix this ?
tglx
Index: linux-2.6.20-rc6-mm/kernel/time/tick-common.c
===================================================================
--- linux-2.6.20-rc6-mm.orig/kernel/time/tick-common.c
+++ linux-2.6.20-rc6-mm/kernel/time/tick-common.c
@@ -320,6 +320,7 @@ static int tick_notify(struct notifier_b
case CLOCK_EVT_NOTIFY_RESUME:
tick_resume_jiffy_update();
+ touch_softlockup_watchdog();
break;
case CLOCK_EVT_NOTIFY_CPU_DEAD:
-
| Jan 29, 8:40 am 2007 |
| Andrew Morton | 2.6.20-rc6-mm2
Temporarily at
http://userweb.kernel.org/~akpm/2.6.20-rc6-mm2/
Will appear later at
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20-rc6/2.6.20-rc6-mm2/
- Dropped git-block due to CFQ breakage
- Dropped the fsaio patches due to their dependence on git-block.
- Added the new hrtimers/dynticks patches. This is an update of the
2.6.20-rc4-mm1 patches, now apparently fixed.
Boilerplate:
- See the `hot-fixes' directory for any important updates to ...
| Jan 29, 1:12 am 2007 |
| Christoph Lameter | Re: [-mm patch] BUG at net/sunrpc/svc.c:128 (was Re: 2.6 ...
Patch has the wrong solution as detailed in another message.
The line should be reverted to what it was before:
Looks like I need to add another nr_cpu_ids? I did not realize that the
same weird thing was done for cpus, sigh.
-
| Jan 29, 10:49 am 2007 |
| Karsten Wiese | Re: 2.6.20-rc6-mm2
Hi,
with dynticks and highres_timers enabled, cpufreq_ondemand makes mess here on
an AMD64 UP.
cpufreq_ondemand assumes that jiffies advance at exactly the same pace as the
sum of all kstat_cpu(cpu).cpustat.* members.
This isn't the case here as dmesg output from patch below shows.
Is cpufreq_ondemand correct assuming
"jiffies advance at exactly the same pace as the
sum of all kstat_cpu(cpu).cpustat.* members"?
Or is "dynticks and highres_timers"'s behaviour of incrementing the
sum of ...
| Jan 29, 9:22 am 2007 |
| Thomas Gleixner | Re: 2.6.20-rc6-mm2
No it should not. /me investigates.
tglx
-
| Jan 29, 9:38 am 2007 |
| Patrick Ale | Re: Boot problems with pata_via driver
Morning!
The 2.6.19 was self-compiled, using the gentoo-sources-rc4 AND using
the vanilla 2.6.19 from kernel.org (I was recommended to use vanilla
sources with my ATI drivers), both worked.
2.6.20 is self compiled to. I will give you the kernel output when I
am at home, I will have to connect a serial cable to my laptop and use
the scrollbuffer since on a kernel panic or system crash my keyboard
leds start to blink, which the kernel sees as a device addressing
hardware ...
| Jan 29, 12:32 am 2007 |
| Patrick Ale | Re: Boot problems with pata_via driver
On 1/29/07, Patrick Ale <patrick.ale@gmail.com> wrote:
A lot of crap. And i am a fruitcake, nutter, headcase.
*sigh* sorry for wasting your time, I found my problem.
Since I thought libata worked like my old ata drivers and 2.6.19 was
booting well, I reconfigured my kernel source and changed
CONFIG_BLK_DEV=y to CONFIG_BLK_DEV=m, since I genuinely thought I
wouldnt need additional disk drivers since I never needed them for
IDE. I compiled the kernel and all but never copied over the ...
| Jan 29, 2:18 pm 2007 |
| Patrick Ale | Re: Boot problems with pata_via driver
Funny, when I look at my dmesg log when I boot the 2.6.19 kernel (which works)
then I seem to miss something in the kernel output when I boot the
2.6.20 kernel.
When I boot 2.6.19 I see:
scsi 0:0:0:0: Direct-Access ATA WDC WD2000JB-00G 08.0 PQ: 0 ANSI: 5
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
sda: Write ...
| Jan 29, 2:01 pm 2007 |
| Patrick Ale | Re: Boot problems with pata_via driver
Okay so, I unplugged the keyboard the moment I selected a kernel to boot.
The last thing i see on my screen, regarding SCSI is:
scsi 0:0:0:0: Direct-Access ATA WDC WD2000JB-00G 08.0 PQ: 0 ANSI: 5
scsi 1:0:0:0 CD-ROM AOPEN DUW1608/ARR A060 PW: 0 ANSI: 5
then later on:
VFS: Cannot open root device "sda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
-
| Jan 29, 1:53 pm 2007 |
| Andrew Morton | Re: [PATCH] Add PA Semi PCI vendor id
On Mon, 29 Jan 2007 00:14:24 -0600
I'd suggest you do it all in a single patch.
-
| Jan 28, 11:46 pm 2007 |
| Olof Johansson | [PATCH] Add PA Semi PCI vendor id
Add PA Semi's PCI vendor ID (0x1959).
Signed-off-by: Olof Johansson <olof@lixom.net>
---
Submitting this separately -- several drivers that have recently been
posted could make use of it. I didn't want to include it in each of them
and have patch conflicts when they're combined upstream.
Index: merge/include/linux/pci_ids.h
===================================================================
--- merge.orig/include/linux/pci_ids.h
+++ merge/include/linux/pci_ids.h
@@ -2078,6 ...
| Jan 28, 11:14 pm 2007 |
| Neil Brown | Re: [NFS] 2.6.17.8 - do_vfs_lock: VFS is out of sync wit ...
(only 5 months later...)
Sure, how about this?
Thanks,
NeilBrown
Remove warning: VFS is out of sync with lock manager.
But keep it as a dprintk
The message can be generated in a quite normal situation:
If a 'lock' request is interrupted, then the lock client needs to
record that the server has the lock, incase it does.
When we come the unlock, the server might say it doesn't, even
though we think it does (or might) and this generates the message.
Signed-off-by: Neil ...
| Jan 28, 10:08 pm 2007 |
| Trond Myklebust | Re: [NFS] 2.6.17.8 - do_vfs_lock: VFS is out of sync wit ...
ACKed.
Thanks Neil!
-
| Jan 29, 7:16 am 2007 |
| Randy Dunlap | 2.6.20-rc6-mm1 posixtest failures
On 2.6.20-rc6 (run #1097), the openposixtest[1] suite results were:
build errors: 13 files, 31 lines
PASS: 1687
FAILED: 68
UNTESTED: 95
UNRESOLVED: 9
UNSUPPORTED: 22
INTERRUPTED: 7
SCORE: 89
[1] http://posixtest.sourceforge.net/ (using v1.5.2)
On 2.6.20-rc6-mm1 (run #1104), the results were:
build errors: 13 files, 31 lines
PASS: 1662 // 25 fewer tests PASS
FAILED: 84
UNTESTED: 95
UNRESOLVED: 18
UNSUPPORTED: 22
INTERRUPTED: ...
| Jan 28, 8:10 pm 2007 |
| fj-shic | Re: [Patch][NFSv4]: Kernel panic (handle kernel NULL poi ...
Hi, all
Is there any good idea about this issue?
I really think this is a problem in the NFSv4, which should be resolved
in the latest kernel.
_______________________________________________
NFSv4 mailing list
NFSv4@linux-nfs.org
http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
-
| Jan 28, 6:52 pm 2007 |
| Robert Hancock | Re: [PATCH RFC] sd: spin down disks on removal or power-down
Pretty sure it is, the rest of the command needs to be set to 0. Without
it the other 9 bytes will contain uninitialized junk.
For the other cleanup changes, though:
Signed-off-by: Robert Hancock <hancockr@shaw.ca>
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
-
| Jan 29, 4:55 pm 2007 |
| Robert Hancock | [PATCH RFC] sd: spin down disks on removal or power-down
Here's a patch for sd.c I've cooked up which issues a START STOP UNIT
command to stop the drive when the SCSI disk is removed or the machine
is powered down. The rationale behind this is that apparently on many
drives, simply cutting power to the spinning disk forces it to do an
emergency head park/unload which creates more wear on the drive then a
controlled park/unload with power still applied. This change ensures
that the drive will be spun down if the user shuts down the machine or
if they ...
| Jan 28, 6:47 pm 2007 |
| Andrew Morton | Re: [PATCH RFC] sd: spin down disks on removal or power-down
On Sun, 28 Jan 2007 19:47:27 -0600
What we don't want to happen is for those disks to spin down during a reboot.
It seems that this is OK with this patch.
Also, we probably don't want them to be spun down during a kexec_load, but
I expect that's OK too.
-
| Jan 29, 4:47 pm 2007 |
| Oleg Verych | Re: The mbox format archives of linux-kernel are gone.
I think, whole set, possibly from most active start years, say 1993, 1994
or so, must be collected, then i can contact Lars to try to import all
this into Gmane with current web links being preserved.
BTW, donwloading (big) sets of archives _from_ Gmane is strongly
discouraged.
____
-
| Jan 28, 6:52 pm 2007 |
| Rob Landley | Re: The mbox format archives of linux-kernel are gone.
The very early archives are available on the web:
http://www.kclug.org/old_archives/linux-activists/
And I'm under the impression that Alan Cox once collected a complete set of
mbox archives, but this is a vague an unfocused recollection of something
going by years ago. (I also thought the result was downloadable under
kernel.org/pub somewhere. This would not appear to be the case.)
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no ...
| Jan 28, 10:59 pm 2007 |
| Dave Jones | Re: The mbox format archives of linux-kernel are gone.
On Mon, Jan 29, 2007 at 12:59:27AM -0500, Rob Landley wrote:
> On Sunday 28 January 2007 8:52 pm, Oleg Verych wrote:
> > On Sun, Jan 28, 2007 at 03:17:06PM -0800, Andrew Morton wrote:
> > > On Sun, 28 Jan 2007 22:46:32 +0000
> > > Oleg Verych <olecom@flower.upol.cz> wrote:
> > >
> > > > If somebody will get lkml mbox archive, can you import it into gmane,
> > > > please.
> > >
> > > http://userweb.kernel.org/~akpm/lkml-mbox-archives/
> >
> > I think, whole set, possibly from ...
| Jan 28, 11:28 pm 2007 |
| Robert Hancock | [PATCH] libata: fix translation for START STOP UNIT
Applies to 2.6.20-rc6.
---
libata's SCSI translation for the SCSI START STOP UNIT command with the
START bit clear (i.e. stopping the drive) appears to be incorrect. It
sends an ATA STANDBY command with the time period set to 0, which the
code comment says means "now", but the ATA standard says this means
disable the standby timer, which effectively does nothing. Change this
to issue a STANDBY IMMEDIATE command which will actually spin the drive
down. The SAT (SCSI/ATA Translation) ...
| Jan 28, 6:29 pm 2007 |
| Greg KH | Re: unfixed regression in 2.6.20-rc6 (since 2.6.19)
No, not at all. Your situation is you object to the current way the USB
subsystem binds devices to drivers (well, interfaces), and wish to rip
the firmware out of a usb-serial driver that is working just fine right
now.
I still don't understand why you wish to take the firmware out and move
it to userspace, why do you want to do this?
Rainer's problem is a real bug in the USB driver code, which we need to
work on getting fixed, vastly different from your objections.
thanks,
greg ...
| Jan 29, 4:43 pm 2007 |
| Oleg Verych | Re: unfixed regression in 2.6.20-rc6 (since 2.6.19)
It's hot here.
I'm in similar situation (even *usb-serial* driver [TI USB] led me there;)
In short, it turned, that usb drivers aren't drivers at all, they are
just "USB interface drivers", i.e. managers of the particular USB
interface *in* the device.
Problem is: after changing ti-usb-serial's firmware, it is being reset
and apears with new device ID. It's OK so far, but even this may be
better (from USB hardware implementation point of view). Then this
device, after being caught with ...
| Jan 28, 6:22 pm 2007 |
| Robert Hancock | [PATCH -mm] sata_nv: use ADMA for NODATA commands
Patch is against 2.6.20-rc6-mm1, though will also apply to 2.6.20-rc6 if
sata_nv-cleanup-adma-error-handling-v2.patch and
sata_nv-cleanup-adma-error-handling-v2-cleanup.patch from -mm are
applied first. Testing from those who experienced the previous cache
flush timeout problem, in particular, would be appreciated.
---
Some problems showed up recently with cache flush commands timing out on
sata_nv. Previously these commands were always handled by transitioning
to legacy mode from ADMA ...
| Jan 28, 6:20 pm 2007 |
| Christoph Lameter | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
Ahh. Okay then the following patch would fix it?
Shutdown cache_reaper when cpu goes down
Shutdown the cache_reaper in slab.c if the cpu is brought down
and set the cache_reap.func to NULL. Otherwise hotplug shuts
down the reaper for good.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Index: linux-2.6.20-rc6/mm/slab.c
===================================================================
--- linux-2.6.20-rc6.orig/mm/slab.c 2007-01-24 20:19:28.000000000 -0600
+++ ...
| Jan 29, 12:09 pm 2007 |
| Oleg Nesterov | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
Hmm... I don't undestand this. We can delay CPU_DOWN if we cancel cache_reaper
Worse, we can have 2 handlers running in parallel on the same CPU. But this
Yep. For example, next_reap_node() will not be happy if we change CPU in
the middle. But this is _extremely_ unlikely, can only happen on CPU_DOWN,
Actually, I was wrong. Yes, this should work, but only with your previous
patch. Otherwise, if the handler runs on the "wrong" CPU (this is not possible
since you added ...
| Jan 29, 12:49 pm 2007 |
| Oleg Nesterov | slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU problems
For the beginning, about another (but related) minor problem,
debug_smp_processor_id:
/*
* Kernel threads bound to a single CPU can safely use
* smp_processor_id():
*/
This is only true without CONFIG_HOTPLUG_CPU. Otherwise CPU can go away when
the task takes a preemption or sleeps. I think we need #ifndef here.
Now,
static void __devinit start_cpu_timer(int cpu)
{
struct delayed_work *reap_work = &per_cpu(reap_work, cpu);
if (keventd_up() && ...
| Jan 28, 6:13 pm 2007 |
| Oleg Nesterov | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
Yes, if CPU_LOCK_ACQUIRE takes cache_chain_mutex, we don't need to do so
on CPU_DOWN_PREPARE. I didn't know cpuup_callback() was already converted,
sorry for the confusion!
Note: with the patch below we are doing cancel_rearming_delayed_work()
under cache_chain_mutex. This is ok since cache_reap() does mutex_trylock(),
so deadlock is not possible. However, this means that mutex_trylock() becomes
-
| Jan 29, 3:14 pm 2007 |
| Christoph Lameter | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
Then we wont need to do the mutex_lock/unlock in CPU_DOWN_XX
anymore, right? Which brings us to this form of the patch:
Shutdown cache_reaper when cpu goes down
Shutdown the cache_reaper in slab.c if the cpu is brought down
and set the cache_reap.func to NULL. Otherwise hotplug shuts
down the reaper for good.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Index: linux-2.6.20-rc6-mm2/mm/slab.c
===================================================================
--- ...
| Jan 29, 2:48 pm 2007 |
| Christoph Lameter | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
But the work func was scheduled by schedule_delayed_work_on(). Isnt that a
cache_reap assumes that the processor id is stable based on the kevent
thread being pinned to a processor.
-
| Jan 29, 9:54 am 2007 |
| Christoph Lameter | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
The CPU_DOWN would need to set work.func == NULL for this to work. But
then the slab does not shut down the work queues for the processor. Isnt
this another issue with workqueues? The slab would need a notification
that the workqueue for a processor was shutdown in order to set work.func
Well seems that we have a set of unresolved issues with workqueues and cpu
hotplug.
-
| Jan 29, 10:27 am 2007 |
| Oleg Nesterov | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
I think no, please see below. Actually, this is more related to timers for
The slab has a notification: CPU_XXX events. It should cancel a pending per
But this is practically impossible to avoid. We can't delay CPU_DOWN until all
workqueues flush their cwq->worklist. This is livelockable, the work can re-queue
itself, and new works can be added since the dying CPU is still on cpu_online_map.
This means that some pending works will be processed on another CPU.
delayed_work is even worse, ...
| Jan 29, 11:27 am 2007 |
| Christoph Lameter | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
Good.
Here is the patch against 2.6.20-rc6-mm2. CPU_DOWN_PREPARE and
CPU_DOWN_FAILED somehow vanished in mm?
Shutdown cache_reaper when cpu goes down
Shutdown the cache_reaper in slab.c if the cpu is brought down
and set the cache_reap.func to NULL. Otherwise hotplug shuts
down the reaper for good.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Index: linux-2.6.20-rc6-mm1/mm/slab.c
===================================================================
--- ...
| Jan 29, 1:29 pm 2007 |
| Christoph Lameter | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
But we could delay CPU_DOWN in the handler for the slab until we know that
There is more where that is coming from. cache_reap determines the current
cpu in order to find the correct per cpu cache and also determines the
current node. If you move cache_reap to another processor / node then it
will just clean that one and not do anything for the processor that you
wanted it to run for. If we change processors in the middle of the run
then it may do some actions on one cpu and some on ...
| Jan 29, 12:25 pm 2007 |
| Oleg Nesterov | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
Then CPU_DOWN_FAILED should do start_cpu_timer(cpu).
Oleg.
-
| Jan 29, 12:29 pm 2007 |
| Oleg Nesterov | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
No, no, there are still in place, so I believe your patch is good.
Now we have 2 additional events, CPU_LOCK_ACQUIRE/CPU_LOCK_RELEASE,
so cpuup_callback() can use them to lock/unlock cache_chain_mutex,
-
| Jan 29, 2:05 pm 2007 |
| Oleg Nesterov | Re: slab: start_cpu_timer/cache_reap CONFIG_HOTPLUG_CPU ...
Because the last CPU_UP calls start_cpu_timer(), but since ->work.func != NULL
we don't do schedule_delayed_work_on(). I think (if I am right) this is a slab's
I think this is yet another problem with workqueues/cpu-hotplug interaction.
Probably, the problem is more general. With CONFIG_CPU_HOTPLUG, we can't
garantee that smp_processor_id() is stable even if the thread is pinned to
I think cache_reap() is not alone, and this is not its fault.
But please note another minor problem,
void ...
| Jan 29, 10:19 am 2007 |
| fj-shic | Re: [Patch][NFSv4]: Kernel panic (handle kernel NULL poi ...
Hi, all
Is there any good idea about this issue?
I really think this is a problem in the NFSv4, which should be resolved
in the latest kernel.
-
| Jan 28, 5:51 pm 2007 |
| Oleg Verych | Re: [SCRIPT] Remove "space damage" from patches
Just to give you idea, how imperfect it is:
<http://marc.theaimsgroup.com/?l=linux-mm-commits&m=116198944205036&w=2>
Anyway, i still think programmers *must* take care of it, if they think
____
-
| Jan 28, 5:31 pm 2007 |
| Richard Knutsson | Re: [SCRIPT] Remove "space damage" from patches
How many patches is not to fix bugs, it is worse then some strayed
whitespace but it is due to reality.
The best is, of course, if neither happened but the next best thing is
I like to discuss but I am not sure what the result would be. Force
people to use the editors of our choice?
As long people uses valid e-mail-clients when sending patches (or they
use the script "sendpatchset"), I'm think we have to be satisfied.
But if you have any ideas, I'm listening.
Richard Knutsson
-
| Jan 28, 7:00 pm 2007 |
| Oleg Verych | Re: [SCRIPT] Remove "space damage" from patches
On Mon, Jan 29, 2007 at 02:26:04AM +0100, Richard Knutsson wrote:
I would like to discuss, would you?
____
-
| Jan 28, 6:43 pm 2007 |
| Richard Knutsson | Re: [SCRIPT] Remove "space damage" from patches
Then I hope you don't mind me asking, why is there (L)indent? Everyone
can make a mistake and if your editor does not auto-format then there
may be a whitespace straying.
I also guess you saw that the script is _not_ for cleaning up
source-files (can be intrusive and is better to be fixed when fixing
something else), but patches. So if a maintainer does not have anything
to easily fix those, they might want a simple script to do the work
(otherwise I believe they just deleted my mail ;) ...
| Jan 28, 6:26 pm 2007 |
| Oleg Verych | Re: [SCRIPT] Remove "space damage" from patches
1. Patches are signed-off (not by you).
_____
-
| Jan 28, 7:27 pm 2007 |
| NeilBrown | [PATCH] knfsd: Ratelimit some nfsd messages that are tri ...
Another nfsd patch suitable for 2.6.20, though it could wait for .21
if we feel it is time to be more cautious.
Thanks,
NeilBrown
### Comments for Changeset
Also remove {NFSD,RPC}_PARANOIA as having the defines doesn't
really add anything.
The printks covered by RPC_PARANOIA were tirggered by badly
formatted packets and so should be ratelimited.
Signed-off-by: Neil Brown <neilb@suse.de>
### Diffstat output
./fs/nfsd/export.c | 1 -
./fs/nfsd/nfsfh.c | 14 ...
| Jan 28, 5:01 pm 2007 |
| Richard Knutsson | Re: [SCRIPT] Remove "space damage" from patches
Oh, I hope I didn't give the impression I wanted it in the kernel (that
is why i labeled it as SCRIPT and not PATCH), as you said it is a
userspace problem. I just thought a simple script to remove those
whitespace could help in an imperfect world. I prefer kate since then
you can see where the tabs begins (and other features).
Richard Knutsson
-
| Jan 28, 5:08 pm 2007 |
| Matt Mackall | Re: swap: which is the maximum size allowed?
It's how big the available pointers are.
--
Mathematics is the supreme nostalgia of our time.
-
| Jan 28, 5:19 pm 2007 |
| Eric Sandeen | Re: [xfs-masters] [PATCH} XFS: Remove placeholders for u ...
By the time you do this, probably may as well remove the whole file; the
leftover 4 definitions never seem to be used.
The same may go for xfs_mac.h.
-Eric
-
| Jan 28, 9:58 pm 2007 |
| Robert P. J. Day | Re: [xfs-masters] [PATCH} XFS: Remove placeholders for u ...
good point. david chinner (dgc) already mentioned that he'd prefer to
run this through the XFS tree so i'll leave this in his capable hands.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://www.fsdev.dreamhosters.com/wiki/index.php?title=Main_Page
========================================================================
-
| Jan 29, 1:06 am 2007 |
| Christoph Hellwig | Re: [xfs-masters] [PATCH} XFS: Remove placeholders for u ...
Agreed. As Dave said if we get this functionality on Linux it will most
likely be handled at a different level, so keeping the old IRIX-style hooks
is rather pointless.
-
| Jan 29, 12:01 am 2007 |
| Eric W. Biederman | Re: [PATCH 0/6] MSI portability cleanups
Moving farther has been my intention the entire time, even
while writing those patches. I'm just not prepared to do it in
one giant patch where bug hunting becomes impossible.
I think I have moved msi.c to the point it won't be a horror to
work with, so we can start seriously looking at what it will
take to support hypervisors that do this.
I don't believe there is anything generic we can do in the general
hypervisor case, so we need a way for the architecture code in
the case where it is ...
| Jan 28, 10:58 pm 2007 |
| Eric W. Biederman | Re: [PATCH 0/6] MSI portability cleanups
I completely agree with you in the case you have described, it does
mean that the hypervisor needs to trust all of the MSI capable
hardware in the system but it if that is the best your hardware can
support it is a reasonable trade-off.
With the MSI-X registers in a random part of some memory mapped bar
and not guaranteed to be page aligned, things are more difficult to
The reason I consider the case crazy is that every example I have
been given is where the hardware is doing the filtering ...
| Jan 28, 10:18 pm 2007 |
| Benjamin Herrenschmidt | Re: [PATCH 0/6] MSI portability cleanups
However, the ibm,req#msi(-x) properties contain the number as requested
by the device, and thus I expect them to be identical to the config
space value. So if you are confident enough that our HV won't play any
tricks there in the future, reading the config space is as good as
hooking that check() callback, though it might not be vs. some other HV
for some other platform that might be more strict.
We cannot know in advance how much max the HV will give us without
actually trying ...
| Jan 29, 4:40 pm 2007 |
| David Miller | Re: [PATCH 0/6] MSI portability cleanups
From: ebiederm@xmission.com (Eric W. Biederman)
Ok, that's great to hear.
I know your bi-directional approach isn't exactly what Ben
wants but he can support his machines with it. Maybe after
some time we can agree to move from that more towards the
totally abstracted scheme.
-
| Jan 28, 10:25 pm 2007 |
| Benjamin Herrenschmidt | Re: [PATCH 0/6] MSI portability cleanups
We need the alloc/free in all cases, wether we are talking to real HW or
hypervisor. Alloc free is what allocates linux virtual irq numbers (or
irq_desc's if your prefer) and what sets up the irq_desc->irq_chip to
the appropriate thing for MSIs on that machines. Thus it's really the
required step for everybody.
The thing you seem to be mixing up is allocating of linux virtual irqs
(picking an irq desc) and allocating of a HW vectors on your platformn
(which happens to be the same pretty much ...
| Jan 28, 6:33 pm 2007 |
| Eric W. Biederman | Re: [PATCH 0/6] MSI portability cleanups
Current git + gregkh-pci (Which has a couple of Michaels patches).
With current git the only problem should be context around msi_lookup_irq
which changes between the two. But in this case the context around
an entire function being deleted doesn't matter.
Eric
-
| Jan 29, 1:28 am 2007 |
| Paul Mackerras | Re: [PATCH 0/6] MSI portability cleanups
It appears that the HV does not prevent us from reading or writing any
It's possible that the device can do MSI(X), but that using MSI(X)
requires other platform resources (e.g. interrupt source numbers) and
there are none free. I believe the platform guarantees a minimum
number of MSI(X) interrupts per function, but a pci_enable_msix() call
may not be able to give the driver as many MSI-X interrupts as it is
requesting even if the function can handle that many.
Paul.
-
| Jan 29, 4:29 pm 2007 |
| Benjamin Herrenschmidt | Re: [PATCH 0/6] MSI portability cleanups
It can support my machines without HV with trivial changes I reckon: I
need an ops struct to indirect eric's 2 remaining arch hooks
(setup/teardown) but that can be done inline within asm-powerpc. I need
to double check of course and probably actually port the MPIC backend
and possibly go write the Cell Axon one while at it to verify everything
is allright, but the base design seems sound enough.
For the ones with HV (RTAS stuff), we still need to agree on how to
approach it. We can ...
| Jan 28, 11:05 pm 2007 |
| Eric W. Biederman | Re: [PATCH 0/6] MSI portability cleanups
This is the most straight forward and handles machines with really
weird msi setups, so I lean in this direction.
The question is there anything at all we can do generically?
I can't see a case where ppc_md would not wind up with the hooks
that decide if it is a hypervisor or not. Even if we came up
Ok. I think I get the point of check. I believe I need to look at your
code a little more and see what you are doing to see if there is anything
generic worth doing, that we can always do ...
| Jan 29, 2:03 am 2007 |
| Michael Ellerman | Re: [PATCH 0/6] MSI portability cleanups
You can read config space, but it's not clear to me if the HV is allowed
to filter it and hide things. It's also possible that the device
supports MSI, but for some reason the HV doesn't allow it on that device
etc. so you really have to ask the HV if it's enabled. So pci_find_cap()
It would be good to have a common data structure if possible. My
thinking was that most of the information is per pci_dev, so that's
where I put it. I realise the Intel code stores some info that's
per-irq, but ...
| Jan 29, 3:11 am 2007 |
| Paul Mackerras | Re: [PATCH 0/6] MSI portability cleanups
Actually, I don't know of any reason why we can't use
pci_find_capability. We are supposed to avoid trying to touch config
space of devices (in fact, functions) that aren't assigned to our
partition, but we're not talking about that here.
I just got an answer from the hypervisor architects. It turns out
that the hardware _does_ prevent the device from sending MSI messages
to another partition. The OS _can_ write whatever it likes to the MSI
address and data registers. It can potentially ...
| Jan 29, 4:05 pm 2007 |
| Benjamin Herrenschmidt | Re: [PATCH 0/6] MSI portability cleanups
I've seen it do it for example with EADS bridges. I haven't seen doing
it with devices (other than hiding entire functions) but I wouldn't
Part of the reason is you make MSI look like MSI-X (a vector of 1 entry)
while Eric does the opposite.
Ben.
-
| Jan 29, 1:32 pm 2007 |
| Benjamin Herrenschmidt | Re: [PATCH 0/6] MSI portability cleanups
Sure, but with Michael's approach, the only hook was get_msi_ops(pdev)
Anyway, there isn't -that- much that can be done generically in the HV
case. Mostly some argument sanity checking, the logic for saving &
Quite possibly yes. I'm pretty sure it will work on IBM HV but we aren't
Ben.
-
| Jan 29, 1:22 pm 2007 |
| Casey Schaufler | Re: [PATCH] sysctl selinux: Don't look at table->de
Alternativly you could move the SELinux specific
bits out of /proc/self/attr into an equivalent
/selinux/self/attr and avoid that /proc dependency.
Casey Schaufler
casey@schaufler-ca.com
-
| Jan 29, 12:08 pm 2007 |
| Russell Coker | Re: [PATCH] sysctl selinux: Don't look at table->de
In practice we have to extensively customise policy long before getting to the
non-proc stage of optimising for small hardware. The Familiar distribution
(used on the iPaQ) has /proc but needs significant policy changes when
compared to a typical Fedora workstation. Not only is there the issue that
embedded distributions have different daemons and path names to workstations,
but the memory constraints mean that even a modular targeted policy is not as
I think that is the correct thing ...
| Jan 29, 4:28 pm 2007 |
| Stephen Smalley | Re: [PATCH] sysctl selinux: Don't look at table->de
True, but a system that disables proc is likely a system with a custom
policy anyway, and dependency on proc is fairly basic to selinux these
days (due to reliance on /proc/self/attr for process attribute
manipulation in place of the old selinux syscalls). Possibly we should
At present, we map the sysctls into functional groups (e.g. net, vm,
fs, ...) that parallel the sysctl hierarchy so that we can limit access
to only those programs/processes that need access for their purpose, ...
| Jan 29, 11:43 am 2007 |
| Eric W. Biederman | Re: [PATCH] sysctl selinux: Don't look at table->de
Ok. So basically what you need is a parent pointer or some other way
of getting the full sysctl_path. All of the names that show up in /proc
are still present in the ctl_table.
Hmm. In parse_table we actually call sysctl_perm at each path component,
I'm not doing that in proc_sysctl.c at the moment but that would be easy to
add.
I think I will look at adding the back pointers. Adding the security
check during lookup is nice but it won't really give you the context
you could use. ...
| Jan 29, 12:16 pm 2007 |
| Stephen Smalley | Re: [PATCH] sysctl selinux: Don't look at table->de
NAK. Mapping all sysctls to a single security label prevents any kind
of fine-grained security on sysctls, and current policies already make
use of the current distinctions to limit access to particular sets of
sysctls to particular processes. As is, I'd expect breakage of current
systems running SELinux from this patch, because (confined) processes
that formerly only required access to specific sysctl labels will
suddenly run into denials on the generic fallback label.
If the ctl_table ...
| Jan 29, 6:04 am 2007 |
| Stephen Smalley | Re: [PATCH] sysctl selinux: Don't look at table->de
We could, but I don't see any compelling reason to do so. We were
specifically told to use proc for the selinux process attributes when we
refactored the selinux api for 2.6 inclusion, as they are per-process
state and fit naturally into proc.
--
Stephen Smalley
National Security Agency
-
| Jan 29, 1:07 pm 2007 |
| Eric W. Biederman | Re: [PATCH] sysctl selinux: Don't look at table->de
Please don't shoot the messenger when a weakness is found in your code.
Systems that increase security without worry that their implementation
is correct do not impress me, but I do understand that security has
little to do with correctness and everything to do with making it
_expensive_ for the other guy to do what he isn't supposed to.
This code path was always in the selinux code for when /proc was
compiled out. I could see no way to preserve it so I removed
it.
Not knowing if it was a ...
| Jan 29, 10:55 am 2007 |
| James Morris | Re: [PATCH] sysctl selinux: Don't look at table->de
Agreed, 100% NACK.
Please don't just simply remove long-researched & analyzed MAC security
which has been in the kernel for years, which is being used in the field
for high assurance systems, because you neglected to consider it during a
code cleanup.
- James
--
James Morris
<jmorris@namei.org>
-
| Jan 29, 8:23 am 2007 |
| Eric W. Biederman | Re: [PATCH] sysctl selinux: Don't look at table->de
Reasonable. There is the issue that your code already had this code
What do information do you need to do need? Do you need extra fields in sysctl?
I am more than willing to help but I am not familiar enough with selinux
to do a reasonable job on my own.
Eric
-
| Jan 29, 10:43 am 2007 |
| Stephen Smalley | Re: [PATCH] sysctl selinux: Don't look at table->de
I'm not sure how breaking our code with your set of patches qualifies as
finding a weakness. I will agree that the current handling of sysctl in
selinux is fragile and can be improved, but it did work (prior to your
I think you misunderstand; we are concerned about the correctness of our
implementation. I think that possibly you are misunderstanding one of
the SELinux FAQ answers outside of its historical context (the initial
release of a proof-of-concept implementation of flexible MAC in ...
| Jan 29, 12:26 pm 2007 |
| FUJITA Tomonori | Re: ibmvstgt/aio broken with 2.6.20-rc6 powerpc
From: Bastian Blank <bastian@waldi.eu.org>
Subject: ibmvstgt/aio broken with 2.6.20-rc6 powerpc
You use 2.6.20-rc6 with the aio-epoll-wait patch, right?
I think that this is due to the aio-epoll-wait patch because without
using ibmvstgt target driver, simple aio workload crashes 2.6.20-rc6
with the aio-epoll-wait patch on my POWER box. I cannot recall since
when the patch doesn't work on POWER.
If you are interested in only ibmvstgt target driver, use the
following patch. It uses epoll ...
| Jan 29, 1:07 am 2007 |
| Christoph Hellwig | Re: [PATCH] tty: cleanup release_mem
Okay. Now that we get into the details I've also added some renaming,
release_mem becomes release_tty and the new factored out function is
release_one_tty. The difference is documented in the kdoc comments.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Index: linux-2.6/drivers/char/tty_io.c
===================================================================
--- linux-2.6.orig/drivers/char/tty_io.c 2007-01-29 10:01:46.000000000 +0100
+++ linux-2.6/drivers/char/tty_io.c 2007-01-29 ...
| Jan 29, 11:12 am 2007 |
| Alan Cox | Re: [PATCH] tty: cleanup release_mem
Acked-by: Alan Cox <alan@redhat.com>
Please propogate the mutex_ FIXME comment to both functions as it may
well need to cover tty->link
-
| Jan 29, 5:01 am 2007 |
| Alan Cox | Re: [PATCH] tty: cleanup release_mem
Acked-by: Alan Cox <alan@redhat.com>
-
| Jan 29, 12:06 pm 2007 |
| Andi Kleen | Re: 2.6.20-rc6-mm1: linker error with arch_setup_additio ...
A more elegant solution would be to do away with the CONFIG
and switch to a weak function in the caller.
-Andi
-
| Jan 28, 7:51 pm 2007 |
| Andrew Morton | Re: 2.6.20-rc6-mm1: linker error with arch_setup_additio ...
On Mon, 29 Jan 2007 03:51:54 +0100
Now why didn't I think of that?
-
| Jan 29, 1:59 am 2007 |
| Christoph Hellwig | Re: [Fwd: [PATCH 2/7] lock_list: a fine grain locked dou ...
Yes, that's one of the reasons why I dislike klist even more ;-)
-
| Jan 29, 3:25 am 2007 |
| Peter Zijlstra | Re: [Fwd: [PATCH 2/7] lock_list: a fine grain locked dou ...
klist is quite different in that it locks the whole list. The proposed
data structure locks each edge, that is it will allow concurrent
Getting rid of the s_files list like you proposed would of course be a
much better solution, and I'll look into that.
Not having the VFS knowledge you do I just smashed the lock and kept
current semantics.
-
| Jan 29, 3:20 am 2007 |
| Hugh Dickins | Re: [PATCH] mm: remove global locks from mm/highmem.c
But HIGHPTE uses kmap_atomic (in mainline: does -rt use kmap there?)
Hugh
-
| Jan 29, 12:19 pm 2007 |
| Peter Zijlstra | Re: [PATCH] mm: remove global locks from mm/highmem.c
CONFIG_HIGHPTE code in -rt was horrid. I'll do some measurements on
It might have been my mistaken in understanding the latest cmpxchg
thread. My understanding was that since LL/SC is not exposable as a low
level primitive all platforms should implement a cmpxchg where some
would not be save against direct assignment.
I thought GCC would automagically use masking when presented with a
Eek, you are quite right.
-
| Jan 29, 2:44 am 2007 |
| Nick Piggin | Re: [PATCH] mm: remove global locks from mm/highmem.c
Simple: we should not implement cmpxchg in generic code. We should
be able to use atomic_long_cmpxchg for this -- it will work perfectly
regardless of what anybody else tells you.
cmpxchg is only required for when that memory location may get modified
by some other means than under your control (eg. userspace, in the case
of drm, or hardware MMU in the case of Christoph's old page fault
scalability patches).
--
SUSE Labs, Novell Inc.
Send instant messages to your online friends ...
| Jan 28, 7:52 pm 2007 |
| Ingo Molnar | Re: [PATCH] mm: remove global locks from mm/highmem.c
well, almost nobody profiles 32-bit boxes. I personally always knew that
kmap() sucks on certain 32-bit SMP workloads (and -rt's scheduling model
makes such bottlenecks even more apparent) - but many people acted in
the belief that 64-bit is all that matters and 32-bit scalability is
obsolete. Here are the numbers that i think changes the picture:
http://www.fedoraproject.org/awstats/stats/updates-released-fc6-i386.total
...
| Jan 29, 12:08 pm 2007 |
| Ingo Molnar | Re: [PATCH] mm: remove global locks from mm/highmem.c
i forgot to explain them:
these are updated daily i think. The counters started late October 2006,
when FC6 was released.
Ingo
-
| Jan 29, 1:06 pm 2007 |
| Ingo Molnar | Re: [PATCH] mm: remove global locks from mm/highmem.c
The contention i saw was on mainline and in the pagecache uses of
kmap(). With HIGHPTE i only meant that typically every available highmem
option is enabled on 32-bit distro kernel rpms, to make it work on as
wide selection of hardware as possible. Sometimes PAE is split into a
separate rpm, but mostly there's just one 32-bit kernel.
Ingo
-
| Jan 29, 12:53 pm 2007 |
| Christoph Lameter | Re: [PATCH 00/14] Concurrent Page Cache
Could we get the read side in separately from the write side? I think I
get the read side but the write side still looks scary to me and
What exactly is the MTD doing and how does it break?
-
| Jan 29, 10:20 am 2007 |
| Peter Zijlstra | Re: [PATCH 00/14] Concurrent Page Cache
Its all quite simple really; imagine locking the whole tree path
beginning at the root node. This obviously doesn't provide concurrency
since holing the root node locked will avoid all other operations from
starting.
However, as soon as you've locked a node on the next level and can
determine that you will never need to traverse the tree path upwards
from this point, you can drop the lock(s) on the previous level.
In the trivial case where you will never traverse up again, this ...
| Jan 29, 11:05 am 2007 |
| Christoph Lameter | Re: [PATCH 00/14] Concurrent Page Cache
Instead of taking one lock we would need to take 4? Wont doing so cause
significant locking overhead? We probably would want to run some
benchmarks. Maybe disable the scheme for systems with a small number of
processors?
-
| Jan 29, 11:15 am 2007 |
| Peter Zijlstra | Re: [PATCH 00/14] Concurrent Page Cache
Right, I was hoping the extra locking overhead would be more than
compensated by the reduction in lock contention time. But testing is
CONFIG_RADIX_TREE_CONCURRENT does exactly this.
-
| Jan 29, 11:56 am 2007 |
| Christoph Lameter | Re: [PATCH 11/14] atomic_ulong_t
Is this really necessary? We have no atomic_uint_t type either.
Could you use atomic_long_t instead?
-
| Jan 29, 10:11 am 2007 |
| Bill Huey | Re: lockmeter
Fantastic. I'm going to try and finish up your suggested changes tonight
and get it to work with CONFIG_LOCK_STAT off. It's been challenging to
find time to do Linux these days, so I don't mind handing it off to you
after this point so that you and tweek it to your heart's content.
Yeah, one of the major motivations behind it was to see if Solaris style
locks were useful and to either validate or invalidate their usefulness.
Because of this patch, we have an idea of what's going on with regard ...
| Jan 28, 10:27 pm 2007 |
| Bill Huey | Re: lockmeter
Ingo,
Got it.
http://mmlinux.sourceforge.net/public/patch-2.6.20-rc6-rt2.1.lock_stat.patch
This compiles and runs with the CONFIG_LOCK_STAT option turned off now
and I believe addresses all of your forementioned concern that you
mentioned. I could have missed a detail here and there, but I think
it's in pretty good shape now.
bill
-
| Jan 29, 3:26 am 2007 |
| Martin J. Bligh | Re: lockmeter
cc: John Hawkes, if we're going to discuss this ;-)
M.
-
| Jan 28, 6:12 pm 2007 |
| Christoph Hellwig | Re: [PATCH 0/7] breaking the global file_list_lock
Looking at it again sel_remove_bools actually only operates on files
backed by selinuxfs, so yes we could use the same approach.
-
| Jan 29, 11:02 am 2007 |
| Arjan van de Ven | Re: lockmeter
specifically; implementing it on top of lockdep should be very lean and
simple...
-
| Jan 28, 6:08 pm 2007 |
| Stephen Smalley | Re: [PATCH 0/7] breaking the global file_list_lock
It was modeled after proc_kill_inodes(), as noted in the comments. So
if you have a suitable replacement for proc_kill_inodes(), you can apply
--
Stephen Smalley
National Security Agency
-
| Jan 29, 6:32 am 2007 |
| Giuseppe Bilotta | Re: [Linux-fbdev-devel] [PATCH] nvidiafb: allow ignoring ...
Although solving the problem at the fb layer level is probably the
correct/best way to do it, I am not aware of people having problems
with broken EDIDs and non-nVidia cards. By contrast, workarounds for
nVidia and broken EDIDs is a very common thing to do even on Windows.
Both the Windows and the Linux proprietary drivers need SoftEDID
specifications to work around these problems. I don't know if this is
just because of the way the driver are written, though, or if nVidia
cards are ...
| Jan 29, 7:37 am 2007 |
| Dave Airlie | Re: [Linux-fbdev-devel] [PATCH] nvidiafb: allow ignoring ...
This isn't a card problem this is a monitor problem, the card just
passes through the edid data from the monitor... or else the
programming of the card registers from edid is wrong..
Dave.
-
| Jan 28, 5:12 pm 2007 |
| Andrew Morton | Re: [Linux-fbdev-devel] [PATCH] nvidiafb: allow ignoring ...
On Mon, 29 Jan 2007 11:12:57 +1100
In which case the same problem would occur with different video cards, so
this patch should be some generic thing, available to all drivers, no?
-
| Jan 28, 5:29 pm 2007 |
| Andrew Morton | Re: [PATCH] nvidiafb: allow ignoring EDID info
On Sun, 28 Jan 2007 11:48:59 +0100
That's a pretty sad solution. Is it possible to detect these bad cards at
runtime via ther behaviour? If not, can we generate a blacklist for the
known-bad cards based on PCI IDs or something?
Because most users won't even be aware of the module option: they'll just
-
| Jan 28, 5:08 pm 2007 |
| Andrew Morton | Re: [Linux-fbdev-devel] [PATCH] nvidiafb: allow ignoring ...
On Mon, 29 Jan 2007 11:12:57 +1100
oh. I'll take that as an ack :(
(where'd my cc go?)
-
| Jan 28, 5:27 pm 2007 |
| Dave Airlie | Re: [Linux-fbdev-devel] [PATCH] nvidiafb: allow ignoring ...
It should be in the fb layer not card specific.. as it may happen on any card...
Dave.
-
| Jan 28, 5:39 pm 2007 |
| David Miller | Re: [2.6 patch] NF_CONNTRACK_H323 must depend on (IPV6 | ...
From: Adrian Bunk <bunk@stusta.de>
Yes, that is an issue.
I guess with some slightly ugly ifdefs we could support the
whole matrix of possibilities. But perhaps that's undesirable
for another reason.
Patrick?
-
| Jan 28, 5:04 pm 2007 |
| Don Mullis | [PATCH -mm] fix DocBook build
Fix DocBook build.
Regression was introduced by
gregkh-usb-usb-linux-usb_ch9h-becomes-linux-usb-ch9h.patch
Tested by `make htmldocs`.
Signed-off-by: Don Mullis <dwm@meer.net>
Cc: gregkh@suse.de
---
Documentation/DocBook/gadget.tmpl | 4 ++--
Documentation/DocBook/usb.tmpl | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
Index: linux-2.6.19/Documentation/DocBook/gadget.tmpl
===================================================================
--- ...
| Jan 28, 7:50 pm 2007 |
| Herbert Xu | Re: 2.6.20-rc6-mm1
This shouldn't have happened. nf_hook_slow calls nf_iterate and
therefore everything under it with preemption disabled. So something
must've reenabled it before hitting nf_conntrack_in.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
| Jan 28, 10:17 pm 2007 |
| Andrew Morton | Re: 2.6.20-rc6-mm1
On Mon, 29 Jan 2007 16:29:29 +1100
oh. We'd better find those fixes then. I wonder what other code made that
(rather hacky) assumption? I guess we have enough debug stuff in there to
find out..
-
| Jan 28, 11:43 pm 2007 |
| Herbert Xu | Re: 2.6.20-rc6-mm1
Actually, maybe I was confusing this with the fixes Ingo had for
local_bh_disable vs. preemption in the -rt tree. Ingo, do you
have preemptible RCU support in your -rt tree and if so did you
have to fix the networking stack to behave correctly with it?
It could also be that the fixes for local_bh_disable also masked
any problems that would trigger under preemptible RCU.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home ...
| Jan 29, 12:21 am 2007 |
| Randy Dunlap | Re: [2.6 patch] NF_CONNTRACK_H323 must depend on (IPV6 | ...
Sorry for the slow reponse. This bug only came up due to my
bad gfs2/dlm patch, which Adrian has now corrected, so I think
you can just drop this patch. It now builds for me with only
Adrian's gfs2/dlm patch applied.
--
~Randy
-
| Jan 28, 6:22 pm 2007 |
| Adrian Bunk | Re: [2.6 patch] NF_CONNTRACK_H323 must depend on (IPV6 | ...
This depends on what NF_CONNTRACK_H323=y, IPV6=m is supposed to be:
- not allowed (NF_CONNTRACK_H323 must be modular) or
- NF_CONNTRACK_H323 can only be used for IPV4
My patch implements the first case.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
| Jan 28, 5:21 pm 2007 |
| Randy Dunlap | Re: [-mm patch] fix GFS2 circular dependency
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
-
| Jan 28, 6:55 pm 2007 |
| Herbert Xu | Re: 2.6.20-rc6-mm1
Does mm now have the preemptible RCU stuff? If so that would certainly
explain this.
IIRC Ingo had made fixes for the networking stack in his rt tree since
the networking code assumes in lots of places that rcu_read_lock
disables preemption.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
| Jan 28, 10:29 pm 2007 |
| Steven Whitehouse | Re: [-mm patch] fix GFS2 circular dependency
Hi,
Now applied to the GFS2 -nmw git tree. Thanks,
Steve.
-
| Jan 29, 2:12 am 2007 |
| Ingo Molnar | Re: 2.6.20-rc6-mm1
yeah, -rt is the main prototyping tree for PREEMPT_RCU, and it has been
included in -rt for 1.5 years or so. There were only some small things
here and there, but with Paul's latest design i dont remember anything
but the occasional place that needs to be marked raw_smp_processor_id().
CONFIG_DEBUG_PREEMPT ought to catch those. I dont remember any big
breakage.
i've just reviewed all changes to net/* in -rt, and the changes below
are the ones that seem to be ...
| Jan 29, 1:35 am 2007 |
| Adrian Bunk | Re: [2.6 patch] NF_CONNTRACK_H323 must depend on (IPV6 | ...
"depends on IPV6" would fix the bug - but it would also make
NF_CONNTRACK_H323 unavailable for all people without IPV6 support in
their kernel.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
| Jan 28, 5:00 pm 2007 |
| Valdis.Kletnieks | Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded
It found sys, and then the second iteration in in xlate_proc_name it failed
Wasn't my code originally - I think the original author thought that since
all the *other* config stuff for ipv4 was down under /proc/sys/net/ipv4, this
one should be as well because that's where sysadmins would look for it, and
It's easy enough to move the entry under /proc/net or someplace instead.
What's the current advice on what kernel interface to use for this scenario:
In userspace, we do something like ...
| Jan 28, 11:45 pm 2007 |
| Valdis.Kletnieks | Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded
Aliens ate my brain, part 1:
I tried building an out-of-tree ipfilters (ipt_osf) that worked fine under
2.6.20-rc4-mm1. After much scratching my head and adding debugging info,
I discovered that this code was failing:
p = create_proc_entry("sys/net/ipv4/osf", S_IFREG | 0644, NULL);
if (!p) {
ipt_unregister_match(&osf_match);
return -ENXIO;
}
After much *more* head-scratching, and adding of printk's, I tracked it down
into ...
| Jan 28, 7:49 pm 2007 |
| Valdis.Kletnieks | Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded
Trying again with the official -rc6-mm1 tarball...
The aliens regurgitated my brain - after I did a 'make oldconfig' against my
-rc4-mm1 config, I did a 'make menuconfig' and all the IPv6 stuff showed up
as 'NEW'. Not sure why it didn't carry over the the -rc4-mm1 values, but
at least I was able to re-set them.
| Jan 28, 10:46 pm 2007 |
| Randy Dunlap | Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded
Possibly my (bad) gfs2/dlm patch...
Please try applying Adrian Bunk's patch to see if that fixes the
IPV6 disappearing trick. (below)
---
cu
Adrian
<-- snip -->
This patch fixes a circular dependency by letting GFS2_FS_LOCKING_DLM
and DLM depend on instead of select SYSFS.
Since SYSFS depends on EMBEDDED this change shouldn't cause any problems
for users.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
fs/dlm/Kconfig | 3 +--
fs/gfs2/Kconfig | 3 +--
...
| Jan 28, 10:14 pm 2007 |
| Valdis.Kletnieks | Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded
Aliens ate my brain, part 2:
My IPv6 configuration evaporated, totally, out of my .config. I tracked it
down to wierdness with net/Kconfig:
if INET
source "net/ipv4/Kconfig"
source "net/netlabel/Kconfig"
endif # if INET
source "net/ipv6/Kconfig"
(Yes, the ipv6 is now *outside* the if/endif - that's what I had to do to make
it work). If that last 'source' was *inside* that if/endif, it became
invisible unless I set INET to *N*, at which point ...
| Jan 28, 7:58 pm 2007 |
| Eric W. Biederman | Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded
Does it find sys? If so perhaps I should do something even more significant.
I guess if I get many complaints about this I will figure out how to print
It is supposed to fail in this instance. If you want something under /proc/sys
you are supposed to use register_sysctl like everyone else. If it's not a
sysctl it should not show up under /proc/sys.
I think I fixed the one in tree instance of this behavior.
I'm glad to see my cleanup uncovering more bugs, I'm sorry you were the one
who ...
| Jan 28, 11:08 pm 2007 |
| Eric W. Biederman | Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded
Well it is a non-fixed number of entries so it does not sound appropriate for
a sysctl. sysctl tends to work well for simple settings, not complicated things.
/proc/net would be the easy place, although I think traditionally /proc/net
is just reporting.
Given the context I will suggest setsockopt as most of iptables is configured
using that.
Generally going beyond one value per file is discouraged, in any context.
So I guess the general advice is don't have that scenario :)
In ...
| Jan 29, 1:24 am 2007 |
| akuster | Re: [PATCH 2/2] PM: fast power off - driver
It does not, it was only a last ditch effort before losing power. I was
Nope.
Thanks for you time.
- Armin
-
| Jan 29, 10:41 am 2007 |
| akuster | Jan 29, 10:37 am 2007 | |
| Alexey Dobriyan | Re: [Bugme-new] [Bug 7891] New: vdso page is no longer m ...
nit: has_vdso, please.
-
| Jan 29, 11:15 am 2007 |
| Joerg Ahrens | Re: [Bugme-new] [Bug 7891] New: vdso page is no longer m ...
On http://jpmarat.de/dl/sigtest.tar.bz2 you will find a small test prog
(source and a.out static).
On http://jpmarat.de/dl/gcc27jail.tar.bz2 you will find a gcc 2.7.2 jail
with toolchain extracted from an old SuSE installation (20M compressed
90M unpacked).
-
| Jan 29, 3:17 pm 2007 |
| Andi Kleen | Re: [Bugme-new] [Bug 7891] New: vdso page is no longer m ...
You need an old toolkit, but the historic section of ftp.funet.fi
has a few binaries. I also got a tarball of an old a.out SUSE
I simpler fix might be to just not require the vDSO for signal handling
on a.out.
Here's a untested patch.
-Andi
Don't require the vDSO for handling a.out signals
and in other strange binfmts. vDSO is not necessarily mapped there.
Signed-off-by: Andi Kleen <ak@suse.de>
Index: ...
| Jan 28, 8:10 pm 2007 |
| Bill Davidsen | Re: Raid 10 question/problem [ot]
For values of "same" which exclude consideration of the disk layout,
throughput, overhead, system administration, and use of spares. Those
are different. But both methods do write multiple copies of ones and
zeros to storage media.
Neil brown, 08/23/2005:
- A raid10 can consist of an odd number of drives (if you have a
cabinet with, say, 8 slots, you can have 1 hot spare, and 7 drives
in a raid10. You cannot do that with LVM (or raid0) over raid1).
- raid10 has a layout ('far') ...
| Jan 29, 8:17 am 2007 |
| Dan Williams | Re: Hidden SSID's
Well, there's no way a userspace program could depend on all hidden SSID
APs having the <hidden> tag, since if you stick in another,
non-ieee80211-stack card it won't be like that. So I don't think we
should care about <hidden> in d80211, but I don't think we can remove it
from ieee80211 either. The only case where we'll care about it is if we
move to common scan-result processing code, and there we may have to put
a compat flag in that the driver can set or something. But we ...
| Jan 29, 6:00 am 2007 |
| Jan Engelhardt | Re: blacklist kernel boot option
Does not work with components that are compiled-in, for which such a boot
option would be most helpful.
-`J'
--
-
| Jan 29, 4:12 am 2007 |
| Oliver Neukum | Re: blacklist kernel boot option
What use is it to modularly compile something that almost everybody needs?
Regards
Oliver
-
| Jan 29, 5:44 am 2007 |
| Gerd Hoffmann | Re: blacklist kernel boot option
good enough to boot the rescue system from the install cd without
oopsing and fix up the blacklist file in the installed systen though ;)
Trying to boot into single user is also worth a try. Some modules are
loaded nevertheless (usb + hid stuff, so you can login with a usb kbd
for example), but most of them are not yet loaded ...
cheers,
Gerd
--
Gerd Hoffmann <kraxel@suse.de>
-
| Jan 29, 1:30 am 2007 |
| Oliver Neukum | Re: blacklist kernel boot option
For every module you waste PAGE_SIZE/2. In my system
oliver@valisk:~/Desktop/linux-2.6.20-6-greg> lsmod|wc
46 158 1827
that's 92K. There is a point where the number of people who don't
But shrinking the statically compiled kernel isn't one of them. You need
to look at the actual memory footprint.
Regards
Oliver
-
| Jan 29, 6:38 am 2007 |
| Gerd Hoffmann | Re: blacklist kernel boot option
Is that an real-live issue, with distro kernels being shipped with
almost everything compiled as module these days?
cheers,
Gerd
--
Gerd Hoffmann <kraxel@suse.de>
-
| Jan 29, 4:25 am 2007 |
| Jan Engelhardt | Re: blacklist kernel boot option
For me it was. FC6 has at least CONFIG_MD=y, and SUSE also has some =y that
could be =m with the help of module autoload rules, and some =y that could
truly be =m. Those being =y cannot be blacklisted.
-`J'
--
-
| Jan 29, 5:40 am 2007 |
| Jan Engelhardt | Re: blacklist kernel boot option
[correction: meant CONFIG_BLK_DEV_MD, because CONFIG_MD itself does
not generate any code]
So just because almost everyone needs CONFIG_SCSI (SATA, usb_storage,
you name it), you're going to compile that in as well? It's just
another 180 KB [BLK_DEV_MD: ~100K] so let's compile it in!
There is a reason initramfs exists, and it's not only for firmware
loading or running custom scripts.
-
| Jan 29, 6:23 am 2007 |
| Linus Torvalds | Re: Possible regression: MSI vector leakage since 2.6.18 ...
Eric, can you write an explanation, add your sign-off, Auke's ACK, and
send out the result? The patch looked ok to me, but I do want the more
deeper explanation too (and sign-off, of course).
Linus
-
| Jan 29, 12:36 pm 2007 |
| Eric W. Biederman | Re: Possible regression: MSI vector leakage since 2.6.18 ...
Sure. Give me a couple of minutes.
Eric
-
| Jan 29, 12:42 pm 2007 |
| Auke Kok | Re: Possible regression: MSI vector leakage since 2.6.18 ...
Yes. A few hundred cycles of loading/unloading snd_hda_intel with enable_msi=1
didn't break it on i386.
I sure hope this can get into 2.6.20!
-
| Jan 29, 12:00 pm 2007 |
| Eric W. Biederman | [PATCH] i386: In assign_irq_vector look at all vectors b ...
When the world was a simple and static place setting up irqs was easy.
It sufficed to allocate a linux irq number and a find a free cpu
vector we could receive that linux irq on. In those days it was
a safe assumption that any allocated vector was actually in use
so after one global pass through all of the vectors we would have
none left.
These days things are much more dynamic with interrupt controllers
(in the form of MSI or MSI-X) appearing on plug in cards and linux
irqs appearing and ...
| Jan 29, 1:19 pm 2007 |
| Ingo Molnar | Re: Fw: Re: [mm PATCH 4/6] RCU: (now) CPU hotplug
i've measured it and it takes a few milliseconds typically - certainly
not noticeable even for hypothetical highly scripted CPU-hotplug
environments. (i doubt they really exist in practice)
in fact (new) kprobes uses the freezer, and it's far more performance
sensitive than the handling of CPU hotplug events.
And there was almost no effort put into making the freezer fast, i'm
sure if it ever becomes a problem we could improve it quite drastically.
And that effort would improve ...
| Jan 29, 12:12 pm 2007 |
| Paul E. McKenney | Re: Fw: Re: [mm PATCH 4/6] RCU: (now) CPU hotplug
Fair enough -- though if it is a goal to remove CPUs from systems with
realtime workloads, I can assure you that we do have a problem.
Thanx, Paul
-
| Jan 28, 7:40 pm 2007 |
| Jose Goncalves | Re: Oops on serial access on kernel 2.6.16.38
OK. I've applied the patch and I'm now waiting for the kernel Oops...
sometimes it takes two days until it happens.
I'm using a standard 16550A serial controller found on my hardware, that
is a PC/104 SBC:
http://www.icop.com.tw/products_detail.asp?ProductID=70
We have a custom hardware that has another serial controller (TL16C554A)
with 4 extra serial ports (also, 16550A type), and the problem happens
in a test program that is retreiving data from ttyS0 (from the SBC) and
ttyS3 (from our ...
| Jan 29, 8:05 am 2007 |
| Ulrich Drepper | Re: [PATCH 3/3] lutimesat: actual syscall and wire-up on i386
Yes.
--=20
=E2=9E=A7 Ulrich Drepper =E2=9E=A7 Red Hat, Inc. =E2=9E=A7 444 Castro St =
=E2=9E=A7 Mountain View, CA =E2=9D=96
| Jan 29, 8:07 am 2007 |
| Alexey Dobriyan | Re: [PATCH 3/3] lutimesat: actual syscall and wire-up on i386
Checked to be sure, on ext2, ext3, reiserfs, XFS symlink timestamps
stick across mounts/umounts.
Also, looking at disk inode structures of UFS, SysV, JFFS2, GFS2, EFS, I
think they should handle lutimesat(2) just fine.
-
| Jan 29, 9:02 am 2007 |
| Alexey Dobriyan | [PATCH 3/3] lutimesat: actual syscall and wire-up on i386
OK. XFS could use it.
---------------------
[PATCH 3/3] lutimesat: actual syscall and wire-up on i386
lutimesat(2) does everything futimesat(2) does except it doesn't follow
symlinks. It could be used by tar(1) and cp(1).
FreeBSD and NetBSD have lutimes(2) which can be emulated by C library.
lutimesat(2) accepts "struct timespec" which means timestamps with nanosecond
granularity. Tested on XFS which has nanosecond timestamps on-disk.
Changes to do_utimes() which is used by all ...
| Jan 29, 2:58 am 2007 |
| Alexey Dobriyan | Re: [PATCH 3/3] lutimesat: actual syscall and wire-up on i386
What do you mean by "filesystems cannot support lutimes"? Filesystems
that don't have on-disk timestamps for symlinks?
-
| Jan 29, 4:05 am 2007 |
| Matthew Kirk | RE: fsync occasionally very slow
Regarding the long fsyncs, here's a trace...
I upgraded to a more recent kernel - 2.6.18.6 - and ran it on a workstation.
This particular box has In this case the elevator is CFQ.
This sample came from a stall that lasted about 2.5 minutes(!) - the longest
one I've seen yet. The box is a bit more memory constrained than the
original system but exhibits similar behavior. It doesn't page. Also,
there is no raid card - simply striped PATA drives.
Thanks!
Matt
2 5407 5405 ...
| Jan 29, 3:02 pm 2007 |
| Andrew Morton | Re: fsync occasionally very slow
On Mon, 29 Jan 2007 17:02:14 -0500
Using your little test app, the longest fsync() stall I can demonstrate on
2.6.20-rc4-mm1 on plain-old-sata-disk is 1.2 seconds.
What's the max stall you're able to see with the test app?
Perhaps the file is just super-fragmented. If your production app does
something like:
for (a lot) {
fd = open(name);
write(fd, a little bit);
close(fd);
}
in multiple threads, or against a lot of different files then you might be
fragmenting the files ...
| Jan 29, 4:22 pm 2007 |
| Mel Gorman | Re: [PATCH 2/8] Create the ZONE_MOVABLE zone
Yep, this is correct. If it's ever wrong, there is an additional check for
__ZONE_COUNT that will print out the appropriate warning.
Thanks
--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
-
| Jan 29, 10:28 am 2007 |
| Christoph Lameter | Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory ...
All 64 bit machine will only have a single zone if we have such a range
alloc mechanism. The 32bit ones with HIGHMEM wont be able to avoid it,
true. But all arches that do not need gymnastics to access their memory
The real savings is the simplicity of VM design, robustness and
efficiency. We loose on all these fronts if we keep or add useless zones.
The main reason for the recent problems with dirty handling seem to be due
to exactly such a multizone balancing issues involving ...
| Jan 29, 2:54 pm 2007 |
| Christoph Lameter | Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory ...
Some ARM platforms have no need for a ZONE_DMA. The code in mm allows you
With a alloc_pages_range() one would be able to specify upper and lower
boundaries. The device dma mask can be translated to a fitting boundary.
Maybe we can then also get rid of the device mask and specify a boundary
there. There is a lot of ugly code all around that circumvents the
existing issues with dma masks. That would all go away.
-
| Jan 29, 4:37 pm 2007 |
| Mel Gorman | Re: [PATCH 2/8] Create the ZONE_MOVABLE zone
Based on searching around for ZONE_DMA32, the following patch appears to be
all that is required;
diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.20-rc4-mm1-009_backout_zonecount/include/linux/vmstat.h linux-2.6.20-rc4-mm1-010_update_zonecounters/include/linux/vmstat.h
--- linux-2.6.20-rc4-mm1-009_backout_zonecount/include/linux/vmstat.h 2007-01-17 17:08:36.000000000 +0000
+++ linux-2.6.20-rc4-mm1-010_update_zonecounters/include/linux/vmstat.h 2007-01-29 16:52:42.000000000 +0000
@@ ...
| Jan 29, 10:31 am 2007 |
| Russell King | Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory ...
This sounds like it could help ARM where we have some weird DMA areas.
What will help even more is if the block layer can also be persuaded that
a device dma mask is precisely that - a mask - and not a set of leading
ones followed by a set of zeros, then we could eliminate the really ugly
dmabounce code.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
| Jan 29, 3:50 pm 2007 |
| Andrew Morton | Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory ...
On Mon, 29 Jan 2007 13:54:38 -0800 (PST)
Why do I have to keep repeating myself? 90% of known FC6-running machines
are x86-32. 90% of vendor-shipped kernels need all three zones. And the
remaining 10% ship with multiple nodes as well.
So please stop telling me what a wonderful world it is to not have multiple
zones. It just isn't going to happen for a long long time. The
multiple-zone kernel is the case we need to care about most by a very large
margin indeed. Single-zone is an ...
| Jan 29, 3:36 pm 2007 |
| Christoph Lameter | Re: [PATCH 0/8] Create ZONE_MOVABLE to partition memory ...
As I mentioned above: A function that allows an allocation to specify
We can still reduce the number of zones for those that require highmem to
two which may allows us to avoid ZONE_DMA/DMA32 issues and allow dma
devices to avoid bunce buffers that can do I/O to memory ranges not
compatible with the current boundaries of DMA/DMA32. And I am also
repeating myself.
-
| Jan 29, 3:45 pm 2007 |
| Larry Finger | Re: Bcm43xx oops after suspend to disk
Yes. If this doesn't work, then we have real problems. If it does, then I try to find the part that
is missing in the current code.
Larry
-
| Jan 29, 8:43 am 2007 |
| Pavel Machek | Re: Bcm43xx oops after suspend to disk
Can you try to debug that? swsusp is very easy to get going these
days. And with minimum drivers, it tends to work very reliably. Any
help I can provide?
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
| Jan 29, 4:58 am 2007 |
| Matthew Garrett | Re: Bcm43xx oops after suspend to disk
While this may well work (it's basically equivalent to unloading and
reloading the module), it's not a long-term fix - userspace is going to
notice the interface vanishing and reappearing. Larry, I guess you just
mean this as a test patch?
--
Matthew Garrett | mjg59@srcf.ucam.org
-
| Jan 29, 7:04 am 2007 |
| roucaries bastien | Re: Bcm43xx oops after suspend to disk
I don't think so. Larry sends me a patch I will test it this week
(perhaps tomorow or thursday). Thank you
index: linux-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
===================================================================
--- linux-2.6.orig/drivers/net/wireless/bcm43xx/bcm43xx_main.c
+++ linux-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
@@ -4244,30 +4244,12 @@ static int bcm43xx_suspend(struct pci_de
{
struct net_device *net_dev = pci_get_drvdata(pdev);
...
| Jan 29, 5:55 am 2007 |
| Hugh Dickins | Re: [PATCH] Don't allow the stack to grow into hugetlb r ...
Certainly not a problem on x86.
But, never mind hugetlb, you still not quite convinced me that there's
no problem at all with get_user_pages find_extend_vma growing on ia64.
I repeat that ia64_do_page_fault has REGION tests to guard against
expanding either kind of stack across into another region. ia64_brk,
ia64_mmap_check and arch_get_unmapped_area have RGN_MAP_LIMIT checks.
But where is the equivalent paranoia when ptrace calls get_user_pages
calls find_extend_vma?
If your usual ...
| Jan 29, 10:26 am 2007 |
| Ken Chen | Re: [PATCH] Don't allow the stack to grow into hugetlb r ...
OK, now I fully understand what you are after. I kept on thinking in the
context of hugetlb. You are correct that ia64 does not have proper address
check for find_extend_vma() and it is indeed a potentially very bad bug in
there. I'm with you, I don't see the equivalent RGN_MAP_LIMIT check in the
get_user_pages() path.
Forwarding this to Tony as I don't have any access to ia64 machine anymore
to test/validate a fix.
- Ken
-
| Jan 29, 11:32 am 2007 |
| Andi Kleen | Re: [patch -mm 3/5] x86_64: fixed-size remaining fake nodes
That sounds like syntactical vinegar and a nasty trap. Remember
that venus probe that got lost because of a wrong comma.
Can you find some nicer syntax for that please?
Also it's pretty complex. Are there use cases for all of this?
-Andi
-
| Jan 29, 6:36 am 2007 |
| David Rientjes | Re: [patch -mm 3/5] x86_64: fixed-size remaining fake nodes
The only other appropriate syntax that comes to mind is perhaps a
command-line that ends with a 0. For example, numa=fake=2*512,0 would
There are. Configurable node sizes (i.e. 'numa=fake=512,4*128', etc) are
the major concept and help to avoid the overhead associated with something
like 64 nodes of 64M each on a 4G machine. We've seen some inefficiencies
with scanning through so many zone lists on page_alloc when we encounter a
full node. Additional support such as ...
| Jan 29, 11:38 am 2007 |
| Andi Kleen | Re: [patch] suspend debugging: simulate suspend-to-RAM
It will work with some luck with firescope (in the worst case you
might need to disable suspend in ochi1394). Many laptops have firewire
ports.
ftp://ftp.firstfloor.org/pub/ak/firescope/
-Andi
-
| Jan 29, 8:41 am 2007 |
| Andrew Morton | Re: [Ltt-dev] [PATCH 00/09] atomic.h : standardizing ato ...
On Mon, 29 Jan 2007 10:49:43 -0800
http://userweb.kernel.org/~akpm/arm-cross.tar.bz2 works. It's linked
on FC5 x86, runs OK on FC6 and FC3 or thereabouts.
-
| Jan 29, 12:16 pm 2007 |
| Randy Dunlap | Re: [Ltt-dev] [PATCH 00/09] atomic.h : standardizing ato ...
I'd certainly like to see/use it.
---
~Randy
-
| Jan 29, 11:49 am 2007 |
| Richard Purdie | Re: [Ltt-dev] [PATCH 00/09] atomic.h : standardizing ato ...
FWIW, OpenEmbedded (http://www.openembedded.org/) is a very capable
toolchain builder amongst other things. I built an ARM toolchain for
Andrew a while back with it. I'm personally not sure of its support
outside ARM/i386 since I don't have hardware to test any other output
but others use it for a variety of targets and new ones are simple to
add due to its design.
I could probably arrange to share an ARM toolchain if there was
demand...
Richard
-
| Jan 29, 11:36 am 2007 |
| Pete Zaitcev | Re: Juju
Oh never mind, sorry. It said "Already up-to-date", but since HTTP
I see, thanks.
-- Pete
-
| Jan 29, 1:22 pm 2007 |
| Pete Zaitcev | Re: Juju
This seems to have disappeared. Was it moved or dropped?
-- Pete
-
| Jan 28, 5:13 pm 2007 |
| Kristian Høgsberg | Re: Juju
No, it's still there, and I just did a git clone on it. How does it fail for
you? In any case, you're probably better of pulling from Stefans kernel.org tree:
git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git
since that's where new work is going to show up. I'm still trying to figure
out a good workflow for this, but if all patches are going to through
linux1394-devel, there's not much point in me publishing a branch in the
freedesktop.org repo, if the ...
| Jan 29, 12:53 pm 2007 |
| Stephen Hemminger | Re: Linux 2.6.20-rc6 - sky2 resume breakage
On Mon, 29 Jan 2007 21:10:30 +0100
Sorry it was against the last patch I sent to Jeff for netdev.
Here is against 2.6.20-rc6
---
drivers/net/sky2.c | 43 ++++++++++++++++++-------------------------
1 files changed, 18 insertions(+), 25 deletions(-)
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index a2e804d..d85de63 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -3598,6 +3598,12 @@ static int sky2_suspend(struct pci_dev *
}
}
+ /* Turn off IRQ to avoid ...
| Jan 29, 2:38 pm 2007 |
| Thomas Gleixner | Re: Linux 2.6.20-rc6 - sky2 resume breakage
patching file drivers/net/sky2.c
Hunk #1 FAILED at 3675.
Hunk #2 succeeded at 3625 (offset -81 lines).
Hunk #3 succeeded at 3738 with fuzz 1 (offset -1 lines).
Hunk #4 succeeded at 3668 with fuzz 2 (offset -110 lines).
1 out of 4 hunks FAILED -- saving rejects to file drivers/net/sky2.c.rej
# grep -c sky2_power_aux drivers/net/sky2.c
0
Shrug.
tglx
-
| Jan 29, 1:10 pm 2007 |
| Thomas Gleixner | Re: Linux 2.6.20-rc6 - sky2 resume breakage
Is dhclient running after resume ? What's the output of ifconfig (before
you do ifdown/up) ? Have you checked the syslog ?
tglx
-
| Jan 29, 3:57 pm 2007 |
| Thomas Gleixner | Re: Linux 2.6.20-rc6 - sky2 resume breakage
And the fix is unnecessary and counter productive on laptops, where ACPI
does the right thing.
tglx
-
| Jan 29, 3:31 pm 2007 |
| Stephen Hemminger | [PATCH] block MSI on Sony
The Sony VAIO BIOS resets to INTx on resume. This happens
after device resume, so device irq's get misrouted.
This hack turns off MSI on this laptop, until power management
initialization order is fixed.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
---
drivers/pci/quirks.c | 32 ++++++++++++++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index ef882a8..9a64179 100644
--- ...
| Jan 29, 4:50 pm 2007 |
| Stephen Hemminger | Re: Linux 2.6.20-rc6 - sky2 resume breakage
On Mon, 29 Jan 2007 14:37:23 -0800 (PST)
MSI works fine for almost all systems (except AMD systems where
Module option out already exists.
-
| Jan 29, 3:40 pm 2007 |
| Thomas Gleixner | Re: Linux 2.6.20-rc6 - sky2 resume breakage
That's probably a userspace problem. Are you using DHCP ?
tglx
-
| Jan 29, 3:45 pm 2007 |
| Thomas Gleixner | Re: Linux 2.6.20-rc6 - sky2 resume breakage
Just got the same issue on one of my test boxen. Different network card
though. The interface comes up fine, but DNS is not working. ifdown/up
resolves it.
/me keeps an eye on that.
tglx
-
| Jan 29, 4:37 pm 2007 |
| Dave Jones | Re: 2.6.20-rc6: known regressions with patches
On Mon, Jan 29, 2007 at 09:45:48AM +0100, Ingo Molnar wrote:
>
> * Adrian Bunk <bunk@stusta.de> wrote:
>
> > Subject : ACPI: fix cpufreq regression
> > References : http://lkml.org/lkml/2007/1/16/120
> > Submitter : Ingo Molnar <mingo@elte.hu>
> > Caused-By : Dave Jones <davej@redhat.com>
> > commit 0916bd3ebb7cefdd0f432e8491abe24f4b5a101e
> > Handled-By : Ingo Molnar <mingo@elte.hu>
> > Patch : http://lkml.org/lkml/2007/1/16/120
> > Status : patch ...
| Jan 29, 5:58 am 2007 |
| Stephen Hemminger | Re: Linux 2.6.20-rc6 - sky2 resume breakage
On Mon, 29 Jan 2007 23:23:21 +0100
But the fix is necessary on laptops where ACPI messes with MSI/INTx
on resume.
--
Stephen Hemminger <shemminger@linux-foundation.org>
-
| Jan 29, 3:23 pm 2007 |
| Thomas Gleixner | [PATCH] sky2: fix MSI related resume breakage
commmit 44ade178249fe53d055fd92113eaa271e06acddd breaks sane
MSI/ACPI/BIOS combinations. It's impossible to keep broken and sane
MSI/ACPI/BIOSes happy at the same time.
Revert the patch and disable MSI for sky2 when CONFIG_PM is enabled.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index a2e804d..420fef7 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -91,7 +91,11 @@ static int copybreak __read_mostly = 128;
...
| Jan 29, 4:42 pm 2007 |
| Stephen Hemminger | Re: Linux 2.6.20-rc6 - sky2 resume breakage
On Mon, 29 Jan 2007 15:04:06 -0800 (PST)
Why do you insist on maintaining the wrong initialization order
on resume? When I raised the issue, Len brought up that the resume
order did not match spec, but then there has been slow progress
in fixing it (it's buried in -mm tree).
--
Stephen Hemminger <shemminger@linux-foundation.org>
-
| Jan 29, 4:45 pm 2007 |
| Frédéric | Re: Linux 2.6.20-rc6 - sky2 resume breakage
I see the same symptoms on my Intel Mac Mini, and reverting the commit
also allows the driver to seemingly resume correctly.
However after coming out of sleep I need to reconfigure the network
interface. No need to rmmod/insmod, just ifdown/ifup is sufficient (but
of course shouldn't be necessary, should it?). If I don't reconfigure
it, ping from/to the box will work, but nothing more complicated like
ssh will go through.
Fred.
-
| Jan 29, 3:38 pm 2007 |
| Mike Galbraith | Re: 2.6.20-rc6: known unfixed regressions (v2) (part 2)
FWIW, I just tried it with 2.6.20-rc6, and can confirm. Once nero is
run, the kernel never gives up retrying whatever command failed, so I
get...
[ 4362.972995] hdd: status error: status=0x58 { DriveReady SeekComplete
DataRequest }
[ 4362.981475] ide: failed opcode was: unknown
[ 4362.986183] hdd: drive not ready for command
endlessly.
-Mike
-
| Jan 28, 11:26 pm 2007 |
| Frédéric | Re: Linux 2.6.20-rc6 - sky2 resume breakage
The process is of course in the process list, if that's what you mean by
The output is always the same modulo the transmitted packet numbers:
eth0 Link encap:Ethernet HWaddr 00:16:CB:A2:E4:43
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::216:cbff:fea2:e443/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:269 errors:0 dropped:0 overruns:0 frame:0
TX packets:57 errors:0 ...
| Jan 29, 4:26 pm 2007 |
| Thomas Gleixner | Re: Linux 2.6.20-rc6 - sky2 resume breakage
Still the same problem. The only difference of this patch to the
previous version is, that the unhandled interrupt message is gone.
As I said before:
Reverting commit 44ade178249fe53d055fd92113eaa271e06acddd, which added
this hackery in the first place, makes the device survive
suspend/resume.
tglx
-
| Jan 29, 3:23 pm 2007 |
| Frédéric | Re: Linux 2.6.20-rc6 - sky2 resume breakage
Yep DHCP. Is that a known issue? I never had to reconfigure with older
kernels.
Fred.
-
| Jan 29, 3:50 pm 2007 |
| Linus Torvalds | Re: 2.6.20-rc6: known unfixed regressions (v2) (part 2)
Ok, I'm personally heading to bed, but it rally should be as simple as
- get the git tree in the first place
- do
git bisect good v2.6.19
git bisect bad v2.6.20-rc2
.. it will pick a point for you to try ..
.. compile, boot, test ..
"git bisect {good|bad}" depending on results
- until (found)
(Of course, you should check that -rc2 really is bad to make sure. I think
that's what Uwe reported, though. And I don't think we've done anything
after -rc2 that could impact ...
| Jan 29, 12:13 am 2007 |
| Linus Torvalds | Re: Linux 2.6.20-rc6 - sky2 resume breakage
Why do you ignore reality?
MSI does *not* work fine, exactly because the firmware screws it up.
The fact that on a "hardware level" it may work is totally irrelevant. The
*only* thing that matters is what people actually see.
"Positivism" may not be a hot philosophy these days any more, but dang, it
certainly is better than what you seem to espouse: "in theory things work
fine".
And if you don't like positivism, how about just simple scientific method:
a theory is ...
| Jan 29, 4:04 pm 2007 |
| Linus Torvalds | Re: Linux 2.6.20-rc6 - sky2 resume breakage
I suspect some BIOSes do *not* screw up the MSI thing on resume, and
others do.
I would suggest that the real fix is to not do that kind of hackery at
suspend/resume time (because we can't know what the heck the BIOS does),
and instead just do one of two cases:
- since MSI is known to be broken for the sky2 driver due to firmware
bugs, just disable it by default if CONFIG_PM is enabled. The
advantages of MSI just aren't all that compelling. Possibly add a
command line ...
| Jan 29, 3:37 pm 2007 |
| Mike Galbraith | Re: 2.6.20-rc6: known unfixed regressions (v2) (part 2)
Unfortunately, I'm git impaired. I am rummaging as we speak though.
-Mike
-
| Jan 29, 12:08 am 2007 |
| Andrew Morton | Re: 2.6.20-rc6: known unfixed regressions (v2) (part 2)
On Mon, 29 Jan 2007 07:26:03 +0100
Do you have time to bisect it?
-
| Jan 28, 11:48 pm 2007 |
| Stephen Hemminger | Re: Linux 2.6.20-rc6 - sky2 resume breakage
Does this fix it?
---
drivers/net/sky2.c | 43 ++++++++++++++++++-------------------------
1 file changed, 18 insertions(+), 25 deletions(-)
--- sky2-2.6.orig/drivers/net/sky2.c 2007-01-29 10:05:12.000000000 -0800
+++ sky2-2.6/drivers/net/sky2.c 2007-01-29 10:29:56.000000000 -0800
@@ -3675,6 +3675,12 @@
sky2_write32(hw, B0_IMSK, 0);
sky2_power_aux(hw);
+ /* Turn off IRQ to avoid power management bug (see resume) */
+ if (hw->msi) {
+ free_irq(pdev->irq, ...
| Jan 29, 12:31 pm 2007 |
| Ingo Molnar | Re: 2.6.20-rc6: known regressions with patches
this is commit e4233dec749a3519069d9390561b5636a75c7579 meanwhile.
Ingo
-
| Jan 29, 1:45 am 2007 |
| Josh Triplett | Re: [RFC PATCH -rt 2/2] RCU priority boosting additions ...
Signed-off-by: Josh Triplett <josh@kernel.org>
- Josh Triplett
-
| Jan 28, 11:05 pm 2007 |
| Paul E. McKenney | Re: [RFC PATCH -rt 2/2] RCU priority boosting additions ...
Or to make it bounce around onto multiple CPUs, I suppose. Leaving
these out for the moment. ;-)
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
rcutorture.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 76 insertions(+), 14 deletions(-)
diff -urpNa -X dontdiff linux-2.6.20-rc4-rt1/kernel/rcutorture.c linux-2.6.20-rc4-rt1-rcubtorture/kernel/rcutorture.c
--- linux-2.6.20-rc4-rt1/kernel/rcutorture.c 2007-01-09 10:59:54.000000000 ...
| Jan 28, 7:11 pm 2007 |
| Chuck Ebbert | Re: 2.6.20rc5 k8/acpi regression ( 2.6.17.13 works fine ).
In __rmqueue() (mm/page_alloc.c line 619:
static struct page *__rmqueue(struct zone *zone, unsigned int order)
{
struct free_area * area;
unsigned int current_order;
struct page *page;
for (current_order = order; current_order < MAX_ORDER;
++current_order) {
area = zone->free_area + current_order;
if (list_empty(&area->free_list))
continue;
page = list_entry(area->free_list.next, ...
| Jan 29, 3:30 pm 2007 |
| Lennart Sorensen | Re: Strange problem with tty layer
I have run some tests with 8 patches from Linus's 2.6 tree on top of the
2.6.16.25 along with a bit of debug code in the n_tty.c, which ran
perfectly for 3 days. I now removed the debug code to see if it will
still run perfectly with those 8 patches. The patches I applied in
order are:
commit 70522e121a521aa09bd0f4e62e1aa68708b798e1
commit 41c28ff1635e71af072c4711ff5fadd5855d48e7
commit 1aef821a6b3aeca8c19d06aee012ed9db617d1e3
commit ee37df7877eeaa16d7761cce64854110a7c17ad9
commit ...
| Jan 29, 12:27 pm 2007 |
| Chuck Ebbert | Re: [patch] i386: add option to show more code in oops reports
This was patch inspired by my finding out that code in the running
kernel might have
been modified at runtime by some strange bug, and looking at vmlinux
might not be
helpful.
See:
Yeah, there's no way it could be the default. But I'd like to see if
Alistair John Strachan's
running kernel matches the vmlinux he posted with that strange
unexplained oops.
-
| Jan 29, 8:40 am 2007 |
| Andi Kleen | Re: [patch] i386: add option to show more code in oops reports
Hmm ok, although I still suspect in such a case you'll be better
off with a full kcrash dump.
-Andi
-
| Jan 29, 11:03 am 2007 |
| Andi Kleen | Re: [patch] i386: add option to show more code in oops reports
Hmm, not sure I see the point. The Code line is just that you can
make sense of random mailing list oopses where you don't
have a vmlinux. But as long as you don't make the option
the default you would need to ask people to set it for you -- and when you
ask you could always as well ask about the vmlinux and get
as much code as you ever wanted.
So unless it's default it's likely useless and I don't think
it is a good idea to make it default because oops screen estate
is so ...
| Jan 28, 8:44 pm 2007 |
| Alan | Re: via irq quirk breakage
My PCI tree is somewhat different to the default one and I did test it
but possibly sucked in some dependancies on the cyrix and other early PCI
Acked-by: Alan Cox <alan@redhat.com>
This is a lot neater than the original patch too. Only problem I see is
pci=reverse might need more care.
Alan
-
| Jan 29, 8:51 am 2007 |
| Jean Delvare | Re: via irq quirk breakage
Ni Nick, Alan,
Your hack seems quite broken to me, I suspect it works somewhat by
The same bug was reported to me by someone else, and my investigation
led me to the conclusion that pci_find_present() doesn't work yet at
the moment the quirks are run. Am I right? Which makes me wonder if
this VIA quirks update was ever tested. Alan?
Here is the patch I have come up with. It might not qualify as elegant,
but at least it appears to solve the issue. Nick, can you please give it
a try and ...
| Jan 29, 8:00 am 2007 |
| john stultz | Re: [patch 00/46] High resolution timer / dynamic tick update
"He's got a bug!"
What's his bug got to do with me?
"He's got a bug!"
I ain't trying to hear that, see?
But seriously (the above might be too obscure of a reference :), my
x86_64 GTOD patches were against vanilla and were not dependent on the
HRT patches. There were a few merge/fixup patches in your tree, but I
don't recall many of them being really interleaved w/ the HRT code. I'm
I missing or forgetting some bit?
Should I just revive the old 2.6.20-rc4-mm1 patches against your ...
| Jan 29, 2:31 pm 2007 |
| john stultz | Re: [patch 00/46] High resolution timer / dynamic tick update
Thomas just pointed out that I had missed that the bits are back in
-mm2.
Sorry for the noise.
-john
-
| Jan 29, 2:45 pm 2007 |
| Stefan Seyfried | Re: [ANNOUNCE] System Inactivity Monitor v1.0
--
Stefan Seyfried
QA / R&D Team Mobile Devices | "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg | "Well, surrounding them's out."
-
| Jan 29, 1:24 am 2007 |
| yunfeng zhang | Re: [PATCH 2.6.20-rc5 1/1] MM: enhance Linux swap subsystem
If the whole idea is deployed on Linux, following core objects should be erased
1) anon_vma.
2) pgdata::active/inactive list and relatted methods -- mark_page_accessed etc.
3) PrivatePage::count and mapcount. If core need to share the page, add PG_kmap
flag. In fact, page::lru_list can safetly be erased too.
Um! Data cmpxchged should include access bit. And I have only x86 PC, memory <
1G. 3level pagetable code copied from Linux other functions.
-
| Jan 28, 10:29 pm 2007 |
| Arjan van de Ven | Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit
sounds like it's not the right approach; better to follow the
PT_GNU_STACK example and do it that way.....
(assuming you even need it... I personally consider every binary that
would need this flag as broken)
-
| Jan 28, 6:18 pm 2007 |
| Jesse Barnes | Re: [RFC] pci_bus conversion to struct device
Yes. Though like I said, those interfaces make sense on other platforms
too, with weird ISA I/O and memory space mapping requirements.
Jesse
-
| Jan 29, 12:13 pm 2007 |
| Frédéric | Re: i965 testers wanted (Re: intel-agp PM experiences)
I can confirm that this patch is needed for my Intel Mac Mini to resume
correctly when used without BIOS emulation (EFI mode). Here're the
relevant lspci lines:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics ...
| Jan 29, 3:05 pm 2007 |
| Pavel Machek | Re: i965 testers wanted (Re: intel-agp PM experiences)
Can you attach the patch you tested (there was link above, but it did
not work for me), and try pushing it through maintainers?
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
| Jan 29, 3:10 pm 2007 |
| Dave Jones | Re: i965 testers wanted (Re: intel-agp PM experiences)
On Mon, Jan 29, 2007 at 11:21:31PM +0100, Frédéric Riss wrote:
> Le lundi 29 janvier 2007 à 23:10 +0100, Pavel Machek a écrit :
> > > > Ok, I guess we'd like some testing here... so that in can be fixed in
> > > > mainline...
> > >
> > > I can confirm that this patch is needed for my Intel Mac Mini to resume
> > > correctly when used without BIOS emulation (EFI mode). Here're the
> > > relevant lspci lines:
> >
> > Can you attach the patch you tested (there was link above, but it ...
| Jan 29, 3:34 pm 2007 |
| Frédéric | Re: i965 testers wanted (Re: intel-agp PM experiences)
I inlined the patch I used below. If I'm not mistaken, the maintainer is
Davej which is already in the Cc: list. I think it's exactly the same as
was submitted in http://lkml.org/lkml/2007/1/16/297 (I may have hand
copied it though, can't remember). The above link is more complete as it
contains the Signed-off-by and a description.
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index ab0a9c0..f64a115 100644
--- a/drivers/char/agp/intel-agp.c
+++ ...
| Jan 29, 3:21 pm 2007 |
| Andreas Mohr | Re: intel-agp PM experiences (was: 2.6.20-rc5: usb mouse ...
Hi,
[sorry, somewhat late, had complete and utter heating failure at home]
I employed a variant of your patch (added a static i815_dev
to support my i815 chipset). It didn't help, X hung on resume.
PCI IDs of i815 are 0x1130, 0x1131, 0x1132.
I'm having 0x1130 and 0x1131, IOW an i815 system in
"external AGP graphics" mode:
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge ...
| Jan 29, 2:30 pm 2007 |
| Andrea Arcangeli | Re: O_DIRECT question
O_DIRECT is about avoiding the copy_user between cache and userland,
when working with devices that runs faster than ram (think >=100M/sec,
quite standard hardware unless you've only a desktop or you cannot
afford raid).
O_SYNC is about working around buggy or underperforming VM growing the
dirty levels beyond optimal levels, or to open logfiles that you want
to save to disk ASAP (most other journaling usages are better done
with fsync instead). Or you can mount the fs in sync mode when ...
| Jan 29, 10:00 am 2007 |
| Phillip Susi | Re: O_DIRECT question
Yes, if you change the normal io paths to properly support playing
vmsplice games ( which have a number of corner cases ) to get the zero
copy, and support madvise() and O_SYNC to control caching behavior, and
fix all the error handling corner cases, then you may be able to do away
with O_DIRECT.
I believe that doing all that will be much more complex than O_DIRECT
however.
-
| Jan 29, 8:43 am 2007 |
| Konstantin Kletschke | Re: ARM i.MX serial: fix tx buffer overflows
Okay, this indeed fixes my
No IRQF_TRIGGER set_type function for IRQ 26 (MPU)
here!
Regards, Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
-
| Jan 29, 7:47 am 2007 |
| Russell King | Re: ARM i.MX serial: fix tx buffer overflows
Is it really worth adding additional code to shut up this (imho) silly
warning? It's just adding needless complexity to drivers.
What happens if a driver is used on multiple platforms, some of which
support trigger setting and others which don't? Are we going to end
up with a large #ifdef in every driver?
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
| Jan 29, 8:37 am 2007 |
| Konstantin Kletschke | Re: ARM i.MX serial: fix tx buffer overflows
As I pointed out in
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2006-November/037192.html
I don't know exactly. But in addition to the fact, that this warning
floods my console to unusable state I am used to sell software without
warnings. If there are warnings my boss some things are broken.
Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
-
| Jan 29, 9:43 am 2007 |
| Anderson Briglia | Re: [PATCH 4/4] Add MMC Password Protection (lock/unlock ...
Hi Pierre,
Sorry about the delay.
I changed a bit the code to align with your latest suggestions.
> drivers/mmc/mmc_sysfs.c: In function
| Jan 29, 11:35 am 2007 |
| previous day | today | next day |
|---|---|---|
| January 28, 2007 | January 29, 2007 | January 30, 2007 |
