[git patch] libata oops fix

2007-04-19 Thread Jeff Garzik
Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus to receive the following updates: drivers/ata/pata_sis.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) Alan Cox (1): pata_sis: Fix oops on

Re: [PATCH] bluetooth bnep: Convert to kthread API.

2007-04-19 Thread Andrew Morton
On Thu, 19 Apr 2007 01:58:51 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: From: Eric W. Biederman [EMAIL PROTECTED] This patch starts kbenpd using kthread_run replacing a combination of kernel_thread and daemonize. Making the code a little simpler and more maintainable.

Re: GPL-incompatible Module Error Message

2007-04-19 Thread Alan Cox
What's happening is that some kernel developers don't like Linus's stance on binary-only drivers and are trying to circumvent the norms of software copyright law using EXPORT_SYMBOL_GPL. The troll is back I see. Why don't you give him some useful information instead - Turn off the paravirt

Re: [PATCH] macintosh/mediabay: Convert to kthread API.

2007-04-19 Thread Andrew Morton
On Thu, 19 Apr 2007 01:58:50 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: This patch modifies the startup of the media_bay_task to use kthread_run and not a combination of kernel_thread, deamonize and sigfillset. In addition since we now always want to ignore signals the

Re: [linux-dvb] Re: [video4linux-cvs] [hg:v4l-dvb] Add support for Opera S1- DVB-USB

2007-04-19 Thread hermann pitton
Am Freitag, den 20.04.2007, 03:19 +0400 schrieb Manu Abraham: hermann pitton wrote: Am Freitag, den 20.04.2007, 02:51 +0400 schrieb Manu Abraham: Markus Rechberger wrote: On 4/20/07, Manu Abraham [EMAIL PROTECTED] wrote: hermann pitton wrote: Am Freitag, den 20.04.2007, 00:55 +0400

Re: [PATCH] macintosh/therm_windtunnel.c: Convert to kthread API.

2007-04-19 Thread Andrew Morton
On Thu, 19 Apr 2007 01:58:48 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: Start the g4fand using kthread_run not a combination of kernel_thread and deamonize. This makes the code a little simpler and more maintainable. I had a bit of trouble reviewing this one because I was laughing so

Re: [linux-dvb] Re: [video4linux-cvs] [hg:v4l-dvb] Add support for Opera S1- DVB-USB

2007-04-19 Thread Manu Abraham
hermann pitton wrote: Am Freitag, den 20.04.2007, 03:19 +0400 schrieb Manu Abraham: hermann pitton wrote: Am Freitag, den 20.04.2007, 02:51 +0400 schrieb Manu Abraham: Markus Rechberger wrote: On 4/20/07, Manu Abraham [EMAIL PROTECTED] wrote: hermann pitton wrote: Am Freitag, den

Re: PCI bridge range sizing bug

2007-04-19 Thread Greg KH
On Thu, Apr 19, 2007 at 04:11:50PM -0700, Jesse Barnes wrote: On Thursday, April 5, 2007 3:37 pm Adam Jackson wrote: So I'm attempting to do something fairly heinous (X server across five video cards), and I hit a fun bug in bridge range setup. See attached lspci and dmesg, but the short

Re: [PATCH] powerpc pseries eeh: Convert to kthread API

2007-04-19 Thread Andrew Morton
On Thu, 19 Apr 2007 01:58:45 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: This patch modifies the startup of eehd to use kthread_run not a combination of kernel_thread and daemonize. Making the code slightly simpler and more maintainable. You're making me look at a lot of things which

Re: [PATCH] ia64 sn xpc: Convert to use kthread API.

2007-04-19 Thread Andrew Morton
On Thu, 19 Apr 2007 01:58:44 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: This patch starts the xpc kernel threads using kthread_run not a combination of kernel_thread and daemonize. Resuling in slightly simpler and more maintainable code. Cc: Jes Sorensen [EMAIL PROTECTED] Cc: Tony

[d_path 6/7] Filter out disconnected paths from /proc/mounts

2007-04-19 Thread Andreas Gruenbacher
Use d_path() instead of seq_path when generating /proc/mounts and /proc/$id/mountstats, reuse the same buffer for all mounts, and filter out disconnected paths. This path has no net effect in itself because d_path() so far doesn't distinguish sconnected and disconnected paths yet. The next patch

[d_path 7/7] Distinguish between connected and disconnected paths in d_path()

2007-04-19 Thread Andreas Gruenbacher
Change d_path() so that it will never return a path starting with '/' if the path doesn't lead up to the chroot directory. Also ensure that the path returned never is the empty string: this would only occur with a lazily unmounted file system; return . in that case instead. Signed-off-by:

[d_path 1/7] Fix __d_path() for lazy unmounts and make it unambiguous

2007-04-19 Thread Andreas Gruenbacher
First, when __d_path() hits a lazily unmounted mount point, it tries to prepend the name of the lazily unmounted dentry to the path name. It gets this wrong, and also overwrites the slash that separates the name from the following pathname component. This patch fixes that; if a process was in

