Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-27 Thread Valdis . Kletnieks
On Sun, 25 Nov 2012 23:10:41 -0500, Johannes Weiner said: > From: Johannes Weiner > Subject: [patch] mm: vmscan: fix endless loop in kswapd balancing > > Kswapd does not in all places have the same criteria for when it > considers a zone balanced. This leads to zones being not reclaimed > becaus

Re: next-20130128 lockdep whinge in sys_swapon()

2013-02-05 Thread Valdis . Kletnieks
pon > > [1] forgot to initialize spin_lock so lockdep is whingeing > about it. This patch fixes it. > > [1] 0f181e0e4, swap: add per-partition lock for swapfile > > Cc: Shaohua Li > Reported-by: Valdis Kletnieks > Signed-off-by: Minchan Kim I applied this to a next

Re: next-20130117 - kernel BUG with aio

2013-02-05 Thread Valdis . Kletnieks
On Thu, 31 Jan 2013 16:37:27 -0800, Kent Overstreet said: > On Thu, Jan 31, 2013 at 01:59:52PM -0800, Andrew Morton wrote: > > Did this get fixed? > With the patches I sent you, yes - not seeing a new linux-next tree yet? Well, it's a mixed bag at my end. Finally got a chance to do some more tes

Re: next-20130117 - kernel BUG with aio

2013-02-05 Thread Valdis . Kletnieks
On Tue, 05 Feb 2013 09:20:15 -0800, Kent Overstreet said: > On Tue, Feb 05, 2013 at 10:53:00AM -0500, valdis.kletni...@vt.edu wrote: > > On Thu, 31 Jan 2013 16:37:27 -0800, Kent Overstreet said: > > > On Thu, Jan 31, 2013 at 01:59:52PM -0800, Andrew Morton wrote: > > > > Did this get fixed? > > > >

Re: next-20130117 - kernel BUG with aio

2013-02-06 Thread Valdis . Kletnieks
llowing as appropriate to this version of the patch series: Reported-By: Valdis Kletnieks Tested-By: Valdis Kletnieks pgpGD5YRIwtzr.pgp Description: PGP signature

next-20130206 cpufreq - WARN in sysfs_add_one

2013-02-06 Thread Valdis Kletnieks
Seen in dmesg. next-20130128 was OK. Haven't done a bisect, but can do so if the offender isn't obvious... [2.567662] netconsole: network logging started [2.581661] [ cut here ] [2.581670] WARNING: at fs/sysfs/dir.c:536 sysfs_add_one+0x91/0xa5() [2.581673]

Re: next-20130206 cpufreq - WARN in sysfs_add_one

2013-02-06 Thread Valdis . Kletnieks
On Wed, 06 Feb 2013 22:24:39 +0100, "Rafael J. Wysocki" said: > On Wednesday, February 06, 2013 12:44:35 PM Valdis Kletnieks wrote: > > Seen in dmesg. next-20130128 was OK. Haven't done a bisect, but can > > do so if the offender isn't obvious... > >

Re: pr_info not printing message in /var/log/messages

