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 jwbo...@gmail.com 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

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;

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: [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

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

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

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"

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 prefix are

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 even

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: [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: [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

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

CONFIG_MODULE_SIG breaks out-of-tree modules in modpost.

2012-10-12 Thread Valdis Kletnieks
For starters, yes, I *do* understand the security issues involved, and no, I *don't* want to hear about NVidia evilness, because this looks like a modpost problem not an NVidia problem. I built next-20121011 with CONFIG_MODULE_SIG=y, and MODULE_SIG_FORCE=n, so that I could test the feature, and

CONFIG_MODULE_SIG breaks out-of-tree modules in modpost.

2012-10-12 Thread Valdis Kletnieks
For starters, yes, I *do* understand the security issues involved, and no, I *don't* want to hear about NVidia evilness, because this looks like a modpost problem not an NVidia problem. I built next-20121011 with CONFIG_MODULE_SIG=y, and MODULE_SIG_FORCE=n, so that I could test the feature, and

Re: [PATCH] iPhone 5 support for ipheth.

2012-10-11 Thread Valdis . Kletnieks
eople see it. If you fix both of those, feel free to add this as well: Acked-by: Valdis Kletnieks pgpzcDo5A4a0a.pgp Description: PGP signature

Re: kswapd0: wxcessive CPU usage

2012-10-11 Thread Valdis . Kletnieks
On Thu, 11 Oct 2012 19:59:33 +0200, Jiri Slaby said: > On 10/11/2012 07:56 PM, valdis.kletni...@vt.edu wrote: > > On Thu, 11 Oct 2012 17:34:24 +0200, Jiri Slaby said: > >> On 10/11/2012 03:44 PM, valdis.kletni...@vt.edu wrote: > >>> So at least we know we're not hallucinating. :) > >> > >> Just a

Re: kswapd0: wxcessive CPU usage

2012-10-11 Thread Valdis . Kletnieks
On Thu, 11 Oct 2012 17:34:24 +0200, Jiri Slaby said: > On 10/11/2012 03:44 PM, valdis.kletni...@vt.edu wrote: > > So at least we know we're not hallucinating. :) > > Just a thought? Do you have raid? Nope, just a 160G laptop spinning hard drive. Filesystems are ext4 on LVM on a cryptoLUKS

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 > [] ?

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. [8116ee05] ? put_super+0x25/0x40 [8116fdd4] ? grab_super_passive+0x24/0xa0 [8116ff99] ? prune_super+0x149/0x1b0

Re: kswapd0: wxcessive CPU usage

2012-10-11 Thread Valdis . Kletnieks
On Thu, 11 Oct 2012 17:34:24 +0200, Jiri Slaby said: On 10/11/2012 03:44 PM, valdis.kletni...@vt.edu wrote: So at least we know we're not hallucinating. :) Just a thought? Do you have raid? Nope, just a 160G laptop spinning hard drive. Filesystems are ext4 on LVM on a cryptoLUKS partition on

Re: kswapd0: wxcessive CPU usage

2012-10-11 Thread Valdis . Kletnieks
On Thu, 11 Oct 2012 19:59:33 +0200, Jiri Slaby said: On 10/11/2012 07:56 PM, valdis.kletni...@vt.edu wrote: On Thu, 11 Oct 2012 17:34:24 +0200, Jiri Slaby said: On 10/11/2012 03:44 PM, valdis.kletni...@vt.edu wrote: So at least we know we're not hallucinating. :) Just a thought? Do you

Re: [PATCH] iPhone 5 support for ipheth.

2012-10-11 Thread Valdis . Kletnieks
it. If you fix both of those, feel free to add this as well: Acked-by: Valdis Kletnieks valdis.kletni...@vt.edu pgpzcDo5A4a0a.pgp Description: PGP signature

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 > +++

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

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

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 it's

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 your

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 +++

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:

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’ may

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

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: 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

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 christian.schmi...@gmx.de 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.

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: [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

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

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 at

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 critical

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 k...@microsoft.com 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

Re: resurrecting tcphealth

2012-07-13 Thread valdis . kletnieks
On Fri, 13 Jul 2012 16:55:44 -0700, Stephen Hemminger said: > >+/* Course retransmit inefficiency- this packet has been > >received twice. */ > >+tp->dup_pkts_recv++; > > I don't understand that comment, could you use a better sentence please? I think

Re: resurrecting tcphealth

2012-07-13 Thread valdis . kletnieks
On Fri, 13 Jul 2012 16:55:44 -0700, Stephen Hemminger said: +/* Course retransmit inefficiency- this packet has been received twice. */ +tp-dup_pkts_recv++; I don't understand that comment, could you use a better sentence please? I think what was

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

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

Re: Is there a memory block device?

2008-02-26 Thread Valdis . Kletnieks
On Tue, 26 Feb 2008 19:53:36 +0100, rzryyvzy said: > I know that tmpfs is a memmory filesystem. Is there a possibility to create > also a memory block device? > Is there a possibility to create for example a 1 GB memory block device (from > the RAM)? A better question would be: What problem

Re: Is there a memory block device?

2008-02-26 Thread Valdis . Kletnieks
On Tue, 26 Feb 2008 19:53:36 +0100, rzryyvzy said: I know that tmpfs is a memmory filesystem. Is there a possibility to create also a memory block device? Is there a possibility to create for example a 1 GB memory block device (from the RAM)? A better question would be: What problem are

Re: [PATCH] 2.6.25-rc2-mm1 - fix mcount GPL bogosity.

2008-02-25 Thread Valdis . Kletnieks
On Mon, 25 Feb 2008 21:27:10 +0200, Adrian Bunk said: > On Mon, Feb 25, 2008 at 06:19:57PM +, Alan Cox wrote: (Following was actually Steve Rostedt writing): > > > The reason I added GPL is not because of some idea that this is all > > > "chummy" with the kernel. But because I derived the

[PATCH] 2.6.25-rc2-mm1 - fix mcount GPL bogosity.

2008-02-25 Thread Valdis . Kletnieks
s a SYMBOL, not a SYMBOL_GPL - yet another inconsistency. Signed-off-by: Valdis Kletnieks <[EMAIL PROTECTED]> --- --- linux-2.6.25-rc2-mm1/kernel/trace/ftrace.c.dist 2008-02-16 23:34:36.0 -0500 +++ linux-2.6.25-rc2-mm1/kernel/trace/ftrace.c 2008-02-25 12:00:57.0 -050

[PATCH] 2.6.25-rc2-mm1 - fix mcount GPL bogosity.

2008-02-25 Thread Valdis . Kletnieks
, not a SYMBOL_GPL - yet another inconsistency. Signed-off-by: Valdis Kletnieks [EMAIL PROTECTED] --- --- linux-2.6.25-rc2-mm1/kernel/trace/ftrace.c.dist 2008-02-16 23:34:36.0 -0500 +++ linux-2.6.25-rc2-mm1/kernel/trace/ftrace.c 2008-02-25 12:00:57.0 -0500 @@ -44,7 +44,7

Re: [PATCH] 2.6.25-rc2-mm1 - fix mcount GPL bogosity.

2008-02-25 Thread Valdis . Kletnieks
On Mon, 25 Feb 2008 21:27:10 +0200, Adrian Bunk said: On Mon, Feb 25, 2008 at 06:19:57PM +, Alan Cox wrote: (Following was actually Steve Rostedt writing): The reason I added GPL is not because of some idea that this is all chummy with the kernel. But because I derived the mcount code

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

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

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

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

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: > >> > : [] ?

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: : [80237727] ?

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 counts

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 LocalBus are

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 to

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

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

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

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

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 >

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 performance is

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

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

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] 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: [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 that

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: 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: 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

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

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

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

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 actually

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 it

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

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-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

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

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: [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). > >

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

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: [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,

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, something

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: 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:

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 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: 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: 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. One note -

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: nothing

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: 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 >

Re: [PATCH] Improve Documentation/stable_api_nonsense.txt

2008-01-30 Thread Valdis . Kletnieks
On Wed, 30 Jan 2008 13:32:58 CST, Matt Mackall said: > "Use the exact same C compiler." -> OK, idiomatic > "Use the same exact C compiler." -> OK, idiomatic > "Use the exactly same C compiler." -> very awkward > "Use exactly the same C compiler." -> formally correct "You are trapped in a maze of

<    4   5   6   7   8   9   10   11   12   13   >