[d_path 3/7] Add d_namespace_path() to compute namespace relative pathnames

2007-04-19 Thread Andreas Gruenbacher
In AppArmor, we are interested in pathnames relative to the namespace root. This is the same as d_path() except for the root where the search ends. Add a function for computing the namespace-relative path. Signed-off-by: Andreas Gruenbacher [EMAIL PROTECTED] Reviewed-by: John Johansen [EMAIL

[d_path 5/7] Remove duplicate proc code

2007-04-19 Thread Andreas Gruenbacher
Remove some duplicate code in generating the contents of /proc/mounts and /proc/$pid/mountstats. Signed-off-by: Andreas Gruenbacher [EMAIL PROTECTED] --- fs/proc/base.c | 45 +++-- 1 file changed, 15 insertions(+), 30 deletions(-) --- a/fs/proc/base.c

[d_path 4/7] Make getcwd() only return valid paths

2007-04-19 Thread Andreas Gruenbacher
Make getcwd() fail with -ENOENT if the current working directory is disconnected: the process is not asking for some previous name of that directory but for the current name; returning a path meaningless in the context of that process makes no sense. Signed-off-by: Andreas Gruenbacher [EMAIL

[d_path 0/7] Fixes to d_path: Respin

2007-04-19 Thread Andreas Gruenbacher
On Tuesday 17 April 2007 19:21, Alan Cox wrote: Can you prove no existing application on the planet relies on the existing behaviour ? Actually more limited but sane as a test would be Can you prove that the glibc behaviour visible to applications does not change As far as I can see, glibc

[d_path 2/7] Make d_path() consistent across mount operations

2007-04-19 Thread Andreas Gruenbacher
The path that __d_path() computes can become slightly inconsistent when it races with mount operations: it grabs the vfsmount_lock when traversing mount points, but immediately drops it again, only to re-grab it when it reaches the next mount point. The result is that the filename computed is not

Re: [linux-dvb] Re: [video4linux-cvs] [hg:v4l-dvb] Add support for Opera S1- DVB-USB

2007-04-19 Thread hermann pitton
Am Freitag, den 20.04.2007, 03:42 +0400 schrieb Manu Abraham: hermann pitton wrote: Am Freitag, den 20.04.2007, 03:19 +0400 schrieb Manu Abraham: hermann pitton wrote: Am Freitag, den 20.04.2007, 02:51 +0400 schrieb Manu Abraham: Markus Rechberger wrote: On 4/20/07, Manu Abraham [EMAIL

Re: [RFC 0/8] Variable Order Page Cache

2007-04-19 Thread Maxim Levitsky
On Thursday 19 April 2007 19:35:04 Christoph Lameter wrote: Variable Order Page Cache Patchset This patchset modifies the core VM so that higher order page cache pages become possible. The higher order page cache pages are compound pages and can be handled in the same way as regular pages.

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-19 Thread Jan Knutar
On Thursday 19 April 2007 18:18, Ingo Molnar wrote: * Willy Tarreau [EMAIL PROTECTED] wrote: You can certainly script it with -geometry. But it is the wrong application for this matter, because you benchmark X more than glxgears itself. What would be better is something like a line

Re: [patch] CFS scheduler, v3

2007-04-19 Thread Peter Williams
Ingo Molnar wrote: - bugfix: use constant offset factor for nice levels instead of sched_granularity_ns. Thus nice levels work even if someone sets sched_granularity_ns to 0. NOTE: nice support is still naive, i'll address the many nice level related suggestions in -v4. I have a

[PPC] Preemption?

2007-04-19 Thread Andrew J. Barr
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is preemption safe to use on PowerPC these days? - -- Andrew J. Barr | http://www.pridelands.dyndns.org/ Why must I fail at every attempt at masonry? -- Homer Simpson, Mom and Pop Art [AABF15] -BEGIN PGP SIGNATURE- Version: GnuPG

Re: Renice X for cpu schedulers

2007-04-19 Thread Con Kolivas
On Friday 20 April 2007 02:15, Mark Lord wrote: Con Kolivas wrote: On Thursday 19 April 2007 23:17, Mark Lord wrote: Con Kolivas wrote: s go ahead and think up great ideas for other ways of metering out cpu bandwidth for different purposes, but for X, given the absurd simplicity of

Re: PCI bridge range sizing bug

2007-04-19 Thread Linus Torvalds
On Thu, 19 Apr 2007, Greg KH wrote: On Thu, Apr 19, 2007 at 04:11:50PM -0700, Jesse Barnes wrote: On Thursday, April 5, 2007 3:37 pm Adam Jackson wrote: So I'm attempting to do something fairly heinous (X server across five video cards), and I hit a fun bug in bridge range setup. See

Re: Renice X for cpu schedulers

2007-04-19 Thread Michael K. Edwards
On 4/19/07, Con Kolivas [EMAIL PROTECTED] wrote: The cpu scheduler core is a cpu bandwidth and latency proportionator and should be nothing more or less. Not really. The CPU scheduler is (or ought to be) what electric utilities call an economic dispatch mechanism -- a real-time controller

Re: [PATCH] sparc64/power.c: Convert to use the kthread API

2007-04-19 Thread Andrew Morton
On Thu, 19 Apr 2007 01:58:39 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: From: Eric W. Biederman [EMAIL PROTECTED] This starts the sparc64 powerd using kthread_run instead of kernel_thread and daemonize. Making the code slightly simpler and more maintainable. In addition the

Re: [PATCH] sas_scsi_host: Convert to use the kthread API

2007-04-19 Thread Andrew Morton
On Thu, 19 Apr 2007 01:58:38 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies the sas scsi host thread startup to use kthread_run not kernel_thread and deamonize. kthread_run is slightly simpler and more maintainable. Again,

Re: GPL-incompatible Module Error Message

2007-04-19 Thread Andi Kleen
Chris Bergeron [EMAIL PROTECTED] writes: Hello all, Building the fglrx module against the current Linux kernel (2.6.20.7 as of this e-mail) I'm getting an error: FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'paravirt_ops' It should probably be available for

Re: Renice X for cpu schedulers

2007-04-19 Thread Ray Lee
Con Kolivas wrote: You're welcome and thanks for taking the floor to speak. I would say you have actually agreed with me though. X is not unique, it's just an obvious so let's not design the cpu scheduler around the problem with X. Same goes for every other application. Leaving the choice

Re: GPL-incompatible Module Error Message

2007-04-19 Thread Michael K. Edwards
On 4/19/07, Alan Cox [EMAIL PROTECTED] wrote: The troll is back I see. Troll, shmoll. I call 'em like I see 'em. As much as I like and depend on Linux, and as much as I respect the contributions and the ideals of the EXPORT_SYMBOL_GPL partisans, they're spreading needless FUD by spraying

rr_interval experiments

2007-04-19 Thread Con Kolivas
On Friday 20 April 2007 01:01, Con Kolivas wrote: This then allows the maximum rr_interval to be as large as 5000 milliseconds. Just for fun, on a core2duo make allnoconfig make -j8 here are the build time differences (on a 1000HZ config) machine: 16ms: 53.68user 4.81system 0:34.27elapsed

Re: [RFC 0/8] Variable Order Page Cache

2007-04-19 Thread Christoph Lameter
On Fri, 20 Apr 2007, David Chinner wrote: So looking at this the main thing for converting a filesystem is some extra bits in the mount process and replacing PAGE_CACHE_* macros with page_cache_*() wrapper functions. Right. We can probably set all this up trivially with XFS by allowing

Re: [RFC 4/8] Enhance fallback functions in libs to support higher order pages

2007-04-19 Thread Christoph Lameter
On Fri, 20 Apr 2007, David Chinner wrote: I think PAGE_CACHE_SIZE is a redundant define with these modifications. The page cache size in now variable and it is based on a multiple of PAGE_SIZE. Hence I suggest that PAGE_CACHE_SIZE and it's derivitives should be made to go away completely

Re: [RFC 0/8] Variable Order Page Cache

2007-04-19 Thread Christoph Lameter
On Fri, 20 Apr 2007, Maxim Levitsky wrote: First of all, today, packet writing on cd/dvd doesn't work well, it is very slow because now all file-systems are limited to 4k-barrier and cd/dvd can write only 32k/64k packets. This is why a pktcdvd was written and it emulates those 4k sectors

Re: Getting the new RxRPC patches upstream

2007-04-19 Thread Herbert Xu
David Miller [EMAIL PROTECTED] wrote: I applied already the patches I thought were appropriate, you had some crypto layer changes that you need to work out with Herbert Xu before the rest can be applied. He has already fixed it by using the scatterlist interface for now. So the last set of

Re: Renice X for cpu schedulers

2007-04-19 Thread Ed Tomlinson
On Thursday 19 April 2007 12:15, Mark Lord wrote: Con Kolivas wrote: On Thursday 19 April 2007 23:17, Mark Lord wrote: Con Kolivas wrote: s go ahead and think up great ideas for other ways of metering out cpu bandwidth for different purposes, but for X, given the absurd simplicity of

Re: Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-19 Thread Herbert Xu
David Miller [EMAIL PROTECTED] wrote: That file had alloc_skb_from_cache() in it, which nothing in the vanilla kernel ever invoked. How did it even get there? If it was put there for Xen's sake, that stinks because Xen is out of tree. I think it was included because this is a list of all

Re: Renice X for cpu schedulers

2007-04-19 Thread Linus Torvalds
On Thu, 19 Apr 2007, Ed Tomlinson wrote: SD just doesn't do nearly as good as the stock scheduler, or CFS, here. I'm quite likely one of the few single-CPU/non-HT testers of this stuff. If it should ever get more widely used I think we'd hear a lot more complaints. amd64 UP

Re: Renice X for cpu schedulers

2007-04-19 Thread Michael K. Edwards
On 4/19/07, Lee Revell [EMAIL PROTECTED] wrote: IMHO audio streamers should use SCHED_FIFO thread for time critical work. I think it's insane to expect the scheduler to figure out that these processes need low latency when they can just be explicit about it. Professional audio software does it

Re: [PATCH] cpqphp: Convert to use the kthread API

2007-04-19 Thread Andrew Morton
On Thu, 19 Apr 2007 01:58:36 -0600 Eric W. Biederman [EMAIL PROTECTED] wrote: This patch changes cpqphp to use kthread_run and not kernel_thread and daemonize to startup and setup the cpqphp thread. ok.. I'll rename this to partially convert and shall add a note to the changelog, This is

Re: Renice X for cpu schedulers

2007-04-19 Thread Gene Heskett
On Thursday 19 April 2007, Con Kolivas wrote: On Friday 20 April 2007 04:16, Gene Heskett wrote: On Thursday 19 April 2007, Con Kolivas wrote: [and I snipped a good overview] So yes go ahead and think up great ideas for other ways of metering out cpu bandwidth for different purposes, but

Re: Renice X for cpu schedulers

2007-04-19 Thread Gene Heskett
On Thursday 19 April 2007, Con Kolivas wrote: On Friday 20 April 2007 04:16, Gene Heskett wrote: On Thursday 19 April 2007, Con Kolivas wrote: [and I snipped a good overview] So yes go ahead and think up great ideas for other ways of metering out cpu bandwidth for different purposes, but

Re: [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7

2007-04-19 Thread Alex Dubov
Have you looked at the last version (0.8)? It fixed all outstanding issues (as far as I know). --- Sergey Yanovich [EMAIL PROTECTED] wrote: - Hi, The device is present in many notebooks. Notebooks depend heavily onsuspend/resume functionality.

Acecad USB Tablet: usbmouse takeover and odd motion

2007-04-19 Thread Giuseppe Bilotta
Hello all, I have a [EMAIL PROTECTED] Acecad USB Tablet and I've been trying for a while to set it up to work fine under Linux, without very much success. I've been using the stock Debian kernel (2.6.18), but also tried rolling my own 2.6.x git series (latest tried a 2.6.21-rc7 just this

Re: rr_interval experiments

2007-04-19 Thread Nick Piggin
On Fri, Apr 20, 2007 at 10:47:57AM +1000, Con Kolivas wrote: On Friday 20 April 2007 01:01, Con Kolivas wrote: This then allows the maximum rr_interval to be as large as 5000 milliseconds. Just for fun, on a core2duo make allnoconfig make -j8 here are the build time differences (on a

Re: Renice X for cpu schedulers

2007-04-19 Thread Nick Piggin
On Thu, Apr 19, 2007 at 09:17:25AM -0400, Mark Lord wrote: Con Kolivas wrote: s go ahead and think up great ideas for other ways of metering out cpu bandwidth for different purposes, but for X, given the absurd simplicity of renicing, why keep fighting it? Again I reiterate that most users

Re: [RFC][PATCH -mm take4 3/6] add interface for netconsole using sysfs

2007-04-19 Thread Andrew Morton
On Wed, 18 Apr 2007 21:08:45 +0900 Keiichi KII [EMAIL PROTECTED] wrote: +static ssize_t store_local_port(struct netconsole_target *nt, const char *buf, + size_t count) +{ + spin_lock(target_list_lock); + nt-np.local_port = simple_strtol(buf, NULL, 10);

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-19 Thread Andrew Morton
On Wed, 18 Apr 2007 21:06:41 +0900 Keiichi KII [EMAIL PROTECTED] wrote: From: Keiichi KII [EMAIL PROTECTED] This patch contains the following changes for supporting multiple logging agents. 1. extend netconsole to multiple netpolls To send kernel messages to multiple logging agents,

Re: Renice X for cpu schedulers

2007-04-19 Thread Nick Piggin
On Thu, Apr 19, 2007 at 12:26:03PM -0700, Ray Lee wrote: On 4/19/07, Con Kolivas [EMAIL PROTECTED] wrote: The one fly in the ointment for linux remains X. I am still, to this moment, completely and utterly stunned at why everyone is trying to find increasingly complex unique ways to manage

Re: [RFC][PATCH -mm take4 4/6] using symlink for the net_device

2007-04-19 Thread Andrew Morton
On Wed, 18 Apr 2007 21:11:14 +0900 Keiichi KII [EMAIL PROTECTED] wrote: From: Keiichi KII [EMAIL PROTECTED] We use symbolic link for net_device. As Stephen said, please fully document the new interfaces in netconsole.txt. Please also cc [EMAIL PROTECTED] on all networking-related patches.

Re: [RFC][PATCH -mm take4 6/6] add ioctls for adding/removing target

2007-04-19 Thread Andrew Morton
On Wed, 18 Apr 2007 21:14:55 +0900 Keiichi KII [EMAIL PROTECTED] wrote: From: Keiichi KII [EMAIL PROTECTED] We add ioctls for adding/removing target. If we use NETCONSOLE_ADD_TARGET ioctl, we can dynamically add netconsole target. If we use NETCONSOLE_REMOVE_TARGET ioctl, we can

SLUB: kmem_cache_destroy doesn't - version 2.

2007-04-19 Thread Neil Brown
Hi again, I recently noticed that my slub-enabled kernel won't let me stop and restart the NFS server. It stops fine but on restart it returns -ENOMEM. It turns out that this is because kmem_cache_create is failing because the name already exists in sysfs. fs/nfsd/nfs4state creates 4

Re: [patch] Performance Stats: Kernel patch

2007-04-19 Thread Andrew Morton
(re-added lklml) Patch makes available to the user the following thread performance statistics: * Involuntary Context Switches (task_struct-nivcsw) * Voluntary Context Switches (task_struct-nvcsw) I suppose they might be useful, but I'd be interested in hearing what the uses of this

Re: [PATCH] libata: add Samsung HD401LJ to the NCQ blacklist

2007-04-19 Thread Tejun Heo
Max Kellermann wrote: On 2007/04/18 09:56, Tejun Heo [EMAIL PROTECTED] wrote: It's more likely your chipset just has busted MSI support. Please post the result of 'lspci -tv' and 'lspci -nn'. See attachments. I found the nomsi workaround in a forum, and didn't bother to investigate the

Re: [RFC 0/8] Variable Order Page Cache

2007-04-19 Thread William Lee Irwin III
On Thu, Apr 19, 2007 at 09:35:04AM -0700, Christoph Lameter wrote: This patchset modifies the core VM so that higher order page cache pages become possible. The higher order page cache pages are compound pages and can be handled in the same way as regular pages. The order of the pages is

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-19 Thread Aubrey Li
On 4/18/07, David Howells [EMAIL PROTECTED] wrote: Aubrey Li [EMAIL PROTECTED] wrote: Here, in the attachment I wrote a small test app. Please correct if there is anything wrong, and feel free to improve it. Okay... I have that working... probably. I don't know what output it's supposed to

Re: [patch] CFS scheduler, v3

2007-04-19 Thread Willy Tarreau
On Fri, Apr 20, 2007 at 10:10:45AM +1000, Peter Williams wrote: Ingo Molnar wrote: - bugfix: use constant offset factor for nice levels instead of sched_granularity_ns. Thus nice levels work even if someone sets sched_granularity_ns to 0. NOTE: nice support is still naive, i'll

Re: [PATCH 10/11] Char: cyclades, clear interrupts before releasing

2007-04-19 Thread Andrew Morton
On Wed, 18 Apr 2007 12:07:56 +0200 (CEST) Jiri Slaby [EMAIL PROTECTED] wrote: + /* non-Z with old PLX */ + if (cinfo-num_chips != -1 (readb(cinfo-base_addr + CyPLX_VER) + 0x0f) == PLX_9050) + cy_writeb(cinfo-ctl_addr + 0x4c, 0); + else

Re: [kvm-devel] [GIT PULL] kvm oops fix

2007-04-19 Thread David Brown
On 4/19/07, Avi Kivity [EMAIL PROTECTED] wrote: Linus, Please pull from the 'linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git To get a one-liner fixing a host oops running non-pae guests. Avi Kivity (1): KVM: Fix off-by-one when writing to a nonpae guest

Re: [2/2] 2.6.21-rc7: known regressions

2007-04-19 Thread Jeremy Fitzhardinge
Adrian Bunk wrote: Subject: ThinkPad X60: resume no longer works (PCI related?) workaround: booting with hpet=disable References : http://lkml.org/lkml/2007/3/13/3 Submitter : Dave Jones [EMAIL PROTECTED] Jeremy Fitzhardinge [EMAIL PROTECTED] Caused-By : PCI

Cleanup mostly unused IOSPACE macros

2007-04-19 Thread David Gibson
Most architectures defined three macros, MK_IOSPACE_PFN(), GET_IOSPACE() and GET_PFN() in pgtable.h. However, the only callers of any of these macros are in Sparc specific code, either in arch/sparc, arch/sparc64 or drivers/sbus. This patch removes the redundant macros from all architectures

Re: [2/2] 2.6.21-rc7: known regressions

2007-04-19 Thread Dave Jones
On Thu, Apr 19, 2007 at 09:57:15PM -0700, Jeremy Fitzhardinge wrote: Adrian Bunk wrote: Subject: ThinkPad X60: resume no longer works (PCI related?) workaround: booting with hpet=disable References : http://lkml.org/lkml/2007/3/13/3 Submitter : Dave Jones [EMAIL

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-19 Thread Willy Tarreau
On Fri, Apr 20, 2007 at 02:52:38AM +0300, Jan Knutar wrote: On Thursday 19 April 2007 18:18, Ingo Molnar wrote: * Willy Tarreau [EMAIL PROTECTED] wrote: You can certainly script it with -geometry. But it is the wrong application for this matter, because you benchmark X more than

[PATCH][RFC][POWERPC] i2c: adds support for i2c bus on 8xx

2007-04-19 Thread Vitaly Bordug
Utilized devicetree to store I2C data, ported i2c-algo-8xx.c from 2.4 approach(which remains nearly intact), refined i2c-rpx.c. I2C functionality has been validated on mpc885ads with EEPROM access. Signed-off-by: Vitaly Bordug [EMAIL PROTECTED] --- Jean, The patch below may have rough edges

Re: [PATCH] Show slab memory usage on OOM and SysRq-M (v3)

2007-04-19 Thread Andrew Morton
On Wed, 18 Apr 2007 11:13:01 +0400 Pavel Emelianov [EMAIL PROTECTED] wrote: The out_of_memory() function and SysRq-M handler call show_mem() to show the current memory usage state. This is also helpful to see which slabs are the largest in the system. Thanks Pekka for good idea of how to

Re: [2/2] 2.6.21-rc7: known regressions

2007-04-19 Thread Jeremy Fitzhardinge
Dave Jones wrote: Do you have the backlight code enabled ? I'm guessing not. Hm, think so. backlight controls work, via both /proc/acpi/ibm/backlight and /sys/class/backlight/*/brightness. $ ls -l /sys/class/backlight/ total 0 drwxr-xr-x 2 root root 0 Apr 19 22:13 acpi_video0 drwxr-xr-x 2

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-19 Thread Mike Galbraith
On Thu, 2007-04-19 at 09:55 -0700, Davide Libenzi wrote: On Thu, 19 Apr 2007, Mike Galbraith wrote: On Thu, 2007-04-19 at 09:09 +0200, Ingo Molnar wrote: * Mike Galbraith [EMAIL PROTECTED] wrote: With a heavily reniced X (perfectly fine), that should indeed solve my daily

Re: SLUB: kmem_cache_destroy doesn't - version 2.

2007-04-19 Thread Christoph Lameter
On Fri, 20 Apr 2007, Neil Brown wrote: Not sure how best to fix this one kmem_cache_destroy currently doesn't know which alias is being destroyed. The aliases are there for decorative purposes when running without debugging. If one switches on debugging then it matters but then the

Re: [PATCH] cciss: Fix warnings during compilation under 32bitenvironment

2007-04-19 Thread Andrew Morton
On Thu, 19 Apr 2007 16:27:26 - Cameron, Steve [EMAIL PROTECTED] wrote: Something like if (sizeof(blah) 4) { do all the assignments with shifts } might be slighly better since the CDB is already zeroed by cmd_alloc() and doesn't need to be zeroed a 2nd time. -- steve

Re: [2/2] 2.6.21-rc7: known regressions

2007-04-19 Thread Dave Jones
On Thu, Apr 19, 2007 at 10:15:48PM -0700, Jeremy Fitzhardinge wrote: Dave Jones wrote: Do you have the backlight code enabled ? I'm guessing not. Hm, think so. backlight controls work, via both /proc/acpi/ibm/backlight and /sys/class/backlight/*/brightness. $ ls -l

Re: Renice X for cpu schedulers

2007-04-19 Thread Mike Galbraith
On Fri, 2007-04-20 at 08:47 +1000, Con Kolivas wrote: It's those who want X to have an unfair advantage that want it to do something special. I hope you're not lumping me in with those. If X + client had been able to get their fair share and do so in the low latency manner they need, I would

Re: Renice X for cpu schedulers

2007-04-19 Thread hui
On Thu, Apr 19, 2007 at 06:32:15PM -0700, Michael K. Edwards wrote: But I think SCHED_FIFO on a chain of tasks is fundamentally not the right way to handle low audio latency. The object with a low latency requirement isn't the task, it's the device. When it's starting to get urgent to

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-19 Thread William Lee Irwin III
William Lee Irwin III wrote: I'd further recommend making priority levels accessible to kernel threads that are not otherwise accessible to processes, both above and below user-available priority levels. Basically, if you can get SCHED_RR and SCHED_FIFO to coexist as intimate scheduler

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-19 Thread Tejun Heo
Hello, Alan. Alan Stern wrote: This doesn't solve a related problem: a subsystem wants to register devices and to provide a set of mutually-exclusive services to the devices' drivers. The mutual exclusion has to be provided by a mutex or something similar, and the drivers need a way to

Re: [RFC 0/8] Variable Order Page Cache

2007-04-19 Thread Christoph Lameter
On Thu, 19 Apr 2007, William Lee Irwin III wrote: Oh dear. Per-file pagesizes are foul. Better to fix up the pagecache's radix tree than to restrict it like this. There are other attacks on the multiple horizontal internal tree node allocation problem beyond outright B+ trees that allow radix

Re: [2/2] 2.6.21-rc7: known regressions

2007-04-19 Thread Jeremy Fitzhardinge
Dave Jones wrote: Hmm, given you hit the hpet problems and I didn't I think our X60's aren't quite so similar. Mine is the one with the swivelly touchscreen tablet-pc mode. I understand they made a regular 'laptop' X60 too, is that the one you have perhaps? Yes, mine is a normal laptop

Re: Renice X for cpu schedulers

2007-04-19 Thread hui
On Thu, Apr 19, 2007 at 05:20:53PM -0700, Michael K. Edwards wrote: Embedded systems are already in 2007, and the mainline Linux scheduler frankly sucks on them, because it thinks it's back in the 1960's with a fixed supply and captive demand, pissing away CPU bandwidth as waste heat. Not to

Re: SLUB: kmem_cache_destroy doesn't - version 2.

2007-04-19 Thread Neil Brown
On Thursday April 19, [EMAIL PROTECTED] wrote: On Fri, 20 Apr 2007, Neil Brown wrote: Not sure how best to fix this one kmem_cache_destroy currently doesn't know which alias is being destroyed. The aliases are there for decorative purposes when running without debugging. If one

Re: SLUB: kmem_cache_destroy doesn't - version 2.

2007-04-19 Thread Christoph Lameter
On Fri, 20 Apr 2007, Neil Brown wrote: On Thursday April 19, [EMAIL PROTECTED] wrote: On Fri, 20 Apr 2007, Neil Brown wrote: Not sure how best to fix this one kmem_cache_destroy currently doesn't know which alias is being destroyed. The aliases are there for decorative

Re: [RFC][PATCH -mm take4 6/6] add ioctls for adding/removing target

2007-04-19 Thread Stephen Hemminger
On Thu, 19 Apr 2007 21:16:30 -0700 Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 18 Apr 2007 21:14:55 +0900 Keiichi KII [EMAIL PROTECTED] wrote: From: Keiichi KII [EMAIL PROTECTED] We add ioctls for adding/removing target. If we use NETCONSOLE_ADD_TARGET ioctl, we can dynamically

Re: SLUB: kmem_cache_destroy doesn't - version 2.

2007-04-19 Thread Christoph Lameter
Another approach drop the symlinks completely. Just write a message to the syslog informing the user that we created an alias. If debugging is off then the user would have to consult the syslog to find aliases. Index: linux-2.6.21-rc6/mm/slub.c

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-19 Thread Dmitry Torokhov
On 4/19/07, Alan Stern <[EMAIL PROTECTED]> wrote: On Wed, 18 Apr 2007, Dmitry Torokhov wrote: > I am still do not understand why this is needed. Would it not be > simplier just to use a reference to struct device instead of embedding > it in a larger structure if their lifetimes are different

Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]

2007-04-19 Thread Willy Tarreau
On Thu, Apr 19, 2007 at 05:18:03PM +0200, Ingo Molnar wrote: > > * Willy Tarreau <[EMAIL PROTECTED]> wrote: > > > You can certainly script it with -geometry. But it is the wrong > > application for this matter, because you benchmark X more than > > glxgears itself. What would be better is

Re: [RFC 4/8] Enhance fallback functions in libs to support higher order pages

2007-04-19 Thread Adam Litke
On 4/19/07, Christoph Lameter <[EMAIL PROTECTED]> wrote: @@ -331,11 +331,15 @@ int simple_prepare_write(struct file *fi unsigned from, unsigned to) { if (!PageUptodate(page)) { - if (to - from != PAGE_CACHE_SIZE) { + if (to - from !=

Re: [PATCH 09/12] mm: count unstable pages per BDI

2007-04-19 Thread Peter Zijlstra
On Thu, 2007-04-19 at 20:12 +0200, Peter Zijlstra wrote: > On Thu, 2007-04-19 at 19:44 +0200, Miklos Szeredi wrote: > > > Count per BDI unstable pages. > > > > > > > I'm wondering, is it really worth having this category separate from > > per BDI brity pages? > > > > With the exception of the

unable to run busybox /sbin/int

2007-04-19 Thread Tom Strader
This is the final output from my kernel as I try to launch busybox (/sbin/init is linked to /bin/busybox) As it launches the kernel looks for libraries which do not exist (not sure why), but it appears to find /lib/libcrypt.so.1 and /lib/libc.so.6 but the system does not output after that. I can

Re: RFC: drivers/char/watchdog/pcwd.c + drivers/char/watchdog/pcwd_pci.c

2007-04-19 Thread Wim Van Sebroeck
Hi Andrew, > > On Tue, 17 Apr 2007 20:58:49 +0200 Wim Van Sebroeck <[EMAIL PROTECTED]> > > wrote: > > Would anyone object if we would merge the "full bells and whistles" drivers > > for > > the pcwd isa and pci cards in the kernel tree. (It basically only adds some > > extra > > /proc

Re: [PATCH 09/12] mm: count unstable pages per BDI

2007-04-19 Thread Peter Zijlstra
On Thu, 2007-04-19 at 20:46 +0200, Peter Zijlstra wrote: > On Thu, 2007-04-19 at 20:12 +0200, Peter Zijlstra wrote: > > On Thu, 2007-04-19 at 19:44 +0200, Miklos Szeredi wrote: > > > > Count per BDI unstable pages. > > > > > > > > > > I'm wondering, is it really worth having this category

Re: [PATCH 2.6.21 1/2] cxgb3 - Fix low memory conditions

2007-04-19 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: From: Divy Le Ray <[EMAIL PROTECTED]> Reuse the incoming skb when a clientless abort req is recieved. The release of RDMA connections HW resources might be deferred in low memory situations. Ensure that no further activity is passed up to the RDMA driver for these

Re: [PATCH 13/13] maps#2: Add /proc/kpagemap interface

2007-04-19 Thread Dave Hansen
On Fri, 2007-04-06 at 17:03 -0500, Matt Mackall wrote: > > +static ssize_t kpagemap_read(struct file *file, char __user *buf, > +size_t count, loff_t *ppos) > +{ ... > + for (; i < 2 * chunk / KPMSIZE; i += 2, pfn++) { > + ppage =

Re: [RFC 0/8] Variable Order Page Cache

2007-04-19 Thread Badari Pulavarty
On Thu, 2007-04-19 at 09:35 -0700, Christoph Lameter wrote: > Variable Order Page Cache Patchset > .. mm/built-in.o: In function `__generic_file_aio_write_nolock': filemap.c:(.text+0x295c): undefined reference to `page_cache_shift' filemap.c:(.text+0x296c): undefined reference to

Re: [GIT PULL] kvm oops fix

2007-04-19 Thread Jeff Garzik
Linus Torvalds wrote: On Thu, 19 Apr 2007, Avi Kivity wrote: Please pull from the 'linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git *please* put the branch-name after the git repo, so that I can cut-and-paste without noticing only afterwards that the diffstat

Re: [RFC 4/8] Enhance fallback functions in libs to support higher order pages

2007-04-19 Thread Christoph Lameter
On Thu, 19 Apr 2007, Adam Litke wrote: > On 4/19/07, Christoph Lameter <[EMAIL PROTECTED]> wrote: > > @@ -331,11 +331,15 @@ int simple_prepare_write(struct file *fi > > unsigned from, unsigned to) > > { > > if (!PageUptodate(page)) { > > - if (to -

Re: [RFC 0/8] Variable Order Page Cache

2007-04-19 Thread Andi Kleen
> We likely need actual defragmentation support. To be honest it looks quite pointless before this is solved. So far it is not even clear if it is feasible to solve it. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [RFC 0/8] Variable Order Page Cache

2007-04-19 Thread Christoph Lameter
On Thu, 19 Apr 2007, Badari Pulavarty wrote: > On Thu, 2007-04-19 at 09:35 -0700, Christoph Lameter wrote: > > Variable Order Page Cache Patchset > > > > .. > mm/built-in.o: In function `__generic_file_aio_write_nolock': > filemap.c:(.text+0x295c): undefined reference to `page_cache_shift' >

Re: [PATCH 12/13] maps#2: Add /proc/pid/pagemap interface

2007-04-19 Thread Dave Hansen
On Fri, 2007-04-06 at 17:03 -0500, Matt Mackall wrote: > > +static int pagemap_pte_range(pmd_t *pmd, unsigned long addr, unsigned > long end, > +void *private) > +{ > + struct pagemapread *pm = private; > + pte_t *pte; > + int err; > + > + pte =

Re: [PATCH] mtd_blkdevs: Convert to use the kthread API

2007-04-19 Thread Eric W. Biederman
Christoph Hellwig <[EMAIL PROTECTED]> writes: > On Thu, Apr 19, 2007 at 12:55:28AM -0600, Eric W. Biederman wrote: >> From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted >> >> thread_run is used intead of kernel_thread, daemonize, and mucking >> around blocking signals directly. > > Please

Re: [RFC 0/8] Variable Order Page Cache

2007-04-19 Thread Christoph Lameter
On Thu, 19 Apr 2007, Andi Kleen wrote: > > We likely need actual defragmentation support. > > To be honest it looks quite pointless before this is solved. So far it is > not even clear if it is feasible to solve it. We have done order 1 / 2 allocations for some limited purposes for some time

Re: Getting the new RxRPC patches upstream

2007-04-19 Thread Eric W. Biederman
David Howells <[EMAIL PROTECTED]> writes: > Eric W. Biederman <[EMAIL PROTECTED]> wrote: > >> Ok. I don't see any patches in -mm so I was assuming these patches have >> not been queued up anywhere. > > They haven't been quite yet. Is it your intention to kill these features in > 2.6.22? That

<    1   2   3   4   5   6   7   8   9   10   >