2013-02-07 Thread Valdis . Kletnieks
On Thu, 07 Feb 2013 23:20:27 +0530, anish kumar said: > Other insteresting standard logs managed by syslog > are /var/log/auth.log, /var/log/mail.log. Other interesting *common* logs, as shipped pre-configured by some distros. They are hardly a "standard" (unless the definitions of these managed

Re: next-20130206 cpufreq - WARN in sysfs_add_one

2013-02-07 Thread Valdis . Kletnieks
y multiple clock lines. In any case, next-20130206 complained, and with this patch added I see nothing in dmesg and cpufreq is acting properly on both cores, so: Tested-By: Valdis Kletnieks (btw - I had to hand-apply your patch, as it showed up white-space damaged. Three lines wrapped, a

Re: [patch] TTY: synclink, small cleanup in dtr_rts()

2013-01-29 Thread Valdis . Kletnieks
On Sun, 27 Jan 2013 23:19:47 +0300, Dan Carpenter said: > Yeah. I think it would be, but adding bitflags together instead of > doing bitwise ORs is very common as well. The fact it's common doesn't mean it's good programming practice, or even correct. Consider: #define F_FOO 0x01 #define F_BAR

Re: boot warnings due to swap: make each swap partition have one address_space

2013-01-29 Thread Valdis . Kletnieks
On Sun, 27 Jan 2013 13:40:40 -0800, Hugh Dickins said: > My reservations so far would be: how many installations actually have > more than one swap area, so is it a good tradeoff to add more overhead > to help those at the (slight) expense of everyone else? The increasingly > ugly page_mapping()

next-20130128 lockdep whinge in sys_swapon()

2013-01-31 Thread Valdis Kletnieks
Seen in my linux-next dmesg. I'm suspecting commit ac07b1ffc: commit ac07b1ffc27d575013041fb5277dab02c661d9c2 Author: Shaohua Li Date: Thu Jan 24 13:13:50 2013 +1100 swap: add per-partition lock for swapfile as (a) it was OK in -20130117, and (b) 'git blame mm/swapfile.c | grep 2013' sho

Re: next-20130117 - kernel BUG with aio

2013-01-24 Thread Valdis . Kletnieks
On Wed, 23 Jan 2013 20:10:03 +0800, Hillf Danton said: > Try again? > --- > > --- a/fs/aio.cTue Jan 22 21:37:54 2013 > +++ b/fs/aio.cWed Jan 23 20:06:14 2013 Now seeing this: [ 2941.495370] [ cut here ] [ 2941.495379] WARNING: at fs/aio.c:336 put_ioctx+0x1

Re: [RFC] Hack to use mkdir/rmdir in debugfs

2013-01-24 Thread Valdis . Kletnieks
On Tue, 22 Jan 2013 23:44:09 -0500, Steven Rostedt said: > Again, I want to stress that this doesn't touch the debugfs code. Here's > the real change that I've been testing. It includes the code for the > "new" and "free" files but those are not created because of an early > 'return' I added. Noti

Re: [Consult] Plan: personal contributes plan for 2013

2013-01-24 Thread Valdis . Kletnieks
On Wed, 23 Jan 2013 19:32:41 +0800, Chen Gang said: > Plan Details: > > 10 patches per month: (at least) Even Dave Miller only averages 12-15 patches a month, and he does it for a living, and they're all in the one part of the kernel he maintains. It's going to be a really hard time for a newcom

Web10g TCP statistics patch - mainlining into kernel?

2013-01-25 Thread Valdis Kletnieks
I had a user who's working on tuning high-performance network file systems what the chances of upstreaming the Web10G patch to provide the RFC4898 TCP Extended Statistics MIB via netlink. Yes, it's a tad on the intrusive side, and there's performance costs attached - but so are a lot of *other* th

Re: [Web10g-user] Web10g TCP statistics patch - mainlining into kernel?

2013-01-25 Thread Valdis . Kletnieks
On Fri, 25 Jan 2013 10:38:59 -0800, Dominic Hamon said: > Hello Valdis > > I actually just finished patching a fork from the kernel github repo here: > https://github.com/dominic-mlab/linux with a view to pushing it up. I > haven't pushed a patch upstream before, so any guidance is welcome. A quic

Re: [Web10g-user] Web10g TCP statistics patch - mainlining into kernel?

2013-01-25 Thread Valdis . Kletnieks
On Fri, 25 Jan 2013 14:34:57 -0500, rapier said: > My name is Chris Rapier and I'm on the Web10G dev team. We are > interested in moving this into consideration for the mainline Linux > kernel, in fact it's the primary goal of this project. We haven't > brought this to the linux kernel community a

Re: [PATCH] [x86]: Compiler Option Os is better on latest x86

2013-01-28 Thread Valdis . Kletnieks
On Fri, 25 Jan 2013 09:11:01 -0500, ling.ma.prog...@gmail.com said: > Based on above reasons, we compiled linux kernel 3.6.9 with O2 and Os > respectively. The results show Os improve performance netperf 4.8%, > 2.7% for volano as below Am I allowed to NAK this? What the numbers given so far *ac

kernel/signal.c - fix suboptimal printk usage

2013-02-18 Thread Valdis Kletnieks
Several printk's were missing KERN_INFO and KERN_CONT flags. In addition, a printk that was outside a #if/#endif should have been inside, which would result in stray blank line on non-x86 boxes. Signed-off-by: Valdis Kletnieks --- linux-next/kernel/signal.c.orig 2013-02-15

next-20130206 x86_64- high CPU usage, spinlock issue

2013-02-18 Thread Valdis Kletnieks
Over the weekend, I had a number of occurrences of my laptop becoming unresponsive for periods of up to several minutes. gkrellm monitors showed near 100% system time for both CPUs (and the way X and other userspace programs were behaving was consistent with them being starved for CPU for extended

Wonky PS2-USB converter issues...

2013-02-20 Thread Valdis Kletnieks
Quite some time ago, I posted about a problematic PS2-USB converter that I used to connect an old PS2-connector keyboard to my laptop dock, where the keyboard wouldn't be recognized at boot unless I unplugged and reconnected it. Well, I've recently figured out (partly by obtaining a converter from

Re: Wonky PS2-USB converter issues...

2013-02-20 Thread Valdis . Kletnieks
On Wed, 20 Feb 2013 16:07:49 -0800, Greg Kroah-Hartman said: > PS-2 connectors can not normally handle hotplugging, the protocol > doesn't allow it, and for some unlucky devices, it could actually fry > the motherboard or the PS-2 device. > > So that's probably the issue here, the device just does

Re: ndiswrapper and GPL-only symbols redux

2008-01-30 Thread Valdis . Kletnieks
On Wed, 30 Jan 2008 14:43:27 EST, Lennart Sorensen said: > On Wed, Jan 30, 2008 at 08:45:38PM +0200, Adrian Bunk wrote: > > http://www.jbb.de/judgment_dc_munich_gpl.pdf > > http://www.jbb.de/judgment_dc_frankfurt_gpl.pdf > > Good point. They seem to be the place that actually has enforced the > G

Re: 2.6.24-mm1

2008-02-05 Thread Valdis . Kletnieks
On Sun, 03 Feb 2008 17:16:34 PST, Andrew Morton said: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24/2.6.24-mm1/ Builds, boots, mostly seems to run for limited testing. One note - the following commit(s) (and related CPA reworking) broke the NVidia binary driver (which

Re: [PATCH] regmap: silence GCC warning

2012-10-02 Thread Valdis . Kletnieks
On Mon, 01 Oct 2012 11:03:21 +0100, Mark Brown said: > On Sun, Sep 30, 2012 at 12:15:55PM +0200, Paul Bolle wrote: > > Building regmap.o triggers this GCC warning: > > drivers/base/regmap/regmap.c: In function ‘regmap_raw_read’: > > drivers/base/regmap/regmap.c:1172:6: warning: ‘retâ€

Re: Out of memory on 3.5 kernels

2012-10-05 Thread Valdis . Kletnieks
On Wed, 03 Oct 2012 23:23:11 +0200, Nico Schottelius said: > does anyone of you have a clue so far what may be causing the huge > slab usage? > > I've just found an interesting detail: umounting and cryptsetup > luksClosing frees up the used memory (not sure which one was freeing > up) For what i

Re: Linux 3.5-rc7

2012-10-05 Thread Valdis . Kletnieks
On Sun, 30 Sep 2012 14:54:07 +0200, Uwaysi Bin Kareem said: > Compiled 3.6-rc7, with a hz timer of 3956 for a "natural" psychovisual > profile jitter level in OpenGL, and a shaved config for minimal jitter. I'll bite - how did you measure the difference between 3956 and 4000? The other stuff in y

Re: [PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v6

2012-10-23 Thread Valdis . Kletnieks
On Mon, 22 Oct 2012 08:36:33 -0700, Andi Kleen said: > Thinking about it more PowerPC has a 16GB page, so we probably > need to move this to prot. Gaak - is that a typo? If not, what is the use case - allowing a small number of pages to cover all memory, with big wins on TLB hit ratios? I cert

Re: [PATCH 000/193] remove CONFIG_EXPERIMENTAL

2012-10-24 Thread Valdis . Kletnieks
On Tue, 23 Oct 2012 13:01:13 -0700, Kees Cook said: > This config item has not carried much meaning for a while now and is > almost always enabled by default (especially in distro builds). As agreed > during the Linux kernel summit, it should be removed. > > As such, this is the patch series for re

Re: [PATCH] USB: mark USB drivers as being GPL only

2008-02-12 Thread Valdis . Kletnieks
On Sun, 10 Feb 2008 05:50:17 +0100, Marcel Holtmann said: > go ahead and create an application that uses a GPL only library. Then > ask a lawyer if it is okay to distribute your application in binary only > form without making the source code available (according to the GPL). > > http://www.gnu.o

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-14 Thread Valdis . Kletnieks
On Thu, 14 Feb 2008 13:32:02 EST, Gene Heskett said: > Nvidia vs 2.6.25-rc1 being a case in point, and they (nvidia) are appearing > to > indicate its not a problem until some distro actually ships a kernel with the > changes that broke it. That could be months or even a year plus. Actually fo

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-14 Thread Valdis . Kletnieks
On Thu, 14 Feb 2008 12:32:29 PST, Greg KH said: > How about "weeks". Both Fedora and openSUSE's next release is going to > be based on 2.6.25, and the first round of -rc1 kernels should be > showing up in their trees in a few days. So for this instance, I think > you will be fine :) a few days =

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-15 Thread Valdis . Kletnieks
On Fri, 15 Feb 2008 04:26:45 EST, Gene Heskett said: > On Friday 15 February 2008, [EMAIL PROTECTED] wrote: > >On Thu, 14 Feb 2008 13:32:02 EST, Gene Heskett said: > >> Nvidia vs 2.6.25-rc1 being a case in point, and they (nvidia) are > >> appearing to indicate its not a problem until some distro a

isofs - Re: 2.6.24-mm1 bugs

2008-02-15 Thread Valdis . Kletnieks
On Fri, 15 Feb 2008 12:43:45 +0100, Miklos Szeredi said: > I'm trying out 2.6.24-mm1 on my work laptop (T60), and generally it > - mounting isofs always results in an empty directory I hit this in 24-rc8-mm1, and bisected it down to iget-stop-isofs-from-using-read_inode-fix-2.patch Apparently i

Re: x86-32-config: why is pc-speaker an input device?

2008-02-15 Thread Valdis . Kletnieks
On Fri, 15 Feb 2008 13:19:11 PST, Linda Walsh said: > I'm wondering how the generic, builtin PC-Speaker (config option > "INPUT_PCSPKR") can be used as an input device. > > If it can not be used for input, why is it under the input config section: > > "Device Drivers" > + -> "Input Device Support

Re: Driver removals

2008-02-15 Thread Valdis . Kletnieks
On Fri, 15 Feb 2008 20:08:13 EST, Bill Davidsen said: > can never make you see why technological extortion is evil. People have > always moved to new drivers without pushing because they were *better*, > guess that model is dead. And the drivers get better because the Code Fairy comes and sprin

Weirdness with EFI boot and partition tables...

2013-08-28 Thread Valdis Kletnieks
So I'm trying to debug a problem with my Dell Latitude booting in EFI mode, that looks like a "can't find the initrd", when I stumbled across this: <4>[2.831325] VFS: Cannot open root device "mapper/turing--police-froot" or unknown-block(0,0): error -6 <4>[2.831329] Please append a correc

Re: [PATCH] Modification of the diffconfig script to support python 3.x and 2.7

2013-07-08 Thread Valdis . Kletnieks
On Thu, 04 Jul 2013 20:19:03 -0400, Mike Pagano said: I'm not a snake-language person, but... > Modification of the diffconfig script to support both python 2.7 and 3.2. > Added a small change to gracefully exit if the default config files are not > present. (.config and .config.old) > > Diffconf

next-20130709 DMAR issues

2013-07-10 Thread Valdis Kletnieks
Dell Latitude E6530. Seeing a new error message crop up in next-0709 that wasn't there with 0703. Particularly odd, last person to touch dmar.c was on 05/20/2013, so no smoking guns there... egrep -i 'dmar|linux ver' /var/log/messages gives me: Jul 9 21:47:15 turing-police kernel: [0.0

Oddness in security/Makefile

2013-09-09 Thread Valdis Kletnieks
Seen in security/Makefile: % git blame security/Makefile ... ^1da177e (Linus Torvalds 2005-04-16 15:20:36 -0700 15) ^1da177e (Linus Torvalds 2005-04-16 15:20:36 -0700 16) # Object file lists da31894e (Eric Paris 2008-08-22 11:35:57 -0400 17) obj-$(CONFIG_SECURITY) += secur

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread Valdis . Kletnieks
On Mon, 09 Sep 2013 11:49:34 -0400, Matthew Garrett said: > So, this is my final attempt at providing the functionality I'm interested > in without inherently tying it to Secure Boot. There's strong parallels > between the functionality that I'm interested in and the BSD securelevel > interface, s

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread Valdis . Kletnieks
On Mon, 09 Sep 2013 11:25:38 -0700, David Lang said: > Given that we know that people want signed binaries without blocking kexec, > you > should have '1' just enforce module signing and '2' (or higher) implement a > full > lockdown including kexec. > Or, eliminate the -1 permanently insecure

Re: [dm-devel] [RFC] dm-lc: plan to go to staging

2013-08-30 Thread Valdis . Kletnieks
On Fri, 30 Aug 2013 21:33:29 +0900, Akira Hayakawa said: > Candidates: > 1) logcache > Not too long but explaining enough > but looks little bit dull to me. Descriptive but dull naming is a much underrated quality in software packages. Consider the package HarfBuzz. As my daughter put it, "Soun

Re: [PATCH] regmap: silence GCC warning

2012-10-05 Thread Valdis . Kletnieks
On Wed, 03 Oct 2012 09:23:36 +0200, Paul Bolle said: > By the way, GCC doesn't warn if I add an early check whether 'val_count' > is non-zero: > > diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c > index c241ae2..d41527b 100644 > --- a/drivers/base/regmap/regmap.c > +++ b/d

Re: [PATCH v2 00/11] introduce random32_get_bytes() and random32_get_bytes_state()

2012-11-05 Thread Valdis . Kletnieks
On Sun, 04 Nov 2012 00:43:31 +0900, Akinobu Mita said: > This patchset introduces new functions into random32 library for > getting the requested number of pseudo-random bytes. > > Before introducing these new functions into random32 library, > prandom32() and prandom32_seed() with "prandom32" pref

Re: [ANNOUNCE] 3.6.5-rt14

2012-11-05 Thread Valdis . Kletnieks
On Sat, 03 Nov 2012 20:04:58 +0100, Ove Karlsen said: > And have you given consideration to the fact that most distros and OS > grow with some levels of bloat, and everyone can`t be an expert, so > maybe one shold consider a (scheduler) queue for "bloat", and one queue > for main app, so that e

Re: [RFC] Second attempt at kernel secure boot support

2012-11-06 Thread Valdis . Kletnieks
On Tue, 06 Nov 2012 03:12:19 +, Matthew Garrett said: > On Mon, Nov 05, 2012 at 06:46:32PM -0800, Eric W. Biederman wrote: > > You have it backwards. The conclusion here is that having a case where > > a non-interactive install is possible is not a given. > > I deal with customers who perform

IRQ_FORCED_THREADING - possible build issue?

2012-11-15 Thread Valdis Kletnieks
While trying to clean old cruft out of grub.conf, I chased down a 'threadirqs' parameter. kernel/irq/manage.c has this in it: #ifdef CONFIG_IRQ_FORCED_THREADING __read_mostly bool force_irqthreads; static int __init setup_forced_irqthreads(char *arg) { force_irqthreads = true; re

Re: [PATCH 8/9] x86: ramdisk info print with high bits.

2012-11-19 Thread Valdis . Kletnieks
On Fri, 16 Nov 2012 11:32:50 -0800, Yinghai Lu said: > On Fri, Nov 16, 2012 at 11:21 AM, Yinghai Lu wrote: > > or you prefer to cast them to pointer and use %pR for them all? > > > > or fix printk to add extra 2 for "0x" when # is found? > > looks like we have lots of %#010llx or %#010Lx there in

Re: [PATCH] Revert "mm: remove __GFP_NO_KSWAPD"

2012-11-19 Thread Valdis . Kletnieks
On Fri, 16 Nov 2012 11:51:24 -0800, Andrew Morton said: > On Fri, 16 Nov 2012 14:14:47 -0500 > Josh Boyer wrote: > > > > The temptation is to supply a patch that checks if kswapd was woken for > > > THP and if so ignore pgdat->kswapd_max_order but it'll be a hack and not > > > backed up by proper

Re: next-20130607 BUG: sleeping function called from invalid context at lib/idr.c:424

2013-06-12 Thread Valdis . Kletnieks
On Tue, 11 Jun 2013 11:38:20 -0700, Davidlohr Bueso said: > > Looking at 'git blame', I see a bunch of patches from Davidlohr Bueso on > > 06/07 > > that hit ipc/util.c and friends. > > Yeah, this is my fault. It was originally reported by Fengguang: > http://www.spinics.net/lists/kernel/msg15456

next-20130607 BUG: sleeping function called from invalid context at lib/idr.c:424

2013-06-11 Thread Valdis Kletnieks
Tried to boot next-20130607, got this during early boot. -0603 is OK, so whatever did it is a recent patch. Not sure who's fault it is, as idr_preload() has been there since February, apparently something in the SyS_semget() path has been changed... Looking at 'git blame', I see a bunch of patche

next-20130607 BUG: Bad page state in process systemd pfn:127643

2013-06-11 Thread Valdis Kletnieks
(This may or may not be collateral damage from my previous e-mail regarding a BUG at lib/idr.c:424) Saw several of these booting next-20130607 before it even got to a single-user prompt. -0603 is OK, so whatever did it is a recent patch. Several people touched mm/page_alloc.c on 06/07, have CC'ed

Re: [merged] memstick-add-support-for-legacy-memorysticks.patch removed from -mm tree

2013-07-07 Thread Valdis . Kletnieks
On Mon, 08 Jul 2013 03:41:42 +0300, Maxim Levitsky said: > +/* Debug test to validate free block counts */ > +#ifdef DEBUG > +static int msb_validate_used_block_bitmap(struct msb_data *msb) > +{ Is there a reason this should be inside a #ifdef DEBUG with no easy way to select DEBUG? Maybe CONFIG

Re: mmotm 2013-06-27-16-36 uploaded (wait event common)

2013-06-29 Thread Valdis . Kletnieks
On Thu, 27 Jun 2013 22:30:41 -0700, Randy Dunlap said: > + __ret = __wait_no_timeout(tout) ?: (tout) ?: 1; Was this trying to do a wait_ho_timeout(!!tout) or something? pgpc10X8PW5FX.pgp Description: PGP signature

Re: linux-next: Tree for Jun 28 [ BISECTED: rsyslog/imklog: High CPU usage ]

2013-06-30 Thread Valdis . Kletnieks
On Sun, 30 Jun 2013 20:19:45 +0200, Oleg Nesterov said: > > Not only "__wait_no_timeout(tout) ?:" was wrong, I didn't bother > to recheck this logic even after I got the "warning: the omitted > middle operand in ?:" reports. > > Sedat, thanks you very much! Any chance you can try the patch below?

next-20130325 - INFO: trying to register non-static key.

2013-03-26 Thread Valdis Kletnieks
Seen in the dmesg for next-20130325, but looks like it's been doing it since at least next-20130218. [ 50.162584] dell_wmi: Received unknown WMI event (0x11) [ 51.167629] INFO: trying to register non-static key. [ 51.167636] the code is fine but needs lockdep annotation. [ 51.167639] turni

Re: [PATCH] zram percpu implementation

2013-07-16 Thread Valdis . Kletnieks
On Wed, 17 Jul 2013 00:27:34 +0530, mani said: > This patch will create a percpu structures compression algo. > 1. Takes extra memory for workspace buffers. > I haven't seen any performance gain with this need to find the > root cause. My first guess is that the higher-level zram stuff is submitt

Re: next-20130709 DMAR issues

2013-07-16 Thread Valdis . Kletnieks
On Fri, 12 Jul 2013 14:14:20 +0200, Ingo Molnar said: > > (Cc:-ed a few DMAR people.) Sorry for the slow reply, missed this in the lkml firehose. For whatever reason, the damned problem seems to have evaporated: % egrep -i 'dmar|Linux vers' /var/log/messages-20130714 Jul 11 18:54:15 turing-

Re: next-20130709 DMAR issues

2013-07-16 Thread Valdis . Kletnieks
On Mon, 15 Jul 2013 10:32:17 +0800, "Li, Zhen-Hua" said: > I have met a bug with the same error message, its cause was that the bios > did not allocate RMRR/DRHD(can't remember which one) for the device. I think I posted a link to that same bug report. The problem is that if the BIOS wasn't alloc

next-20130730 - Seen in drivers/staging/lustre/lnet/Kconfig

2013-07-30 Thread Valdis Kletnieks
What's wrong with this picture? config LNET_MAX_PAYLOAD int "Lustre lnet max transfer payload (default 2MB)" depends on LUSTRE_FS default "1048576" pgpVfPeZQgyEs.pgp Description: PGP signature

Stupid linux-next git question...

2013-07-31 Thread Valdis Kletnieks
OK... So I have (as usual) found some issues in linux-next, so I'm looking at 3 bisects. I already know that bisecting between (say) next-20130715 and next-20130730 won't work, but bisecting between the 3.11-rc1 base of next-20130715 and next-20130730 *will* work. Question 1: Does bisecting betw

next-20130805 - compile errors in drivers/staging/lustre/lustre/llite/file.c

2013-08-05 Thread Valdis Kletnieks
Not sure how this train wreck happened - 'git log' shows the last patch to touch include/linux/aio.h was some stuff of Kent's back in May, and 'git blame' says the 2 lines of code that died were added on 2013-05-02. It compiled when I build next-0730. And yet, this morning, I get this building -0

Re: zswap: How to determine whether it is compressing swap pages?

2013-07-18 Thread Valdis . Kletnieks
On Thu, 18 Jul 2013 20:43:40 +0800, Bob Liu said: > Could you make some test by kernel compiling? Something like kernbench. > During my testing, I found that the swap ins/outs operations reduced but > the kernel compile time didn't reduce accordingly. If your kernel source tree is cache-cold, the

Query regarding PTP_1588_CLOCK

2013-04-15 Thread Valdis Kletnieks
In drivers/net/ethernet/intel/Kconfig, we see this: config E1000E tristate "Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support" depends on PCI && (!SPARC32 || BROKEN) select CRC32 select PTP_1588_CLOCK ---help--- Is there a reason for the PTP_1588_CLOCK

Re: [PATCH]: Definition for loglevel in KERN_OOPS

2013-05-28 Thread Valdis . Kletnieks
On Tue, 28 May 2013 20:00:45 -0400, Christopher Sacchi said: > This patch is for linux-3.10-rc2 and adds the definition for > KERN_OOPS (it can be used for whenever kernel oops occur) in > for . It is below the > double-dashes. OK, I'll bite. 1) Where in the kernel will this actually get used?

Re: Weird disk idling

2013-05-28 Thread Valdis . Kletnieks
On Sun, 26 May 2013 16:58:59 +0800, ethan said: > Fred£¬ > How do you know the disk is completely idle ? Actually, my first question was "How do you know the disk is *spinning*?" A second or two delay sounds suspiciously like a spun-down disk in powersave move pgpsOF7D6aAkH.pgp Descrip

Re: Stupid VFS name lookup interface..

2013-05-28 Thread Valdis . Kletnieks
On Sun, 26 May 2013 08:02:51 -0400, "Theodore Ts'o" said: > Have any of the arguments over the proper security models changed over > or have gotten resolved over the past six years, while I haven't been > looking? Doubtful, because the security models are addressing different threat models. If y

Re: [procfs] BUG: sleeping function called from invalid context at mm/slub.c:925

2013-03-07 Thread Valdis . Kletnieks
On Thu, 07 Mar 2013 22:12:24 +0800, Fengguang Wu said: > I got the below dmesg and the first bad commit is > > commit a21813be23329e2788164eab532e79cb0e513cfc > Author: Nathan Zimmer > Date: Sat Mar 2 15:25:37 2013 +1100 > > procfs: improve scaling in proc > [ 78.994163] atkbd: probe of

Re: [procfs] BUG: sleeping function called from invalid context at mm/slub.c:925

2013-03-07 Thread Valdis . Kletnieks
On Thu, 07 Mar 2013 13:37:00 -0600, Nathan Zimmer said: > I believe this should be fixed v5 of my patch. > http://marc.info/?l=linux-kernel&m=136242660312006&w=2 > > Alternatively the patch posted by Konstantin to fix up the current > linux-next. > http://marc.info/?l=linux-kernel&m=13626409021863

next-20130306 - BUG: unable to handle kernel paging reques in avc_has_perm_noaudit

2013-03-07 Thread Valdis Kletnieks
Seeing this in next-20130306: [ 180.958482] BUG: unable to handle kernel paging request at ffe0 [ 180.958488] IP: [] avc_has_perm_noaudit+0xbf/0x1bc [ 180.958506] Pid: 1910, comm: systemd-udevd Tainted: G O 3.9.0-rc1-next-20130306-dirty #64 Dell Inc. Latitude E6500 [ 1

Re: next-20130306 - BUG: unable to handle kernel paging reques in avc_has_perm_noaudit

2013-03-08 Thread Valdis . Kletnieks
On Fri, 08 Mar 2013 11:15:47 +0800, Li Zefan said: > I don't think so. The commit changes cgroup_rename(), but the above stack > doesn't > sugguest it was renaming a cgroup directory. OK.. I'll go bisect it then. pgpU06fdN8tCJ.pgp Description: PGP signature

Re: [PATCH -mmotm] scsi: fix the wrong position of the comment

2013-03-11 Thread Valdis . Kletnieks
On Sun, 10 Mar 2013 17:09:50 +0900, Akinobu Mita said: > This fixes the wrong position of the comment introduced by > scsi-rename-random32-to-prandom_u32.patch in the -mm tree. > > Signed-off-by: Akinobu Mita > Cc: "James E.J. Bottomley" > Cc: Andrew Vasquez > --- > drivers/scsi/qla2xxx/qla_att

Re: Complaint - pid-owner Support Removed (CONFIG_NETFILTER_XT_MATCH_OWNER)

2012-07-31 Thread valdis . kletnieks
On Tue, 31 Jul 2012 12:41:21 +1000, NeilBrown said: > On Mon, 30 Jul 2012 21:22:10 +0200 "C. Schmid" > wrote: > > i want to complain about the removal of the --pid-owner Support for > > iptables. > > As far as i understand it this support was just removed without replacement. > > Yes, 7 years ag

Re: Gaming and the kernel

2012-08-03 Thread valdis . kletnieks
On Sat, 04 Aug 2012 10:51:49 +1000, Chris Jones said: > documentation, hopefully things will work out. And this might actually > be the kick in the rear-end that AMD and NVIDIA need to get into gear > and start developer some useful and Windows equivalent hardware drivers > for ALL their cards for

Re: Driver removals

2008-02-16 Thread Valdis . Kletnieks
On Sat, 16 Feb 2008 08:39:08 +0100, Willy Tarreau said: > I don't understand why kernel developers always think that users spend > their whole time testing their new stuff. That is mostly true for a lot > of desktop users, but definitely not for servers. On a server, you may > *ignore* that a new

Re: [PATCH] linux/hdsmart.h: fix goofups

2008-02-17 Thread Valdis . Kletnieks
On Sun, 17 Feb 2008 12:17:20 EST, "Robert P. J. Day" said: > if that header file isn't used by any kernel code, why bother having a > check for __KERNEL__ in the first place? it's being exported to > userspace unchecked: > > include/linux/Kbuild:header-y += hdsmart.h > > so why not just toss

Re: tbench regression in 2.6.25-rc1

2008-02-18 Thread Valdis . Kletnieks
On Mon, 18 Feb 2008 16:12:38 +0800, "Zhang, Yanmin" said: > I also think __refcnt is the key. I did a new testing by adding 2 unsigned > long > pading before lastuse, so the 3 members are moved to next cache line. The > performance is > recovered. > > How about below patch? Almost all performan

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-18 Thread Valdis . Kletnieks
On Mon, 18 Feb 2008 08:18:47 +0100, Krzysztof Helt said: > I know two fb drivers which use endianess information (pm2fb and s3c2410fb). > Both resolve endianess at driver level. Actually, both handle it by setting > special > bits so the graphics chip itself reorder bytes to transform foreign > e

Re: [PATCH 1/5] signal(x86_32): Improve the signal stack overflow check

2008-02-18 Thread Valdis . Kletnieks
On Mon, 18 Feb 2008 18:22:05 +0800, Shi Weihua said: > - /* > - * If we are on the alternate signal stack and would overflow it, don't. notice this ^ > - * Return an always-bogus address instead so we will die with SI

Re: [PATCH 1/3] Fix Unlikely(x) == y

2008-02-18 Thread Valdis . Kletnieks
On Mon, 18 Feb 2008 14:27:10 GMT, David Howells said: > __builtin_expect() is useful on FRV where you _have_ to give each branch and > conditional branch instruction a measure of probability whether the branch > will be taken. What does gcc do the 99.998% of the time we don't have likely/unlikely

Re: [PATCH] do_signal_stop: use signal_group_exit()

2008-02-19 Thread Valdis . Kletnieks
On Sun, 17 Feb 2008 21:11:14 MST, Eric W. Biederman said: > Oleg Nesterov <[EMAIL PROTECTED]> writes: > > On 02/16, Oleg Nesterov wrote: > >> On 02/15, Andrew Morton wrote: > >> > : BUG: unable to handle kernel paging request at 00200200 > >> > : Call Trace: > >> > : [] ? release_task+0x1

Re: vfat32 Free Cluster Count Update

2008-02-19 Thread Valdis . Kletnieks
On Tue, 19 Feb 2008 19:23:12 +0900, OGAWA Hirofumi said: > I'll dig it more, later. And for right now, please run "df" command, it > will fix free cluster count. Wow, that's a real kick in the head for all of us who have a mental concept of 'df' being basically a read-only program, and "fixing co

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-19 Thread Valdis . Kletnieks
On Tue, 19 Feb 2008 04:05:30 PST, Andrew Morton said: > On Tue, 19 Feb 2008 12:27:54 +0100 Clemens Koller <[EMAIL PROTECTED] > wrote: > > That's not an issue in my case. The SM50x can be connected to > > either an PCI or some Local/CPU-whateverbus IF. > > I.e. on the MPC85xx PowerPC, PCI and LocalB

Re: Improve init/Kconfig help descriptions [PATCH 4/9]

2008-02-19 Thread Valdis . Kletnieks
On Wed, 20 Feb 2008 01:38:55 +1100, Nick Andrew said: > + Enable an auditing infrastructure that can be used with another > + kernel subsystem, such as Security-Enhanced Linux (SELinux), > + which requires this option for logging of AVC messages output. > + > + AVC refers t

Re: Where to put adapters, /proc is cool

2008-02-19 Thread Valdis . Kletnieks
On Tue, 19 Feb 2008 14:39:45 EST, Karl Dahlke said: > Really, /proc is the only place for these virtual files that interact > directly with the kernel and/or its modules; > I just wanted a fixed place under /proc for adapters to live, > like sys ttys scsi net, and so on. There's an awful lot of s

Re: 2.6.24-mm1

2008-02-05 Thread Valdis . Kletnieks
On Tue, 05 Feb 2008 09:01:24 PST, Arjan van de Ven said: > [EMAIL PROTECTED] wrote: > > On Sun, 03 Feb 2008 17:16:34 PST, Andrew Morton said: > >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24/2.6.24-mm1/ > > > > Builds, boots, mostly seems to run for limited testing. > > >

Re: 2.6.24-mm1

2008-02-05 Thread Valdis . Kletnieks
On Tue, 05 Feb 2008 11:50:11 PST, Arjan van de Ven said: > > A bugfix? > > yes it was a really painful bugfix, but still. I'm not saying that it wasn't needed, it *was* a busticated API. > I'll repeat the question. What would waiting for an -mm release have bought > for this bugfix? > Answer: n

Re: [PATCH mm] stop c_p_a corrupting the pds

2008-02-05 Thread Valdis . Kletnieks
On Tue, 05 Feb 2008 22:27:21 GMT, Hugh Dickins said: > When change_page_attr splits a large page on x86_32 (without PAE), it is > currently corrupting every process's page directory: fix that by removing > the thinko which passes down a physical instead of a virtual address - > this version of the

Re: [PATCH] USB: mark USB drivers as being GPL only

2008-02-06 Thread Valdis . Kletnieks
On Wed, 06 Feb 2008 22:12:54 +0100, Christer Weinigel said: > If I use an in kernel API, but from a piece of code which is external > to the kernel, is that really a derived work? If you say it is, do you > realise that you are advocating something which is very close to an API > copyright, someth

Re: [PATCH] USB: mark USB drivers as being GPL only

2008-02-08 Thread Valdis . Kletnieks
On Fri, 08 Feb 2008 10:15:01 +0100, Marcel Holtmann said: > And while you are talking to a lawyer. Ask him/her if it is okay to > create a binary only application that uses a GPL library. Tell him/her It's perfectly legal to create such an application. It only gets interesting if you *distribute

Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-21 Thread valdis . kletnieks
On Thu, 19 Jul 2012 13:56:50 -0400, Josh Boyer said: > On Thu, Jul 19, 2012 at 01:33:42PM -0400, Steven Rostedt wrote: > > What happens if someone does a yum update, and the kernel requirement > > changes slightly. The yum update should update > > this /usr/share/Linux/Kconfig. But it's still set a

Re: [RFC][PATCH v2 0/3] efi_pstore: avoid losing critical message

2012-07-21 Thread valdis . kletnieks
On Thu, 19 Jul 2012 21:11:44 -, Seiji Aguchi said: > [Solution] >To avoid losing a critical message, this patchset is based on a following > concept. > - A basic policy is _not_ to overwrite existing entries. > > - However, if kernel panics while a system is rebooting, a critica

Re: 0xB16B00B5? Really? (was Re: Move hyperv out of the drivers/staging/ directory)

2012-07-21 Thread valdis . kletnieks
On Fri, 20 Jul 2012 17:03:59 +0200, richard -rw- weinberger said: > On Fri, Jul 20, 2012 at 4:00 PM, KY Srinivasan wrote: > > Thank you for your interest in fixing this problem. When we decide to > > change this > > ID, we will conform to the MSFT guidelines on constructing this guest ID. > > > >

Re: 3.5-rc5: radeon acceleration regression on Transmeta system

2012-07-10 Thread valdis . kletnieks
On Mon, 09 Jul 2012 14:30:40 +0300, Meelis Roos said: > It's actually more complicated than that. Old kernel images started > misbehaving from around 2.6.35-rc5 and any kernel older than that was > OK. When I recompiled the older kernels with squeeze gcc (migh have been > lenny gcc before, or diff

Re: btrfs userspace question - where's the utility to dump/restore?

2013-01-19 Thread Valdis . Kletnieks
On Thu, 17 Jan 2013 22:18:19 +, Hugo Mills said: > On Thu, Jan 17, 2013 at 03:05:35PM -0500, Valdis Kletnieks wrote: > > So I'm looking at playing with btrfs, and I start looking at the > > userspace pieces I'll need. What I can't find is an equivalent &g

next-20130117 - kernel BUG with aio

2013-01-21 Thread Valdis Kletnieks
Am seeing a reproducible BUG in the kernel with next-20130117 whenever I fire up VirtualBox. Unfortunately, I hadn't done that in a while, so the last 'known good' kernel was next-20121203. I'm strongly suspecting one of Kent Overstreet's 32 patches against aio, because 'git blame' shows those la

Re: next-20130117 - kernel BUG with aio

2013-01-22 Thread Valdis . Kletnieks
On Tue, 22 Jan 2013 21:43:27 +0800, Hillf Danton said: > On Mon, Jan 21, 2013 at 9:24 PM, Valdis Kletnieks > wrote: > > Am seeing a reproducible BUG in the kernel with next-20130117 > > whenever I fire up VirtualBox. Unfortunately, I hadn't done that > > in a w

Re: kswapd0: wxcessive CPU usage

2012-10-11 Thread Valdis . Kletnieks
On Thu, 11 Oct 2012 10:52:28 +0200, Jiri Slaby said: > Hi, > > with 3.6.0-next-20121008, kswapd0 is spinning my CPU at 100% for 1 > minute or so. > [] ? put_super+0x25/0x40 > [] ? grab_super_passive+0x24/0xa0 > [] ? prune_super+0x149/0x1b0 > [] ? shrink_slab+0xa1/0x2d0 > [] ? kswapd+0x66d/0x

  1   2   3   4   5   6   7   8   9   10   >