| From | Subject | Date |
|---|---|---|
| Seth Heasley | [PATCH 2.6.27-rc4] irq: irq and pci_ids patch for Intel ...
This patch updates the Intel Ibex Peak (PCH) LPC and SMBus Controller DeviceIDs.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6/include/linux/pci_ids.h.orig 2008-08-27 11:54:07.000000000 -0700
+++ linux-2.6/include/linux/pci_ids.h 2008-08-27 12:01:53.000000000 -0700
@@ -2428,9 +2428,39 @@
#define PCI_DEVICE_ID_INTEL_ICH10_3 0x3a1a
#define PCI_DEVICE_ID_INTEL_ICH10_4 0x3a30
#define PCI_DEVICE_ID_INTEL_ICH10_5 0x3a60
-#define PCI_DEVICE_ID_INTEL_PCH_0 0x3b10
-#define ...
| Aug 27, 4:58 pm 2008 |
| Seth Heasley | [PATCH 2.6.27-rc4] i2c-i801: SMBus patch for Intel Ibex ...
This patch adds the Intel Ibex Peak (PCH) SMBus Controller DeviceIDs.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6/drivers/i2c/busses/Kconfig.orig 2008-08-27 12:11:03.000000000 -0700
+++ linux-2.6/drivers/i2c/busses/Kconfig 2008-08-27 12:11:24.000000000 -0700
@@ -97,6 +97,7 @@
ICH9
Tolapai
ICH10
+ PCH
This driver can also be built as a module. If so, the module
will be called i2c-i801.
--- ...
| Aug 27, 4:52 pm 2008 |
| David Miller | [GIT]: Networking
1) Build fix of 8390 layer from Alan Cox.
2) IGB driver bug fixes from Alexander Duyck:
a) Incorrect VLAN register programming
b) Fix RX hang condition by forcing all queues to interrupt every 2 secs
c) ethtool -d accidently masks off interrupts, whoops...
d) Fix setting of number of TX queues when in MSI-X only mode
e) Remove 82576 quad adapter PCI IDs, these don't work properly yet
3) Add new device ID for MCS7830 USB adapter, from Arnd Bergmann
4) In ...
| Aug 27, 4:46 pm 2008 |
| Seth Heasley | [PATCH 2.6.27-rc4] ahci: RAID mode SATA patch for Intel ...
This patch adds the Intel Ibex Peak (PCH) SATA RAID Controller DeviceIDs.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6/drivers/ata/ahci.c.orig 2008-08-27 11:48:10.000000000 -0700
+++ linux-2.6/drivers/ata/ahci.c 2008-08-27 11:49:23.000000000 -0700
@@ -487,7 +487,9 @@
{ PCI_VDEVICE(INTEL, 0x3a05), board_ahci }, /* ICH10 */
{ PCI_VDEVICE(INTEL, 0x3a25), board_ahci }, /* ICH10 */
{ PCI_VDEVICE(INTEL, 0x3b24), board_ahci }, /* PCH RAID */
+ { PCI_VDEVICE(INTEL, ...
| Aug 27, 4:47 pm 2008 |
| Jeff Garzik | Re: [PATCH 2.6.26.7-rc4] ata_piix: IDE Mode SATA patch f ...
A process note...
If you are building against torvalds/linux-2.6.git -- a good thing --
then it is helpful to include the top-most commit id in your message [if
you feel it is relevant information].
For patches, meta-information like commit ids or special instructions to
the maintainer can be included following a "---" separator (on a line by
itself).
As an example, see this patch from Tejun, which includes a diffstat(1)
output and note about MAXTOR in the meta-information area of ...
| Aug 27, 4:57 pm 2008 |
| Seth Heasley | [PATCH 2.6.26.7-rc4] ata_piix: IDE Mode SATA patch for I ...
This patch updates the Intel Ibex Peak (PCH) IDE mode SATA Controller DeviceIDs.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6/drivers/ata/ata_piix.c.orig 2008-08-27 11:32:28.000000000 -0700
+++ linux-2.6/drivers/ata/ata_piix.c 2008-08-27 11:47:59.000000000 -0700
@@ -278,12 +278,15 @@
/* SATA Controller IDE (PCH) */
{ 0x8086, 0x3b20, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata },
/* SATA Controller IDE (PCH) */
+ { 0x8086, 0x3b21, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ...
| Aug 27, 4:40 pm 2008 |
| Heasley, Seth | RE: [PATCH 2.6.26.7-rc4] ata_piix: IDE Mode SATA patch f ...
Typo in the subject line. Should read 2.6.27-rc4. This was built against http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
--
| Aug 27, 4:39 pm 2008 |
| Jeremy Fitzhardinge | /proc/acpi/ibm/wan stopped appearing
/proc/acpi/ibm/wan stopped appearing for me at some point recently
(bluetooth is still there). I guess this has something to do with the
RFKILL changes, but I haven't looked at them in detail. I guess my
question is: is this expected, and what's the "proper" way to control
the WWAN radio now?
Thanks,
J
--
| Aug 27, 3:11 pm 2008 |
| Henrique de Moraes H ... | Re: /proc/acpi/ibm/wan stopped appearing
1. It is not expected, I have not removed /proc interface support for
anything. Look at the thinkpad-acpi documentation, it is always (and I do
mean ALWAYS) up-to-date.
The /proc interface for thinkpad-acpi is not going away for a while yet,
unless ACPI itself decides that /proc/acpi must die.
2. The proper way to control ANY radio's rfkill functions is through the
rfkill sysfs interface. That includes thinkpad-acpi's bluetooth and WWAN.
IOW, we may have a regression here. Please ...
| Aug 27, 4:12 pm 2008 |
| Jeremy Fitzhardinge | Re: /proc/acpi/ibm/wan stopped appearing
Actually, that may be it. I think I used to load it as a module, and
modprobe.conf set experimental=1, but I don't have an equivalent on the
kernel command line.
I think I'll submit a patch to remove the need for experimental; it's
been working fine for me for 3 years now.
J
--
| Aug 27, 4:27 pm 2008 |
| Adrian Bunk | [2.6 patch] fix pciehp_free_irq()
This patch fixes an obvious bug (loop was never entered) caused by
commit 820943b6fc4781621dee52ba026106758a727dd3
(pciehp: cleanup pcie_poll_cmd).
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
0cca78f4b7c7d6c7b64ae5acc08bb641454b4835
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c
index ab31f5b..9d934dd 100644
--- a/drivers/pci/hotplug/pciehp_hpc.c
+++ b/drivers/pci/hotplug/pciehp_hpc.c
@@ -250,23 +250,23 @@ ...
| Aug 27, 3:05 pm 2008 |
| Adrian Bunk | [2.6 patch] mISDN/dsp_cmx.c: fix size checks
The checks for ensuring that the array indices are inside the range
were flipped.
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
1743b2c1c483c8f1e5c6f706b8937136359f5aeb
diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c
index e92b1ba..c2f51cc 100644
--- a/drivers/isdn/mISDN/dsp_cmx.c
+++ b/drivers/isdn/mISDN/dsp_cmx.c
@@ -452,10 +452,10 @@ one_member:
if (finddsp->features.pcm_id == dsp->features.pcm_id) {
if ...
| Aug 27, 3:02 pm 2008 |
| H. Peter Anvin | Re: [patch] xsave: restore xcr0 during resume
Applied to tip:x86/xsave, thanks.
-hpa
--
| Aug 27, 3:23 pm 2008 |
| Suresh Siddha | [patch] xsave: restore xcr0 during resume
Add the missing XCR0(XFEATURE_ENABLED_MASK) restore during resume.
Reported-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
---
diff --git a/arch/x86/power/cpu_32.c b/arch/x86/power/cpu_32.c
index d3e083d..274d060 100644
--- a/arch/x86/power/cpu_32.c
+++ b/arch/x86/power/cpu_32.c
@@ -11,6 +11,7 @@
#include <linux/suspend.h>
#include <asm/mtrr.h>
#include <asm/mce.h>
+#include <asm/xcr.h>
static struct saved_context ...
| Aug 27, 2:57 pm 2008 |
| H. Peter Anvin | Re: C language lawyers needed
Looks like a gcc bug to me.
0xff000000 is unsigned, like any hexadecimal constant.
unsigned foo(int x)
{
return ((x & 0xffffff) | (1 << 30)) & 0x80000000;
}
... is enough to reproduce the bug -- explicitly casting either side or
both of the & operator to unsigned doesn't affect the warning, either.
-hpa
--
| Aug 27, 3:00 pm 2008 |
| Roland Dreier | Re: C language lawyers needed
> There isn't. It's gcc being buggy and inconsistent.
Thanks, I'll file a gcc bug I guess.
- R.
--
| Aug 27, 4:02 pm 2008 |
| H. Peter Anvin | Re: C language lawyers needed
Crap, I keep having a stale/bogus bit set for that since I don't know when.
-hpa
--
| Aug 27, 3:18 pm 2008 |
| Al Viro | Re: C language lawyers needed
Not any. Ones that do not fit into range of int but do fit into the range
of unsigned are.
Really, folks, it's not _that_ hard:
Type sequence: int, unsigned int, long, unsigned long, long long,
unsigned long long.
With U suffix => don't bother with signed types
Without U suffix, decimal => don't bother with _un_signed types
With L suffix => don't bother with anything earlier than long
With LL suffix => don't bother with anything earlier than long long
Pick the first type that covers your ...
| Aug 27, 3:17 pm 2008 |
| Roland Dreier | C language lawyers needed
Can anyone explain why building the current kernel gives
drivers/net/mlx4/mcg.c: In function 'mlx4_multicast_attach':
drivers/net/mlx4/mcg.c:217: warning: integer overflow in expression
(with gcc (Ubuntu 4.3.1-9ubuntu1) 4.3.1 on x86-64), while the patch
below gets rid of the warning? I can't see what is overflowing in the
expression that is warned out.
MGM_BLCK_LB_BIT is 30, and 1 << 30 is not negative or close to
overflowing. And MGM_QPN_MASK is 0x00FFFFFF, which is also nowhere ...
| Aug 27, 2:43 pm 2008 |
| Al Viro | Re: C language lawyers needed
There isn't. It's gcc being buggy and inconsistent.
--
| Aug 27, 3:06 pm 2008 |
| Roland Dreier | [PATCH] IB/mlx4: Actually return L_Key and R_Key for fas ...
From: Vladimir Sokolovsky <vlad@mellanox.co.il>
Initialize the L_Key and R_Key for memory regions returned from
mlx4_ib_alloc_fast_reg_mr(). Otherwise callers just get garbage for
the memory keys and can't do anything useful with these MRs.
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
---
Hi Linus,
Please apply this for 2.6.27. This fixes a new feature we merged during
the window but weren't able to test fully because device ...
| Aug 27, 2:29 pm 2008 |
| Harvey Harrison | [PATCH] block: kmalloc args reversed, small function def ...
Noticed by sparse:
block/blk-softirq.c:156:12: warning: symbol 'blk_softirq_init' was not declared. Should it be static?
block/genhd.c:583:28: warning: function 'bdget_disk' with external linkage has definition
block/genhd.c:659:17: warning: incorrect type in argument 1 (different base types)
block/genhd.c:659:17: expected unsigned int [unsigned] [usertype] size
block/genhd.c:659:17: got restricted gfp_t
block/genhd.c:659:29: warning: incorrect type in argument 2 (different base ...
| Aug 27, 1:24 pm 2008 |
| Jeremy Fitzhardinge | Definition of x86 _PAGE_SPECIAL and sharing _PAGE_UNUSED1
_PAGE_SPECIAL is overloading _PAGE_UNUSED1. Does it really leave
_PAGE_UNUSED1 available for other uses, or does it become an exclusive
user of that flag. Under what circumstances can they be shared?
arch/x86/mm/pageattr-test.c is now using _PAGE_UNUSED1 as the flag used
to make sure that huge pages are shattered properly (previously it used
_PAGE_GLOBAL). Is that going to clash with _PAGE_SPECIAL?
In other words, should we drop _PAGE_UNUSED1 altogether, or at least
define how the its ...
| Aug 27, 12:02 pm 2008 |
| Joe Korty | [PATCH] message queues: increase range limits
Increase the range of various posix message queue limits.
Posix gives the message queue user the ability to 'trade
off' the maximum size of messages with the number of
possible messages that can be 'in flight'. Linux currently
makes this trade off more restrictive than it needs to be.
In particular, the maximum message size today can be
made no smaller than 8192. This greatly restricts those
applications that would like to have the ability to post
large numbers of very small ...
| Aug 27, 10:48 am 2008 |
| Mark Fasheh | [git patches] Ocfs2 and Configfs fixes
Please pull from 'upstream-linus' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2.git upstream-linus
to receive the following updates:
fs/configfs/dir.c | 17 ++++++--------
fs/ocfs2/cluster/netdebug.c | 26 +++++++++++-----------
fs/ocfs2/cluster/tcp.c | 44 ++++++++++++++++++++++++++++++++------
fs/ocfs2/cluster/tcp_internal.h | 32 ----------------------------
fs/ocfs2/dir.c | 11 +++++++--
fs/ocfs2/journal.c ...
| Aug 27, 10:36 am 2008 |
| Alan Stern | Re: [PATCH] USB: add USB test and measurement class driv ...
IMO all char-device registration/deregistration routines should use a
I don't feel competent to start writing such a file. Greg, what do you
think? Maybe all that's needed to get going is to "borrow" some of the
material in LDD3. :-)
Alan Stern
--
| Aug 27, 12:16 pm 2008 |
| Oliver Neukum | Re: [PATCH] USB: add USB test and measurement class driv ...
Yes. In fact drivers not using the USB major but their own char devices
The USB major merits a file of its own.
Regards
Oliver
--
| Aug 27, 12:05 pm 2008 |
| Alan Stern | Re: [PATCH] USB: add USB test and measurement class driv ...
This is an example of what I was discussing with Oliver. In all
likelihood you simply don't need usbtmc_mutex, and using it will cause
a lockdep violation.
That's why so many of the other USB class drivers don't have an
You must never acquire a lock in your open method if it will be held
But you don't call usb_unregister_dev() during disconnect. An
oversight?
Alan Stern
--
| Aug 27, 11:28 am 2008 |
| Oliver Neukum | Re: [PATCH] USB: add USB test and measurement class driv ...
And this rule depends on sharing the USB major or not. This needs
a big fat mention in Documentation.
Regards
Oliver
--
| Aug 27, 11:37 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driv ...
Well, as the USB chapter in LDD3 "borrowed" heavily from the comments in
the usb code itself, that would only be fair :)
That chapter needs to be reworked. The authors and Oreilly and I are
currently talking about how to do this all in a framework that makes
sense (the current one of a book every few years that quickly gets out
of date doesn't make sense.)
thanks,
greg k-h
--
| Aug 27, 4:48 pm 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driv ...
Ah, yes, my fault, I converted this from using a private cdev to using
the usb_register_dev() call and forgot about this. Thanks for catching
it, I'll go fix this.
Oh, it's usb_deregister_dev(), stupid programmers with inconsitant
interfaces :)
thanks,
greg k-h
--
| Aug 27, 11:36 am 2008 |
| Alan Stern | Re: [PATCH] USB: add USB test and measurement class driv ...
Yes, once you add the call to usb_deregister_dev.
You mean that the open/disconnect locking rule applies only to drivers
that call usb_register_dev, i.e, drivers using the USB major. Right?
I agree that it deserves to be mentioned in the documentation
somewhere. Where would be a good place? None of the existing files in
Documentation/usb seem appropriate.
Alan Stern
--
| Aug 27, 11:58 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driv ...
Great, all done now.
Here's the updated version.
thanks,
greg k-h
----------
From: Greg Kroah-Hartman <gregkh@suse.de>
Subject: USB: add USB test and measurement class driver
This driver was originaly written by Stefan Kopp, but massively
reworked by Greg for submission.
Thanks to Felipe Balbi <me@felipebalbi.com> for lots of work in cleaning
up this driver.
Thanks to Oliver Neukum <oliver@neukum.org> for reviewing previous
versions and pointing out problems.
Cc: Stefan ...
| Aug 27, 4:47 pm 2008 |
| Greg KH | [PATCH] USB: add USB test and measurement class driver - ...
Here's an updated version of the usbtmc driver, with all of the
different issues that have been raised, hopefully addressed.
thanks,
greg k-h
----------
From: Greg Kroah-Hartman <gregkh@suse.de>
Subject: USB: add USB test and measurement class driver
This driver was originaly written by Stefan Kopp, but massively
reworked by Greg for submission.
Thanks to Felipe Balbi <me@felipebalbi.com> for lots of work in cleaning
up this driver.
Thanks to Oliver Neukum <oliver@neukum.org> for ...
| Aug 27, 10:20 am 2008 |
| Rafael J. Wysocki | Re: 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled(): ...
[Adding CCs]
> Aug 27 18:03:10 middle kernel: [<ffffffff8070ec96>] ? thread_return+0
| Aug 27, 2:47 pm 2008 |
| jurriaan | 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled():0' w ...
After returning from my holidays, I proceeded to test 2.6.27-rc4. 2.6.26
works fine, but 2.6.27-rc4 gives me lots of:
Aug 27 18:03:10 middle kernel: in_atomic():1, irqs_disabled():0
Aug 27 18:03:10 middle kernel: Pid: 1185, comm: md2_raid1 Not tainted 2.6.27-rc4 #2
Aug 27 18:03:10 middle kernel:
Aug 27 18:03:10 middle kernel: Call Trace:
Aug 27 18:03:10 middle kernel: [<ffffffff802303fb>] __might_sleep+0xdb/0x100
Aug 27 18:03:10 middle kernel: [<ffffffff802734a9>] ...
| Aug 27, 10:05 am 2008 |
| Jan Engelhardt | Re: Is SKAS still required for UML
In tests of mine, oggenc in SKAS0 mode ran at 95% of native speed, which
is pretty good.
--
| Aug 27, 1:00 pm 2008 |
| Jeff Dike | Re: Is SKAS still required for UML
Different workloads give different results. Yours sounds
CPU-intensive. Kernel builds here run at 50-60% of native with skas0,
low 80's with skas3, and ~86% with skas4.
Jeff
--
Work email - jdike at linux dot intel dot com
--
| Aug 27, 2:03 pm 2008 |
| Jan Engelhardt | Is SKAS still required for UML
Hi,
the UML page at http://user-mode-linux.sourceforge.net/old/skas.html
mentions that "The UML kernel is present in the address space of each of
its processes, and, by default, is writeable".
I tried to put this to a test, and actually failed to modify the
UML kernel/memory image from within it. I had a simple kernel module
with 'int val = 2;' and upon loading this, done printk("Val is at %p\n",
&val); to get to know the address. A userspace program inside the UML
then tried to ...
| Aug 27, 9:57 am 2008 |
| Jeff Dike | Re: Is SKAS still required for UML
That stuff, as you can see by the "old" in the URL, is old.
SKAS3 is still a significant performance boost.
Jeff
--
Work email - jdike at linux dot intel dot com
--
| Aug 27, 12:06 pm 2008 |
| Evgeniy Polyakov | Distributed STorage.
Hi.
I am pleased to announce new Distributed STorage (DST) project release.
Distributed storage was completely rewritten from scratch recenly.
I dropped essentially mirrored features of the device mapper in
favour of the more robust block io processing and effective protocol.
DST is a block layer network device, which among others has following
features:
* Kernel-side client and server. No need for any special tools for
data processing (like special userspace applications) ...
| Aug 27, 9:07 am 2008 |
| Andrea Righi | [RFC][PATCH -mm 5/5] export per-task i/o throttling stat ...
Export the throttling statistics collected for each task through
/proc/PID/io-throttle-stat:
- total number of delayed I/O request
- total amount of time in jiffies spent to wait for the delayed requests
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
fs/proc/base.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 01ed610..9983730 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -54,6 +54,7 @@
...
| Aug 27, 9:07 am 2008 |
| Andrea Righi | [RFC][PATCH -mm 4/5] i/o controller instrumentation: acc ...
Apply the io-throttle controller to the opportune kernel functions. Both
accounting and throttling functionalities are performed by
cgroup_io_throttle().
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
block/blk-core.c | 2 ++
fs/aio.c | 14 ++++++++++++++
include/linux/sched.h | 5 +++++
kernel/fork.c | 6 +++++-
mm/page-writeback.c | 19 +++++++++++++++++++
mm/readahead.c | 5 +++++
6 files changed, 50 insertions(+), 1 ...
| Aug 27, 9:07 am 2008 |
| Andrea Righi | [RFC][PATCH -mm 3/5] i/o controller infrastructure
This is the core io-throttle kernel infrastructure. It creates the basic
interfaces to cgroups and implements the I/O measurement and throttling
functions.
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
block/Makefile | 2 +
block/blk-io-throttle.c | 672 +++++++++++++++++++++++++++++++++++++++
include/linux/blk-io-throttle.h | 72 +++++
include/linux/cgroup_subsys.h | 6 +
init/Kconfig | 10 +
5 files changed, 762 ...
| Aug 27, 9:07 am 2008 |
| Andrea Righi | [RFC][PATCH -mm 2/5] introduce struct res_counter_ratelimit
Introduce res_counter_ratelimit as a generic structure to implement
throttling-based cgroup subsystems.
[ Only the interfaces needed by the IO controller are implemented right now ]
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
include/linux/res_counter.h | 70 +++++++++++++++++++++++++
kernel/res_counter.c | 118 ++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 187 insertions(+), 1 deletions(-)
diff --git a/include/linux/res_counter.h ...
| Aug 27, 9:07 am 2008 |
| Andrea Righi | [RFC][PATCH -mm 1/5] i/o controller documentation
Documentation of the block device I/O controller: description, usage,
advantages and design.
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
Documentation/controllers/io-throttle.txt | 377 +++++++++++++++++++++++++++++
1 files changed, 377 insertions(+), 0 deletions(-)
create mode 100644 Documentation/controllers/io-throttle.txt
diff --git a/Documentation/controllers/io-throttle.txt b/Documentation/controllers/io-throttle.txt
new file mode 100644
index 0000000..09df0af
--- ...
| Aug 27, 9:07 am 2008 |
| Andrea Righi | [RFC][PATCH -mm 0/5] cgroup: block device i/o controller (v9)
The objective of the i/o controller is to improve i/o performance
predictability of different cgroups sharing the same block devices.
Respect to other priority/weight-based solutions the approach used by this
controller is to explicitly choke applications' requests that directly (or
indirectly) generate i/o activity in the system.
The direct bandwidth and/or iops limiting method has the advantage of improving
the performance predictability at the cost of reducing, in general, the ...
| Aug 27, 9:07 am 2008 |
| Harvey Harrison | [PATCH] byteorder: use generic C version for value bytes ...
This makes the new implementation of the byteorder helpers match the
old in how it degraded when an arch-defined version was not available:
1) swab()
- look for arch defined
- if not, use generic c version
2) swabp()
- look for arch-defined
- if not, deref pointer and use swab()
3) swabs()
- look for arch defined
- if not, use swabp
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
David, I hope this has covered the last of your objections...also note that
once ...
| Aug 27, 9:06 am 2008 |
| Andrew Morton | Re: [PATCH -V3 01/11] percpu_counters: make fbc->count r ...
On Wed, 27 Aug 2008 20:58:26 +0530
So... yesterday's suggestionm to investigate implementing this at a
This change means that a percpu_counter_read() from interrupt context
on a 32-bit machine is now deadlockable, whereas it previously was not
deadlockable on either 32-bit or 64-bit.
This flows on to the lib/proportions.c, which uses
percpu_counter_read() and also does spin_lock_irqsave() internally,
indicating that it is (or was) designed to be used in IRQ contexts.
It means that ...
| Aug 27, 12:05 pm 2008 |
| Andrew Morton | Re: [PATCH -V3 01/11] percpu_counters: make fbc->count r ...
On Wed, 27 Aug 2008 23:01:52 +0200
percpu_counter_read() was irq-safe. That changes here. Needs careful
review, changelogging and, preferably, runtime checks. But perhaps
they should be inside some CONFIG_thing which won't normally be done in
production.
otoh, percpu_counter_read() is in fact a rare operation, so a bit of
overhead probably won't matter.
(write-often, read-rarely is the whole point. This patch's changelog's
assertion that "Since fbc->count is read more frequently and ...
| Aug 27, 2:22 pm 2008 |
| Peter Zijlstra | Re: [PATCH -V3 01/11] percpu_counters: make fbc->count r ...
I think its a good idea to investigate a generic atomic64_t type.
i386 could possibly use cmpxchg8 if and when available, although using
that to read might be rather too expensive.
Doing something like:
struct atomic64_t {
seqlock_t lock;
s64 val;
};
might be somewhat unexpected from the sizeof() angle of things. Then
percpu_counter() never was irq safe, which is why the proportion stuff
Actually, as long as the write side of the seqlock usage is done with
IRQs disabled, the ...
| Aug 27, 2:01 pm 2008 |
| Aneesh Kumar K.V | [PATCH -V3 01/11] percpu_counters: make fbc->count read ...
fbc->count is of type s64. The change was introduced by
0216bfcffe424a5473daa4da47440881b36c1f4 which changed the type
from long to s64. Moving to s64 also means on 32 bit architectures
we can get wrong values on fbc->count. Since fbc->count is read
more frequently and updated rarely use seqlocks. This should
reduce the impact of locking in the read path for 32bit arch.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
CC: Andrew ...
| Aug 27, 8:28 am 2008 |
| Joe Korty | [PATCH] make might_sleep() display the oopsing process
Expand might_sleep's printk to indicate the oopsing process.
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Index: 2.6.27-rc4-git4/kernel/sched.c
===================================================================
--- 2.6.27-rc4-git4.orig/kernel/sched.c 2008-08-26 17:44:34.000000000 -0400
+++ 2.6.27-rc4-git4/kernel/sched.c 2008-08-26 18:24:08.000000000 -0400
@@ -8183,8 +8183,8 @@
prev_jiffy = jiffies;
printk(KERN_ERR "BUG: sleeping function called from invalid"
" context at ...
| Aug 27, 8:21 am 2008 |
| Joe Korty | [PATCH] shrink printk timestamp field
Shrink the printk timestamp field.
Keep the printk timestamp from occupying more of the
scarce, 80-column console line space than it really needs.
We eliminate the excessive whitespace the field added to
the line, and reduce timestamp precision from six digits
(usecs) to three digits (msecs). msecs seems adequate
for the purpose of tracking boot sequence timing issues.
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Index: ...
| Aug 27, 8:17 am 2008 |
| Joe Korty | Re: [PATCH] printk timestamp post-boot suppression, v2
...and is already present in 2.6.27, the module_param_named(...)
stmt in kernel/printk.c sets it all up.
Joe
--
| Aug 27, 10:27 am 2008 |
| Joe Korty | Re: [PATCH] printk timestamp post-boot suppression, v2
That certainly is the better approach.
Joe
--
| Aug 27, 10:22 am 2008 |
| Joe Korty | [PATCH] printk timestamp post-boot suppression
Suppress printk timestamping after system boot.
The timestamp printk prefix seems most useful during boot,
where it easily shows where the boot sequence is spending
its time.
Its utility after boot is questionable, since 1) the
timestamp becomes a rather large, unreadable integer,
as the hours, days and weeks go by, and 2) syslog does
a proper TOD timestamp anyways on these later messages,
as they go into /var/log/messages.
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Index: ...
| Aug 27, 8:16 am 2008 |
| Simon Farnsworth | Re: [PATCH] printk timestamp post-boot suppression
It's also very useful while the system is running. We've had problems
with systems where the HDD or libata was "hiccuping" and stalling the
entire system for 30 seconds; our logs were useless, as syslog was
timestamping with the timestamp *after* the stall ended (as that was
when it received the message), and dmesg had no timestamps.
In this case, our problem ran away and hid when we turned on printk
timestamps, but if it recurred, we'd want the timestamps available to
let us work out which ...
| Aug 27, 8:26 am 2008 |
| Simon Farnsworth | Re: [PATCH] printk timestamp post-boot suppression, v2
JOOI, what's wrong with having your init scripts contain a line like:
echo 0 > /sys/module/printk/parameters/time
?
This has the advantage that you can avoid turning the kernel's
timestamps off until you know that syslog is running and timestamp
events that it's receiving.
--
Simon Farnsworth
--
| Aug 27, 10:13 am 2008 |
| Mark Brown | Re: [PATCH] printk timestamp post-boot suppression
It'd be nicer if this were optional - syslog typically only logs at
second resolution and not all systems are going to have logfiles.
--
| Aug 27, 9:16 am 2008 |
| Andi Kleen | Re: [PATCH] printk timestamp post-boot suppression, v2
Such things shouldn't be CONFIGs, but boot options.
But a better option might be to just fix syslog or klogd to convert those
time stamps into its own ones? Then your screen estate issue
would disappear. That would be a user space fix only.
-Andi
--
ak@linux.intel.com
--
| Aug 27, 10:22 am 2008 |
| Joe Korty | [PATCH] printk timestamp post-boot suppression, v2
Optionally suppress printk timestamping after system boot.
A new config option is introduced, which if selected
suppresses printk timestamping after the boot sequence
is completed.
Signed-off-by: Joe Korty <joe.korty@ccur.com>
Index: 2.6.27-rc4-git4/kernel/printk.c
===================================================================
--- 2.6.27-rc4-git4.orig/kernel/printk.c 2008-08-27 09:37:52.000000000 -0400
+++ 2.6.27-rc4-git4/kernel/printk.c 2008-08-27 12:35:14.000000000 -0400
@@ ...
| Aug 27, 10:04 am 2008 |
| Carlos Corbacho | Re: [PATCH] acpi-wmi: Enable event methods when register ...
Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
--
E-Mail: carlos@strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
--
| Aug 27, 2:15 pm 2008 |
| Matthew Garrett | [PATCH] acpi-wmi: Enable event methods when registering ...
According to the ACPI-WMI spec, event blocks may provide a function call
for enabling/disabling them. This patch adds support for making these
calls when registering or removing notifications. Without this, my Dell
firmware provides no data in the event notification.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
---
diff --git a/drivers/acpi/wmi.c b/drivers/acpi/wmi.c
index c33b1c6..c7f735f 100644
--- a/drivers/acpi/wmi.c
+++ b/drivers/acpi/wmi.c
@@ -217,6 +217,35 @@ static bool ...
| Aug 27, 8:04 am 2008 |
| Michael Kerrisk | man-pages-3.08 is released
Gidday
I've released man-pages-3.08.
This release is now available for download at:
http://www.kernel.org/pub/linux/docs/man-pages
or ftp://ftp.kernel.org/pub/linux/docs/man-pages
This release is now available for download at:
http://www.kernel.org/pub/linux/docs/man-pages
or ftp://ftp.kernel.org/pub/linux/docs/man-pages
The online changelog is available at
http://www.kernel.org/doc/man-pages/changelog.html
(blogged ...
| Aug 27, 7:32 am 2008 |
| Joe Korty | [PATCH] make poll_idle behave more like the other idle methods
Make poll_idle() behave more like the other idle methods.
Currently, poll_idle() returns immediately. The other
idle methods all wait indefinately for some condition
to come true before returning. poll_idle should emulate
these other methods and also wait for a return condition,
in this case, for need_resched() to become 'true'.
Without this delay the idle loop spends all of its time
in the outer loop that calls poll_idle. This outer loop,
these days, does real work, some of it under rcu ...
| Aug 27, 7:35 am 2008 |
| Heiko Carstens | [GIT PULL] 2.6.27-rc5 updates for s390
Hi Linus,
please pull from 'for-linus' branch of
git://git390.osdl.marist.edu/pub/scm/linux-2.6.git for-linus
This contains just two s390 specific build fixes.
Heiko Carstens (2):
[S390] Fix linker script.
[S390] dcss: fix build bug.
arch/s390/kernel/vmlinux.lds.S | 2 +-
drivers/s390/block/dcssblk.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S
index 76c1e60..607bd67 ...
| Aug 27, 7:28 am 2008 |
| Atsushi Nemoto | [PATCH] input: Move map_to_7segment.h to include/linux
The map_to_7segment.h provides generic 7segment LED mappings and is
designed to be used by other drivers. Moving it to common area will
make it more usable.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
This is renaming patch. I can send no-rename patch if requested.
drivers/input/misc/yealink.c | 2 +-
.../input/misc => include/linux}/map_to_7segment.h | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
rename {drivers/input/misc => ...
| Aug 27, 7:29 am 2008 |
| Joe Korty | [PATCH] NFSv3: cached permissions subset enhancement
[NFSv3] cached permissions subset enhancement.
NFSv3 allows file permissions to be cached on the client
side. The Linux client, when fetching these permissions,
makes the request for all permissions (rwx) in a single
operation. However, for some NFSv3 server implementations
(the only one currently known is PowerMAX OS), an incoming
request for all rwx permissions in a single request,
when all are not actually set in the file, returns an
NFSERR_ACCES failure code to the client, rather ...
| Aug 27, 7:28 am 2008 |
| Joe Korty | [ETH] forcdeth: increase max_interrupt_work
Forcedeth: increase max_interrupt_work
This eliminates the following often-generated warning from
my 64 bit Opteron SMP test stand:
eth0: too many iterations (6) in nv_nic_irq
According to the web, the problem is that the forcedeth
driver has a too-low value for max_interrupt_work.
Grepping the kernel I see that forcedeth has the second
lowest value of all ethernet drivers (ie, 6). Most are
in the 20-40 range. So this patch increases this a bit,
from 6 to 15 (at 15 forcedeth becomes ...
| Aug 27, 7:21 am 2008 |
| Lennart Sorensen | Re: task blocked for more than 120 seconds - 2.6.26.1
My Q6600 amd64 mythtv box has been hanging for minutes at a time before
simply returning to normal quite a few times under 2.6.26, while 2.6.25
shows no issues at all. I have seen the same message as you about a
task being blocked or stuck as well when this happens.
I didn't want to complain about it since I run tainted with the nvidia
driver and without the nvidia driver I wouldn't be able to use it and
reproduce the problem, so I figured there was no point.
--
Len Sorensen
--
| Aug 27, 9:58 am 2008 |
| Jesper Krogh | task blocked for more than 120 seconds - 2.6.26.1
Hi.
I seem to be getting these more frequently on 2.6.26.1
16 core Sun X4600 amd64 with 60GB memory.
[75586.058734] INFO: task gvim:13618 blocked for more than 120 seconds.
[75586.058787] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[75586.058831] efam_xapianin D ffff81010721e280 0 13618 27917
[75586.058835] ffff8109384afd78 0000000000000086 ffff8109384afd40
ffffffff8044c886
[75586.058838] ffffffff8061e280 ffffffff8061e280 ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 58/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:50 am 2008 |
| David Howells | [PATCH 09/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 33/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| David Howells | [PATCH 52/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:50 am 2008 |
| David Howells | [PATCH 26/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| David Howells | [PATCH 21/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| OGAWA Hirofumi | Re: [PATCH 26/59] CRED: Wrap task credential accesses in ...
Thanks. Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
--
| Aug 27, 7:12 am 2008 |
| David Howells | [PATCH 16/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| David Howells | [PATCH 12/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | Re: [PATCH 01/59] CRED: Wrap task credential accesses in ...
Ummm... I'll check. I'm not sure exactly how Stephen wanted to play this.
David
--
| Aug 27, 8:24 am 2008 |
| David Howells | [PATCH 15/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 39/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| David Howells | Re: [PATCH 00/59] Introduce credentials
By credentials, I mean: UID, GID, EUID, EGID, SUID, SGID, FSUID, FSGID,
supplementary groups, LSM module context, all four capabilities masks, keyring
subscriptions.
We get a number of things:
(1) Multiple credential changes all happen simultaneously (setresuid() for
example). The new set of credentials is committed with a single RCU
assignment.
(2) Some simplification of capabilities handling functions.
(3) Because the credentials are detached, execve() credential ...
| Aug 27, 7:24 am 2008 |
| David Howells | [PATCH 53/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:50 am 2008 |
| David Howells | [PATCH 20/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| Alan Cox | Re: [PATCH 00/59] Introduce credentials
What do we get from copy-on-write credentials ? I've never seen
credentials of any kind showing in profiles so why do we need this ?
Alan
--
| Aug 27, 6:33 am 2008 |
| David Howells | [PATCH 45/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| David Howells | [PATCH 27/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| David Howells | [PATCH 46/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| David Howells | [PATCH 00/59] Introduce credentials
These patches build on patch 9e2b2dc4133f65272a6d3c5dcb2ce63f8a87cae9 (CRED:
Introduce credential access wrappers) to wrap most of the accesses to a task's
credentials, whether by the task itself or by another task.
Not all are wrapped: under certain circumstances it is preferable or necessary
to deal with some accesses in other ways. These will be dealt with by patches
that aren't in this set but are in linux-next.
The wrappings are there to make the implementation of copy-on-write ...
| Aug 27, 6:45 am 2008 |
| David Howells | [PATCH 34/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| David Howells | [PATCH 55/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:50 am 2008 |
| David Howells | [PATCH 51/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:50 am 2008 |
| David Howells | [PATCH 41/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| Artem Bityutskiy | Re: [PATCH 01/59] CRED: Wrap task credential accesses in ...
Fine with me. Do you want us to put this patch to ubifs-2.6.git or you
prefer to make it go together with the rest of the CRED patches?
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
| Aug 27, 7:55 am 2008 |
| David Howells | [PATCH 05/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 11/59] CRED: Wrap task credential accesses in vid ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 14/59] CRED: Wrap task credential accesses in 9P2 ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 48/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| David Howells | [PATCH 01/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:45 am 2008 |
| David Howells | [PATCH 47/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| David Howells | [PATCH 30/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| Jan Kara | Re: [PATCH 45/59] CRED: Wrap task credential accesses in ...
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
--
| Aug 27, 7:44 am 2008 |
| Kyle McMartin | Re: [PATCH 03/59] CRED: Wrap task credential accesses in ...
OK.
Feel free to push this with the rest of them, if you haven't already,
with my blessing.
r, Kyle
--
| Aug 27, 3:19 pm 2008 |
| David Howells | [PATCH 38/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| David Howells | [PATCH 19/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| David Howells | [PATCH 44/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| David Howells | [PATCH 36/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| David Howells | [PATCH 56/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:50 am 2008 |
| David Howells | [PATCH 57/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:50 am 2008 |
| David Howells | [PATCH 23/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| David Howells | [PATCH 02/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:45 am 2008 |
| Karsten Keil | Re: [PATCH 10/59] CRED: Wrap task credential accesses in ...
Acked
--
Karsten Keil
SuSE Labs
ISDN and VOIP development
SUSE LINUX Products GmbH, Maxfeldstr.5 90409 Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
| Aug 27, 10:51 am 2008 |
| David Howells | [PATCH 08/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 32/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| David Howells | [PATCH 10/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 43/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| David Howells | [PATCH 25/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| David Howells | [PATCH 03/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:45 am 2008 |
| David Howells | [PATCH 42/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| Alan Cox | Re: [PATCH 00/59] Introduce credentials
Sorry I was assuming this was performance driven in fact the reasons are
totally different.
--
| Aug 27, 9:39 am 2008 |
| David Howells | [PATCH 07/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 49/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| David Howells | [PATCH 22/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| David Howells | [PATCH 13/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 40/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:49 am 2008 |
| David Howells | [PATCH 29/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| David Howells | [PATCH 24/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| David Howells | [PATCH 18/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| Dave Kleikamp | Re: [PATCH 34/59] CRED: Wrap task credential accesses in ...
--
David Kleikamp
IBM Linux Technology Center
--
| Aug 27, 7:31 am 2008 |
| David Howells | [PATCH 28/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| David Howells | [PATCH 50/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:50 am 2008 |
| David Howells | [PATCH 04/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| David Howells | [PATCH 31/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| Stephen Rothwell | Re: [PATCH 01/59] CRED: Wrap task credential accesses in ...
Hi David, Artem,
On Wed, 27 Aug 2008 16:24:38 +0100 David Howells <dhowells@redhat.com> wrot=
s.
I am happy for these patches to go into both the subsystem and creds
trees (the mess - if any - will be on my head). I do expect this to
reduce conflicts in the longer term.
It is much better for that to happen than for a subsystem maintainer to
apply a slightly different fixup when I find a conflict. If there is not
conflict between the subsystem tree and the creds tree, then it ...
| Aug 27, 4:21 pm 2008 |
| David Howells | [PATCH 59/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:50 am 2008 |
| Benjamin Herrenschmidt | Aug 27, 4:45 pm 2008 | |
| David Howells | [PATCH 54/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:50 am 2008 |
| David Howells | [PATCH 35/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| David Howells | [PATCH 37/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:48 am 2008 |
| David Howells | [PATCH 17/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:47 am 2008 |
| Mark Fasheh | Re: [PATCH 38/59] CRED: Wrap task credential accesses in ...
Acked-by: Mark Fasheh <mfasheh@suse.com>
--
Mark Fasheh
--
| Aug 27, 4:04 pm 2008 |
| David Howells | [PATCH 06/59] CRED: Wrap task credential accesses in the ...
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.
Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: James Morris <jmorris@namei.org>
Acked-by: Serge ...
| Aug 27, 6:46 am 2008 |
| Oliver Neukum | Re: Driver needed/broken? "U.S. Robotics Sportster 33600 ...
/dev/modem is a symlink to be created by the management tool of your
distribution. The kernel is not involved.
As for lspci, it lists pci devices. Your modem is isa.
Everything seems the be as it should be from a kernel viewpoint.
Regards
Oliver
--
| Aug 27, 6:25 am 2008 |
| Ignacio Santolin | Driver needed/broken? "U.S. Robotics Sportster 33600 FAX ...
I Using an old modem (U.S. Robotics Sportster 33600 FAX/Voice Int)
***NOT WINMODEM***
Kernel succesfly detects the card (not as modem) and isnt creates the
/dev/modem (driver develop needed?), Just works sending commands to
/dev/ttyS1
NOTE: the modem is not present in any hardware manager or lspci
I TEST THE MODEM VIA THE WVDIALCONF AND THE MODEM ANSWER THE AT
COMMANDS BUT SENDING COMMANDS TO /dev/ttyS1 *not* to /dev/modem
DMESG OUTPUT (CARD ...
| Aug 27, 6:15 am 2008 |
| John Blackwood | Re: [PATCH] sched_rt_rq_enqueue() resched idle
> On Tue, 2008-08-26 at 15:09 -0400, John Blackwood wrote:
> > > Hi Peter,
> > >
> > > When sysctl_sched_rt_runtime is set to something other than -1
and the
> > > CONFIG_RT_GROUP_SCHED kernel parameter is NOT enabled, we get
into a state
> > > where we see one or more CPUs idling forvever even though there are
> > > real-time
> > > tasks in their rt runqueue that are able to run (no longer
throttled).
> > >
> > > The sequence is:
> > >
> > > - A real-time task is running ...
| Aug 27, 6:05 am 2008 |
| Peter Zijlstra | Re: [PATCH] sched_rt_rq_enqueue() resched idle
Ingo, please apply.
---
Subject: sched: sched_rt_rq_enqueue() resched idle
From: John Blackwood <john.blackwood@ccur.com>
Date: Tue, 26 Aug 2008 15:09:43 -0400
When sysctl_sched_rt_runtime is set to something other than -1 and the
CONFIG_RT_GROUP_SCHED kernel parameter is NOT enabled, we get into a state
where we see one or more CPUs idling forvever even though there are
real-time
tasks in their rt runqueue that are able to run (no longer throttled).
The sequence is:
- A real-time ...
| Aug 27, 6:19 am 2008 |
| David Miller | Re: [git patches] net driver fixes
From: Jeff Garzik <jeff@garzik.org>
Pulled, thanks a lot Jeff.
--
| Aug 27, 4:29 am 2008 |
| Jeff Garzik | [git patches] net driver fixes
Various fixes, except myri version bump and net/usb/mcs7830 (gets
networking for some users, with minimal code -- set_mac_addr)
Please pull from 'davem-fixes' branch of
master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git davem-fixes
to receive the following updates:
arch/powerpc/include/asm/cpm2.h | 5 ++
drivers/net/Kconfig | 6 +-
drivers/net/atl1e/atl1e_main.c | 3 +-
drivers/net/atlx/atl1.c | 1 -
drivers/net/e100.c ...
| Aug 27, 3:36 am 2008 |
| Hannes Reinecke | [PATCH] Disable partition scan
Hi all,
for some setups (eg dmraid or multipathing) the in-kernel partition scan
is pointless; the (block) partitions won't be used anywhere. Instead the
system will be using kpartx-generated device-mapper devices.
Worse, on some setups (RAID0 dmraid or active/passive multipath devices)
the in-kernel partition scan will generate plenty of I/O errors as the
partitions table might not be accessible or invalid for this device.
This patch implements a new kernel command-line option ...
| Aug 27, 3:31 am 2008 |
| Hannes Reinecke | Re: [PATCH] Disable partition scan
Hi all again,
Yeah, cool. One should take care not to mangle to patches.
Should teach me to use git properly. Oh well.
Corrected patch attached.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N
| Aug 27, 5:30 am 2008 |
| Bryan Wu | [PATCH 4/4] ALSA: add dummy function to support shared m ...
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/core/pcm_native.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
index c49b9d9..cb202a1 100644
--- a/sound/core/pcm_native.c
+++ b/sound/core/pcm_native.c
@@ -3391,6 +3391,12 @@ out:
}
#endif /* CONFIG_SND_SUPPORT_OLD_API */
+unsigned long ...
| Aug 27, 2:39 am 2008 |
| Mark Brown | Re: [PATCH 1/4] ASOC: Blackfin driver for ALSA SoC framework
As with the other patches in the series this looks good but it has been
affected by changes in the ASoC APIs and needs to be updated to reflect
current ALSA. The topic/asoc branch of Takashi's tree:
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
is what's currently queued for 2.6.28.
Other than that, checkpatch-style things and a few more minor issues the
main things are the register write interface in /proc and the hardware
parameters for the I2S driver. I've not ...
| Aug 27, 6:48 am 2008 |
| Mark Brown | Re: [alsa-devel] [PATCH 2/4] ASOC codec: add support for ...
On Wed, Aug 27, 2008 at 05:39:26PM +0800, Bryan Wu wrote:
This looks basically good, thanks - I've picked up a few things below
but they are mostly either minor or reflect the fact that the patch
looks like it's been developed against current release kernels but
Current kernels have a Kconfig option SND_SOC_ALL_CODECS which should
have your codec added - this allows codec drivers to be built without
Please convert these to use the standard pr_ macros (or ideally the dev_
Please keep the ...
| Aug 27, 3:54 am 2008 |
| Bryan Wu | [PATCH 1/4] ASOC: Blackfin driver for ALSA SoC framework
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/Kconfig | 1 +
sound/soc/Makefile | 2 +-
sound/soc/blackfin/Kconfig | 85 +++
sound/soc/blackfin/Makefile | 20 +
sound/soc/blackfin/bf5xx-ac97-pcm.c | 424 +++++++++++++++
sound/soc/blackfin/bf5xx-ac97-pcm.h | 29 +
sound/soc/blackfin/bf5xx-ac97.c | 417 ++++++++++++++
...
| Aug 27, 2:39 am 2008 |
| Bryan Wu | [PATCH 0/4] Blackfin supports for ALSA/ASOC
Hi folks,
It's very happy to release this ASOC Blackfin ports. Please review our drivers
and feel free to ask us update it.
In this patchset, we post ASOC Blackfin supports, SSM2602 audio codec driver
and other 2 ALSA/ASOC patches.
Thanks a lot
-Bryan
--
| Aug 27, 2:39 am 2008 |
| Bryan Wu | [PATCH 3/4] ASOC: WM8731 codec: add SPI support as well as I2C
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
sound/soc/codecs/Kconfig | 5 +++
sound/soc/codecs/wm8731.c | 71 +++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 73 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 67ed3f2..21bb277 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -21,6 +21,11 @@ config ...
| Aug 27, 2:39 am 2008 |
| Bryan Wu | [PATCH 2/4] ASOC codec: add support for SSM2602 audio co ...
From: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
include/linux/i2c-id.h | 1 +
sound/soc/codecs/Kconfig | 3 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/ssm2602.c | 837 ++++++++++++++++++++++++++++++++++++++++++++
sound/soc/codecs/ssm2602.h | 132 +++++++
5 files changed, 975 insertions(+), 0 deletions(-)
create mode 100644 sound/soc/codecs/ssm2602.c
create mode 100644 ...
| Aug 27, 2:39 am 2008 |
| Mark Brown | Re: [alsa-devel] [PATCH 3/4] ASOC: WM8731 codec: add SPI ...
On Wed, Aug 27, 2008 at 05:39:27PM +0800, Bryan Wu wrote:
...as for the SSM2602 it'd be good if it were possible to build a kernel
which supports both I2C and SPI. If you like I could do this for you -
there's likely to be merge issues due to the update to the new I2C API
anyway?
--
| Aug 27, 4:01 am 2008 |
| Markku Savela | Frustrated with capabilities..
I just want to run an exectable with limited capabilities and assumed
the following approach would work fine:
1) fork process
2) in child
2.1 set current capabilities (eip) using cap_set_proc
2.2 execve the executable.
But it frigging does not work! Just before the execve, the result of
cap_to_text is
= cap_net_bind_service+eip
but, in the execve executable, the result is suddenly
= cap_net_bind_service+i
Why does the execve clear the effective and permitted ...
| Aug 27, 2:31 am 2008 |
| Pascal Terjan | r8169 regression in 2.6.26.3 vs 2.6.26.2
Since updating to 2.6.26.3, networking no longer works on Acer Aspire
One.
PCI config is now always filled with ones.
Reverting "r8169: avoid thrashing PCI conf space above
RTL_GIGA_MAC_VER_06" makes it work again.
The device is 10ec:8136
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E
PCI Express Fast Ethernet controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 015b
Flags: bus master, fast devsel, latency 0, IRQ 17
I/O ports at 3000 ...
| Aug 27, 2:20 am 2008 |
| Pascal Terjan | Re: r8169 regression in 2.6.26.3 vs 2.6.26.2
eth0: RTL8169 at 0xe04ee000, 00:1e:68:a0:07:b5, XID 24a00000 IRQ 17
--
| Aug 27, 3:40 am 2008 |
| Pascal Terjan | Re: r8169 regression in 2.6.26.3 vs 2.6.26.2
Yes I took some time to look at it and now does not understand what's
wrong.
Indeed I get "unknown MAC (27a00600)" so I get RTL_GIGA_MAC_VER_01 which
is <= RTL_GIGA_MAC_VER_06, so it should work fine with or without this
patch. And indeed it seems to work when I rebuild the module, even when
I do not revert the patch.
And by the way, unrelated to this problem, it is written twice for
RTL_GIGA_MAC_VER_02:
=====
if (tp->mac_version <= RTL_GIGA_MAC_VER_06) {
...
| Aug 27, 1:44 pm 2008 |
| Marcus Sundberg | Re: r8169 regression in 2.6.26.3 vs 2.6.26.2
Ok, that's obviously not good. I checked the Realtek driver for
8101E (version r8101-1.009.00) and while it doesn't do any
8-bit writes to register 0x82 it does perform 32-bit writes to
register 0x80 (EPHYAR) to communicate with the PHY. I have no
idea what that 8-bit write does except it breaks the chipset in
my LG P300...
How does the kernel identify your chipset upon driver load?
(grep for XID)
//Marcus
--
---------------------------------------+--------------------------
Marcus ...
| Aug 27, 3:38 am 2008 |
| Francois Romieu | Re: r8169 regression in 2.6.26.3 vs 2.6.26.2
As far as I can read rtl8169_get_mac_version, this XID should not match
any known device with 2.6.26.3 and thus fallback to RTL_GIGA_MAC_VER_01
(assuming that rtl8169_init_phy runs after rtl8169_get_mac_version, what
it appears to do so far).
Yes / no / -ECOFFEE ?
On a different topic, I would suggest to try patches #0001 ... #0006
at http://userweb.kernel.org/~romieu/r8169/2.6.27-rc3/20080818/ with
your chipset.
--
Ueimor
--
| Aug 27, 1:11 pm 2008 |
| JosephChan | [PATCH 1/1] MAINTAINERS:
Add maintainers for VIA UniChrome(Pro)/Chrome9 Framebuffer driver
Signed-off-by: Joseph Chan <josephchan@via.com.tw>
Signed-off-by: Scott Fang <ScottFang@viatech.com.cn>
--- a/MAINTAINERS 2008-08-27 16:41:42.000000000 +0800
+++ b/MAINTAINERS 2008-08-27 16:56:36.000000000 +0800
@@ -4441,6 +4441,14 @@
L: i2c@lm-sensors.org
S: Maintained
+VIA UNICHROME(PRO)/CHROME9 FRAMEBUFFER DRIVER
+P: Joseph Chan
+M: JosephChan@via.com.tw
+P: Scott ...
| Aug 27, 2:23 am 2008 |
| Bartlomiej Zolnierki ... | Re: linux-next: Tree for August 27
On Wed, Aug 27, 2008 at 12:06 PM, Bartlomiej Zolnierkiewicz
which is most likely already fixed in x86 tree by
http://lkml.org/lkml/2008/8/27/34
--
| Aug 27, 7:57 am 2008 |
| Bartlomiej Zolnierki ... | Re: linux-next: Tree for August 27
Confirmed.
However now I'm getting device-mapper errors on 'cryptsetup create':
dmesg:
...
device-mapper: core: bdget failed in dm_suspend
device-mapper: ioctl: device doesn't appear to be in the dev hash table.
...
cryptsetup:
...
Command failed: device-mapper: resume ioctl failed: Invalid argument
...
next-20080826 is fine
BTW it also seems that certain people need some encouragement
to fix the nasty warning first reported by Randy two weeks ...
| Aug 27, 12:45 pm 2008 |
| Bartlomiej Zolnierki ... | Re: linux-next: Tree for August 27
Hi,
it fails to build here with:
arch/x86/kernel/cpu/addon_cpuid_features.c: In function ‘detect_extended_topology’:
arch/x86/kernel/cpu/addon_cpuid_features.c:119: error: ‘struct cpuinfo_x86’ hasno member named ‘cpu_core_id’
arch/x86/kernel/cpu/addon_cpuid_features.c:121: error: ‘struct cpuinfo_x86’ hasno member named ‘phys_proc_id’
arch/x86/kernel/cpu/addon_cpuid_features.c:130: error: ‘struct cpuinfo_x86’ hasno member named ‘phys_proc_id’
arch/x86/kernel/cpu/addon_cpuid_features.c:133: ...
| Aug 27, 3:06 am 2008 |
| Stephen Rothwell | linux-next: Tree for August 27
Hi all,
Changes since next-20080826:
Linus' tree lost its build fix patch.
The arm tree lost its conflict.
The ide tree lost if build fix patch.
The kvm tree lost a conflict.
The rr tree gained a build fix patch.
The block tree gained a conflict against each of the test and ide trees.
The creds tree gained a conflict against Linus' tree.
The sparseirq tree losta its build fix patch.
I have also applied the following patches for known problems:
ftrace: protect the ...
| Aug 27, 1:34 am 2008 |
| Tejun Heo | Re: [PATCH RESEND] sound: make OSS sound core optional
Ah.. okay, dmasound also requires SOUND_OSS_CORE but not in
That would pull in sound_firmware. Most likely no big deal but
still... How about just adding select SOUND_OSS_CORE to DMASOUND for
now?
Thanks.
Subject: [PATCH] sound: make OSS sound core optional
sound/sound_core.c implements soundcore.ko and contains two parts -
sound_class which is shared by both ALSA and OSS and device
redirection support for OSS. It's always compiled when any sound
support is enabled although it's ...
| Aug 27, 2:57 am 2008 |
| Tejun Heo | Re: [PATCH RESEND] sound: make OSS sound core optional
Hello,
SOUND_OSS_CORE should be turned on if ALSA OSS emul is turned on or
arch-um hostsound is turned on, both of which can be enabled regardless
Ah.. right. Moving.
Thanks.
--
tejun
--
| Aug 27, 2:37 am 2008 |
| Tejun Heo | [PATCH RESEND] sound: make OSS sound core optional
sound/sound_core.c implements soundcore.ko contains two parts -
sound_class which is shared by both ALSA and OSS and device
redirection support for OSS. It's always compiled when any sound
support is enabled although it's necessary only when OSS (the actual
one or emulation) is enabled. This is slightly wasteful and as device
redirection always registers character device region for major 14, it
prevents alternative implementation.
This patch introduces a new config SOUND_OSS_CORE which is ...
| Aug 27, 1:19 am 2008 |
| Takashi Iwai | Re: [PATCH RESEND] sound: make OSS sound core optional
At Wed, 27 Aug 2008 11:37:44 +0200,
Yes, sorry, I didn't cite clearly. I meant only the last line.
sound/oss/dmasound/Kconfig is included and evaluated outside the block
"if SOUND_PRIME". Thus, CONFIG_SOUND_OSS_CORE won't be enabled for
drivers in sound/oss/dmasound.
My suggestion is to move that line source sound/oss/dmasound/Kconfig
into the "if SOUND_PRIME" block first, then apply your patch.
Anyway, there are some other minor issues in sound/Kconfig, for
example, why "if !M68K" is ...
| Aug 27, 2:45 am 2008 |
| Takashi Iwai | Re: [PATCH RESEND] sound: make OSS sound core optional
At Wed, 27 Aug 2008 11:57:06 +0200,
Ouch, another pain.
sound_firmware.c should be removed and the relevant code should use
Looks good to me.
Acked-by: Takashi Iwai <tiwai@suse.de>
If no objection comes up, I'll merge it to sound tree later.
thanks,
--
| Aug 27, 3:04 am 2008 |
| Takashi Iwai | Re: [PATCH RESEND] sound: make OSS sound core optional
At Wed, 27 Aug 2008 10:19:35 +0200,
This seems missing from the scope.
This alias should be in #ifdef CONFIG_SOUND_OSS_CORE.
The module doesn't provide that major without CONFIG_SOUND_OSS_CORE.
Takashi
--
| Aug 27, 2:09 am 2008 |
| Jeff Kirsher | [NET-NEXT PATCH] e1000: remove unused Kconfig option for ...
From: Jesse Brandeburg <jesse.brandeburg@intel.com>
Since the e1000/e1000e split, no hardware supported by e1000
supports packet split, just remove the Kconfig option and associated
code from arch/* and the driver.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
---
arch/arm/configs/iop13xx_defconfig | 1
arch/arm/configs/iop32x_defconfig | 1
arch/arm/configs/iop33x_defconfig ...
| Aug 27, 1:19 am 2008 |
| Tejun Heo | sound: make OSS sound core optional
sound/sound_core.c implements soundcore.ko contains two parts -
sound_class which is shared by both ALSA and OSS and device
redirection support for OSS. It's always compiled when any sound
support is enabled although it's necessary only when OSS (the actual
one or emulation) is enabled. This is slightly wasteful and as device
redirection always registers character device region for major 14, it
prevents alternative implementation.
This patch introduces a new config SOUND_OSS_CORE which is ...
| Aug 27, 1:18 am 2008 |
| Jeff Kirsher | [PATCH] e1000: fix stack size
From: Linus Torvalds <torvalds@linux-foundation.org>
Here's the patch. It shrinks the stack from 1152 bytes to 192 bytes (the
first version, that only did the e1000_option part, got it down to 600
bytes). About half comes from not using multiple "e1000_option"
structures, the other half comes from turning the "e1000_opt_list[]"
arrays into "static const" instead, so that gcc doesn't copy them onto the
stack.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Reveiewed-by: Auke Kok ...
| Aug 27, 1:14 am 2008 |
| Jens Axboe | [GIT PULL] block bits for 2.6.27
Hi Linus,
Lets try this again. I pulled out the b0rken xen patch and the scsi
command table addition, since the latter can easily wait for 2.6.28 (and
in 2.6.27, users can just change the table after boot).
So please pull the revised collection from the below git url, thanks!
git://git.kernel.dk/linux-2.6-block.git for-linus
Adel Gadllah (1):
block: clean up cmdfilter sysfs interface
FUJITA Tomonori (5):
block: move cmdfilter from gendisk to request_queue
sg: ...
| Aug 27, 12:52 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: printk_time to use tsc before cpu_clock ...
that's OK - that still allows arches to start their clocks whenever they
want to. But also add the possibility for architectures to initialize
things even sooner.
Ingo
--
| Aug 27, 1:02 am 2008 |
| Peter Zijlstra | Re: [PATCH] x86: printk_time to use tsc before cpu_clock ...
which will make some archs quite unhappy iirc, see those arm and ia64
bugs I caused the other day.
--
| Aug 27, 12:47 am 2008 |
| Yinghai Lu | [PATCH] x86: printk_time to use tsc before cpu_clock is ready
so can get tsc value on printk at first.
for debug delay with big system with a lot of memory.
need to apply after
[PATCH] printk_time: prepare stub for using other than cpu_clock
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/cpu/common.c | 11 +++++++++++
arch/x86/kernel/cpu/common_64.c | 12 ++++++++++++
2 files changed, 23 insertions(+)
Index: ...
| Aug 27, 12:38 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: printk_time to use tsc before cpu_clock ...
hm, i'm not sure i like the whole direction - this reintroduces
printk_clock in essence.
how about initializing cpu_clock() sooner, so that printk timestamps
start ticking as soon as possible?
Ingo
--
| Aug 27, 12:42 am 2008 |
| Yinghai Lu | [PATCH] printk_time: prepare stub for using other than c ...
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
include/linux/kernel.h | 5 +++++
init/main.c | 1 +
kernel/printk.c | 14 +++++++++++++-
3 files changed, 19 insertions(+), 1 deletion(-)
Index: linux-2.6/include/linux/kernel.h
===================================================================
--- linux-2.6.orig/include/linux/kernel.h
+++ linux-2.6/include/linux/kernel.h
@@ -190,7 +190,10 @@ extern int kernel_text_address(unsigned
struct pid;
extern ...
| Aug 27, 12:38 am 2008 |
| Yinghai Lu | Re: RFC [PATCH] x86/pci: reserve extra page to avoid err ...
On Wed, Aug 27, 2008 at 12:40 AM, Benjamin Herrenschmidt
i should split it into two patches. that patch include two patch
second part is doing map to scratch memory.
but memory near TOP of MEMORY and TOP of MEMORY2, could have the same problem.
YH
--
| Aug 27, 12:45 am 2008 |
| Yinghai Lu | RFC [PATCH] x86/pci: reserve extra page to avoid error c ...
Diag guys, found one system when loading is high, will have gart wark error.
root cause is P2P bridge try to prefetch for several intel e1000 under
it. and that skb is near GART iommu area.
try to reserve page in the boundary at first.
last page near TOM2, and last page near MMIO
also gart first and last page.
need one better way for all arch support PCI and memory with a lot of holes etc.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Pavel Machek <pavel@suse.cz>
Cc: Benjamin ...
| Aug 27, 12:29 am 2008 |
| Ingo Molnar | Re: RFC [PATCH] x86/pci: reserve extra page to avoid err ...
Nice! Could this be the root cause of those skb corruptions and e1000
crashes you've been reporting? So the _usual_ setup accidentally
protects us from these prefetch induced failures.
I think your patch is fine for the iommu bits, but the
reserve_last_page() thing should be done in a cleaner way. Cannot we
just reserve it all at the e820 stage, before passing that RAM to the
bootmem allocator?
Also, what is the guarantee that 4K of a space is enough to stop all
prefetching across ...
| Aug 27, 12:37 am 2008 |
| Benjamin Herrenschmidt | Re: RFC [PATCH] x86/pci: reserve extra page to avoid err ...
Sounds like a similar problem for which we don't unmap GART pages,
just map them read-only and route them to a dummy page. In that
case, the right approach is to write the last page of the GART
to the dummy page as well and mark it occupied. That shouldn't
involve actually reserving memory.
I'm not familiar with the x86 PCI DMA code but afaik, it's fairly
similar to ours (powerpc) in that area.
--
| Aug 27, 12:40 am 2008 |
| Ingo Molnar | Re: [PATCH] lockdep: fix invalid list_del_rcu in zap_class
good spotting! Applied to tip/core/urgent, thanks.
Ingo
--
| Aug 26, 11:41 pm 2008 |
| Zhu Yi | [PATCH] lockdep: fix invalid list_del_rcu in zap_class
The problem is found during iwlagn driver testing on
v2.6.27-rc4-176-gb8e6c91 kernel, but it turns out to be a lockdep bug.
In our testing, we frequently load and unload the iwlagn driver
(>50 times). Then the MAX_STACK_TRACE_ENTRIES is reached (expected
behaviour?). The error message with the call trace is as below.
BUG: MAX_STACK_TRACE_ENTRIES too low!
turning off the locking correctness validator.
Pid: 4895, comm: iwlagn Not tainted 2.6.27-rc4 #13
Call Trace:
[<ffffffff81014aa1>] ...
| Aug 26, 11:33 pm 2008 |
| Artem Bityutskiy | Re: [PATCH 2/2] Add support for > 2GiB MTD devices
Hi Bruce,
I do not think it is a good idea to do multiplication every time we need
MTD device size. It is unnecessarily large overhead in terms of speed
and code size.
Did you consider a possibility of just making mtd->size 64 bit?
Or using eraseblock:offset pairs instead of absolute address?
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
--
| Aug 26, 10:40 pm 2008 |
| Carl-Daniel Hailfinger | Re: [PATCH 2/2] Add support for > 2GiB MTD devices
IIRC I saw a datasheet for such a chip (selectable erasesize with
non-power-of-2 default) some weeks ago and it had entered production a
few months ago. The erasesize was alwas a multiple of 16, though. Sorry
for not remembering more details.
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
--
| Aug 27, 2:52 pm 2008 |
| Trent Piepho | Re: [PATCH 2/2] Add support for > 2GiB MTD devices
It seems like the device size is always going to have some zeros in the least
significant bits. Maybe a 32-bit size plus a shift is enough? That could be
a lot more efficient than a 64-bit size and avoid penalizing most users who
don't need >32-bit size chips.
--
| Aug 27, 3:32 pm 2008 |
| Bruce Leonard | Re: [PATCH 2/2] Add support for > 2GiB MTD devices
I did consider making size 64-bit, but it seemed less intrusive to go
the direction I did. I wanted to change as little code as possible
but at the same time make it obvious there was a fundamental change.
There's also a desire to move more in the direction of a BIO-like
aspect to the MTD layer and some of the suggestions I got early made
I didn't really see how I could convey the idea of size using
eraseblock:offset.
Bruce
--
| Aug 27, 12:15 am 2008 |
| Bruce_Leonard | Re: [PATCH 2/2] Add support for > 2GiB MTD devices
I'm still reluctant to change size to a 64-bit value. There's a vague
recolection of early conversations on the list that there would be little
acceptance for that. And that probably has to do with the ongoing
conversation about ABI changes. What I could do to eliminate the
multiplication is introduce the same concept that the NAND layer uses,
shift values. After all, erasesize should always be a power of 2, making
that a power of 2 multiplication which can be done via shifts. By ...
| Aug 27, 11:18 am 2008 |
| Jamie Lokier | Re: [PATCH 2/2] Add support for > 2GiB MTD devices
Are you sure it's always going to be a power of 2?
What if someone targets a board with 3 chips wired to shared address
and parallel data buses?
Or if someone makes a weird chip? Or if you can format it in
different ways according to desired ECC level (like you can with CDs)?
If there's ongoing conversation about ABI changes, it sounds like it
would be good for this change to be done together that, instead of
doing this change then changing the ABI _again_ shortly after and
having to ...
| Aug 27, 11:51 am 2008 |
| Bruce Leonard | Re: [PATCH 1/2] Clean up of code found when adding suppo ...
Artem,
This patch set is against the mainline, 2.6.27-rc3. At the time I
posted the patch I was only a day or two out from pulling the latest
from Linus' tree. It's now a couple of weeks out of date I think.
Bruce
--
| Aug 27, 12:39 am 2008 |
| Artem Bityutskiy | Re: [PATCH 1/2] Clean up of code found when adding suppo ...
Hi,
For this clean-up patch,
Acked-by: Artem Bityutskiy <dedekind@infradead.org>
However, are you shure it is against the mtd-2.6.git tree?
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
--
| Aug 26, 10:29 pm 2008 |
| Bryan Wu | [PATCH 1/1] libata: Blackfin Pata Driver: Add proper PM ...
From: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
drivers/ata/pata_bf54x.c | 29 ++++++++++++++++++++++++-----
1 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/drivers/ata/pata_bf54x.c b/drivers/ata/pata_bf54x.c
index d393290..60f4872 100644
--- a/drivers/ata/pata_bf54x.c
+++ b/drivers/ata/pata_bf54x.c
@@ -1632,6 +1632,8 @@ static int __devinit bfin_atapi_probe(struct ...
| Aug 26, 8:51 pm 2008 |
| Bryan Wu | [PATCH 1/1] netdev: Blackfin EMAC Driver: the BF526 also ...
From: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---
drivers/net/Kconfig | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index a5c141c..4a11296 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -822,14 +822,14 @@ config ULTRA32
will be called smc-ultra32.
config BFIN_MAC
- tristate "Blackfin 527/536/537 ...
| Aug 26, 8:47 pm 2008 |
| Jeff Garzik | Aug 27, 2:18 am 2008 | |
| David Miller | Re: pull request: wireless-2.6 2008-08-26
From: "Tomas Winkler" <tomasw@gmail.com>
Stop right there.
You don't see it as a problem because you're not the one who has to
explain all of this shit to Linus and ends up getting flamed by him
when inappropriate changes are in my tree outside of the merge window.
Think for just one second about the people who are upstream from you
who have to deal with all of these issues, and not some selfish aspect
such as what is convenient and nice for you and your driver, and what
other people "got ...
| Aug 27, 1:40 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
On Wed, Aug 27, 2008 at 2:10 PM, Marcel Holtmann
I just repeat myself again, for the current series except the scanning
cleaning patches these patches
are must. This particular patch is there just because the hidden AP
connectivity fixes were stacked above it.
There is a central problem here, since I cannot really adjust driver
development progress from obvious reason with Linux merging window.
Upstream kernel is unfortunately not the only customer I report to. So
actually stable versions ...
| Aug 27, 3:05 am 2008 |
| David Miller | Re: pull request: wireless-2.6 2008-08-26
From: "John W. Linville" <linville@tuxdriver.com>
I've pulled the no-iwlwifi branch, thanks John.
--
| Aug 27, 4:39 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
What is happening that IBSS station should adopt TSF of the oldest
station i.e. with highest
TSF. This is also leader of the IBSS (this is not spec definition just
local jargon) Adaptation
mean we adjust to the same clock
if (beacon_timestamp > rx_timestamp)
merge
beacon_timestamp (what STA advertise in the beacon ) is bigger then
time reception of the beacon according our local TSF. If this is true
then there is merging
meaing we call reset_tsf, remove all the stations form the ...
| Aug 27, 4:11 pm 2008 |
| Arjan van de Ven | Re: pull request: wireless-2.6 2008-08-26
On Wed, 27 Aug 2008 13:05:23 +0300
yes it is. You really don't have any other customers of this driver...
kernel.org kernel is *it*.
(if you're talking about backporting this to distros.. that's the
distros problem ;-)
--
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
| Aug 27, 6:57 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
I don't think I contaminate upstream I'm just trying to fix bugs so
I'm not sure why you are so militant, you cut out form my email sentences
like 'Yes' and 'Understood'
Is this personal ?
Tomas
--
| Aug 27, 4:42 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
This patch is correct yet it suppresses an important warning, meaning
that you have constant IBSS reconnection, remove all connected station
and adding them again, This greatly degraded performance. This is
caused by inability to adjust to TSF of the IBSS leader
<snipt>
static int ieee80211_sta_join_ibss(struct net_device *dev,
struct ieee80211_if_sta *ifsta,
struct ieee80211_sta_bss *bss)
.....
/* Remove possible STA entries from other IBSS networks. ...
| Aug 27, 12:26 pm 2008 |
| David Miller | Re: pull request: wireless-2.6 2008-08-26
From: Johannes Berg <johannes@sipsolutions.net>
Absolutely.
--
| Aug 27, 3:33 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
On Wed, Aug 27, 2008 at 1:10 PM, Johannes Berg
We put big pile once the driver was functional and nobody expected it
to be merged into stable kernel from that point
we post everything that is mergable. The patches are sent out each
Friday after they got through internal review there is nothing, there
is nothing magical about it.
Unfortunately fixing bugs on stable branch take precedence of
adjusting to new API on development branch that someone decided to do.
I wanted to work directly on ...
| Aug 27, 4:34 am 2008 |
| Marcel Holtmann | Re: pull request: wireless-2.6 2008-08-26
I did a quick review of the offending patch queue. And some of them
should go in since they are fixing real bugs (as far as I can tell from
a quick review). Others have to clearly wait for the next merge window.
Thomas, please go through the list of patches and pick the real bug
fixes. The cleanup patches can't go in since they are after the merge
window. And being one of the offenders why Dave got flamed by Linus,
there is no way to get these through. And my big offender was a
regression ...
| Aug 27, 4:10 am 2008 |
| Johannes Berg | Re: pull request: wireless-2.6 2008-08-26
FWIW, many people including myself think you should work the other way
around, that is develop things in the mainline/wireless-testing tree
rather than developing a stable version internally and then dumping a
big pile of patches whenever it's convenient for you. IOW, we think you
should use Linux upstream as your development tree and then branch off
of that for the internal stabilisation trees you need for other
customers, rather than having some sort of internal development tree and
branching ...
| Aug 27, 3:10 am 2008 |
| Michael Buesch | Re: pull request: wireless-2.6 2008-08-26
I think it would be an advantage for you to develop in wireless-testing
and use wireless-2.6 and probably additionally some internal trees as
stable trees. Like everybody else does it.
The advantage is simple: You get more people testing your code.
--
| Aug 27, 6:10 am 2008 |
| John W. Linville | pull request: wireless-2.6 2008-08-26
Dave,
Here is the latest round of fixes intended for 2.6.27. I think
the non-iwlwifi ones are pretty solid. As for the iwlwifi ones,
the Intel guys assure me that these are important changes.
You will notice that (despite my exhortations) no less than two of
the iwlwifi patches declare themselves as cleanups. I have included
them anyway because the later fixes depend on them and they seemed
harmless enough. Plus, they were posted (or at least written) before
the recent fireworks about ...
| Aug 26, 6:30 pm 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
Don't get excited, this was a cynical remarks rather then anything
else. I understand all the aspects of this. Upstream problems are not
bigger then down here, Without offense you also see your world from
your selfish perspective.
Tomas
--
| Aug 27, 2:13 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
First of all, mac patches are send immediately to wireless-dev for
review just because we don't want to break anyone works (just look at
the archives). iwlwifi patches are sent first to internal mailing
list for review and internal testing because nobody is really
reviewing these patches in wireless-dev and this is common practices
(see latest orinoco 19 patches dump) Internal mailing list is
really the only place I'm getting any feedback on iwlwifi code, they
are few exception of ...
| Aug 27, 8:45 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
On Wed, Aug 27, 2008 at 4:30 AM, John W. Linville
PCI cleanup patch is badly named. It fixes PCI registers sizes and ads
one forgotten hw workaround
I called it cleanup because it went through all PCI accesses we have
in the driver.
Scan cleanup was requested because of dependencies but it's harmless,
we can rebase the patches
prefer not it's just waste of time. Afther massive ath9k merge I
didn't see it was a conceptual problem.
Thanks
Tomas
--
| Aug 27, 12:38 am 2008 |
| Michael Buesch | Re: pull request: wireless-2.6 2008-08-26
The problem is that these patches are posted in huge batches.
There are three problems (probably more) with that:
1) "Oh, one of these 15 patches recently merged broke my hw"
instead of
"This patch XXX recently merged broke my hw"
2) It's a _lot_ harder to review. I do not have the time to review
a lot of patches at once. I bet other people won't either.
3) If somebody has any objections against one patch, you'll probably
have to rebase them all (See recent pull request vs ...
| Aug 27, 8:22 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
I'm not sure what you are taking about, we did post patches to
wireless-testing, the driver for 5000 HW is working in 2.6.27-rc4 I
personally use it every day. I'm sending bug fixes, like this seris
of patches is direct answer to bugs that were discovered very
We fixed bugs in wireless-testing/mac80211 that were there for months
just because we are only one that do any comprehensive validation. I
don't want insult anyone and I really exaggeration here but
sometimes I have feeling that more ...
| Aug 27, 7:55 am 2008 |
| David Miller | Re: pull request: wireless-2.6 2008-08-26
From: "Tomas Winkler" <tomasw@gmail.com>
Indeed, that's exactly what your core problem is.
You think it's OK to contaminate upstream just because of the
way you have choosen to maintain your driver.
Well guess what, it's not OK to do that, and it's absolutely not our
problem that you choose to do your development in the most anti-social
way possible wrt. upstream.
Anyways, keep defending yourself.
If you persist, I can certainly make things _really_ easy, such that
if there isn't a ...
| Aug 27, 3:32 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
I never worked that way I've published immediately what I had. I don't
know where did you get this impression
If I didn't publish something it's just too reasons.
The code was made dirty and I didn't like design myself (for example
our 11h implementation), even though it's publicly available.
or just simply didn't have time because I have to satisfy first thous
who pays my check ( everybody to feed their children after all:) )
(e.g. rfkill fixes)
Almost every driver has it's own development ...
| Aug 27, 5:26 am 2008 |
| Luis R. Rodriguez | Re: pull request: wireless-2.6 2008-08-26
Disagreed! If there is hardware which is not capable of handling this
we should simply have a HW flag which specifies this to handle this as a
work around (WA). Just because some cards are not capable it doesn't
Absolutely not! IBSS merge is per spec, otherwise you don't really have
a real IBSS.
Luis
--
| Aug 27, 4:31 pm 2008 |
| David Miller | Re: pull request: wireless-2.6 2008-08-26
From: "Tomas Winkler" <tomasw@gmail.com>
But think about this from the other perspective.
When you queue up tons of things, especially in infrastructure level
code such as mac80211, and on top of it you do your work on the stable
branch and do not do you work against the development tree, guess what
happens?
You show up with accumulated piles of non-trivial patches for people
to review. And then you'll get upset when they suggest that things be
implemented differently.
It's all because ...
| Aug 27, 4:45 am 2008 |
| Michael Buesch | Re: pull request: wireless-2.6 2008-08-26
I fail to see how the TSF could be related to an ever reconnecting
station. Can you elaborate on what happens?
I was under the impression that the firmware would handle TSF stuff.
Also the "IBSS leader" is a new thing to me. I remember from the specs
that the device should accept the TSF from _any_ beacon. Not just a
"leader". Am I mislead? :)
I also fail to see how we could _ever_ set the TSF to something remotely
I cannot find this patch in wireless-testing and I don't
have a copy of ...
| Aug 27, 1:25 pm 2008 |
| jassi brar | Re: An idea .... with code
Hi Andi,
Before starting i would like to point out the 'philosophy' behind the idea.
Exceptions(special cases) make for entropy and hence complexity. Generalization keeps uniformity and hences Order and Ease.
We can't escape 'entropy' when emulating something that it is actually not, nevertheless we can minimize it by introducing as least and as localized changes as possible.
My idea congregates only determining changes at the lowest level(driver), unlike the respectable LOOP driver which ...
| Aug 26, 7:27 pm 2008 |
| Jiri Kosina | Re: [PATCH] Fix grammo in HID_COMPAT Kconfig help text
Applied on top of hidbus patches, thanks Alex.
--
Jiri Kosina
SUSE Labs
--
| Aug 27, 3:48 am 2008 |
| Alex Chiang | [PATCH] Fix grammo in HID_COMPAT Kconfig help text
The Kconfig option for HID_COMPAT should read "lose", not "loose".
Signed-off-by: Alex Chiang <achiang@hp.com>
---
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 4319af3..46337a2 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -78,7 +78,7 @@ config HID_COMPAT
support of module loading through aliases and also old
module-init-tools which can't handle hid bus, choose Y here. Otherwise
say N. If you say N and your userspace is old enough, the ...
| Aug 26, 6:31 pm 2008 |
| Francois Romieu | Re: [2.6.27-rc2.git1] (Fedora snapshot) Realtek gigE net ...
Shawn Starr <shawn.starr@rogers.com> :
Please try the patch attached to:
http://bugzilla.kernel.org/show_bug.cgi?id=10180
As a side request, I will welcome the output of an 'mii-tool -vv' (for a
completely different purpose).
--
Ueimor
--
| Aug 26, 11:46 pm 2008 |
| Shawn Starr | [2.6.27-rc2.git1] (Fedora snapshot) Realtek gigE network ...
This may or may not be due to a Fedora patch.
Motherboard: ASRock 4Core1600Twins-P35
Ifconfig:
eth0 Link encap:Ethernet HWaddr 00:19:66:XX:XX:XX
inet addr:192.168.XX.XX Bcast:192.168.XX.XX Mask:255.255.255.0
inet6 addr: fe80::219:66ff:fe64:1c68/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:609519 errors:0 dropped:424695074957 overruns:0 frame:0
TX packets:307400 errors:0 dropped:0 ...
| Aug 26, 5:59 pm 2008 |
| jassi brar | Re: An idea .... with code
Thanks for the feedback. I admit the code is not near perfection, but then
It should work with LUKS, as it transparently emulates a file as a block device.
Please suggest a test case(webpage?) to verify it against LUKS, as i don't know much about it.
As i said the code was just as a proof of concept hastily put together. I heard Linux folks hate Ideas without code :)
Btw, i personally believe not everyone with an idea could code well and not every good programmer is as well creative.
...
| Aug 26, 5:44 pm 2008 |
| Andrew Morton | Re: [RFC PATCH -v2] percpu_counters: make fbc->count rea ...
On Mon, 25 Aug 2008 16:50:28 +0530
The linux-ext4 list is not an appropriate place for discussing a
The problem of atomically handling 64-bit quantities on 32-bit machines
is by no means unique to percpu_counters. We sorta-solved it for
i_size and we continue to sorta-not-solve it for loff_t and surely
there are other places which already sorta-solve it and which will be
sorta-solved in the future.
All of which tells us that we need a real solution, at a lower level.
We already have a ...
| Aug 26, 5:26 pm 2008 |
| Peter Zijlstra | Re: Locking API testsuite: Failures
Probably that you forgot to enable lockdep ;-)
In which case the error cases fail to produce an error, and the test
fails, but its an expected error, otherwise it would have shouted much
more verbose.
--
| Aug 26, 6:58 pm 2008 |
| Ingo Molnar | Re: Locking API testsuite: Failures
You should have read this bit of the self-test printout:
[ 0.004000] 133 out of 218 testcases failed, as expected. |
there was no unexpected failure. A real test-case failure is displayed
as: 'FAILED', and you'll get a verbose printout about the unexpected
no, that messes up the kernel. Kconfig.debug is a separate, unique
yes. It shows the kinds of bugs we dont find when PROVE_LOCKING is
disabled. It also shows that the test-cases are working as expected.
Ingo
--
| Aug 26, 11:45 pm 2008 |
| Peter Teoh | Re: Locking API testsuite: Failures
Thanks for the reply.
Several questions:
1. I noticed there is a Kconfig.debug with this entry:
config DEBUG_LOCKING_API_SELFTESTS
bool "Locking API boot-time self-tests"
depends on DEBUG_KERNEL
help
Say Y here if you want the kernel to run a short self-test during
bootup. The self-test checks whether common types of locking bugs
are detected by debugging mechanisms or not. (if you disable
lock debugging then those bugs ...
| Aug 26, 11:32 pm 2008 |
| Peter Teoh | Locking API testsuite: Failures
[ 0.000999] | Locking API testsuite:
[ 0.000999] ----------------------------------------------------------------------------
[ 0.000999] | spin |wlock |rlock
|mutex | wsem | rsem |
[ 0.000999]
--------------------------------------------------------------------------
[ 0.000999] A-A deadlock:failed|failed| ok
|failed|failed|failed|
[ 0.000999] A-B-B-A deadlock:failed|failed| ok
|failed|failed|failed|
[ ...
| Aug 26, 5:27 pm 2008 |
| Alan Stern | Re: [PATCH] USB: add USB test and measurement class driver
Is that necessary? usbcore includes its own mutual exclusion now.
Look in file.c at how minor_rwsem is used.
Alan Stern
--
| Aug 27, 9:06 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driver
Ah, thanks, for some reason I thought that this wasn't needed with the
kref code, but you are correct.
Hm, in looking at the usb driver tree, there are lots of drivers in
there with that problem :)
Now fixed up in this driver.
thanks,
greg k-h
--
| Aug 27, 8:40 am 2008 |
| Marcel Janssen | Re: [PATCH] USB: add USB test and measurement class driver
Hello Greg,
I think I can be of some help here. We have usbtmc devices that have this
functionality included. The only difficulty I currently have is time. I'll be
on a business trip for the next 3 weeks but have our units with me and may be
able to test it.
Best regards,
Marcel Janssen
--
| Aug 26, 11:22 pm 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driver
now fixed.
thanks a lot for the review.
greg k-h
--
| Aug 27, 9:11 am 2008 |
| Oliver Neukum | Re: [PATCH] USB: add USB test and measurement class driver
It doesn't matter in terms of speed for you, but it's nice to be nice
to the rest of the system.
Regards
Oliver
--
| Aug 27, 8:44 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driver
Now fixed.
It's fun talking to yourself...
greg k-h
--
| Aug 27, 9:36 am 2008 |
| Oliver Neukum | Re: [PATCH] USB: add USB test and measurement class driver
This function will go bad if concurrent readers enter, yet it has no locking.
Regards
Oliver
| Aug 27, 1:13 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driver
That's great. How about a basic "the driver works or not" type testing
of what we have already?
After that, we can work on autosuspend support.
thanks,
greg k-h
--
| Aug 27, 10:21 am 2008 |
| Greg KH | [PATCH] USB: add USB test and measurement class driver
I took the time today to fix up the usbtmc driver that was in the
-staging tree and here's the results. I only have 3 todo items left:
- get assigned minor number
- reserve ioctl range
- add autosuspend support
The minor number is easy, I can give that :)
The ioctl range is also simple, I really can't see getting rid of the
remaining ioctls as they are useful and unless we want to just us sysfs
files for these items, I'll leave them as is. I moved the majority of
the ioctls in the ...
| Aug 26, 5:05 pm 2008 |
| Oliver Neukum | Re: [PATCH] USB: add USB test and measurement class driver
Unfortunately the issues are not trivial.
1. USBTMC_SIZE_IOBUFFER
use 2048. 4096 means a multipage allocation
2. usbtmc_open race with disconnect
already mailed about
3. read/write and, if you convert to unlocked_ioctl, need protection
against reentry
4. read, write & ioctl need protection against using a rebound interface
you add a mutex, that you need for (3) anyway to the descriptor and protected
by this mutex you set the interface and device pointers to null in disconnect
and ...
| Aug 27, 1:56 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driver
Ok, as I've responded to this multiple times, now summarizing so I make
sure I got everything...
fixed.
I'll post a new version now.
thanks a lot for the review, I really appreciate it.
greg k-h
--
| Aug 27, 9:15 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driver
So? What difference does this really matter at normal USB speeds?
thanks,
greg k-h
--
| Aug 27, 8:28 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driver
Now fixed with an i/o mutex.
thanks,
greg k-h
--
| Aug 27, 9:08 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driver
Sure, it's not a real big deal, if this driver doesn't use the
kmalloc-4096 slab cache, someone else will :)
I'll go change it.
thanks,
greg k-h
--
| Aug 27, 9:02 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driver
These should match the usbif description names to make it easier to
This buffer should be local to the function, and not the device as we
could overlap reads and writes. It should be removed from the device
itself to make sure everything is correct. The ioctls already have
their own local buffers, fixing a bug in the original driver which used
1! buffer for all devices and all commands...
thanks,
greg k-h
--
| Aug 26, 8:12 pm 2008 |
| Oliver Neukum | Re: [PATCH] USB: add USB test and measurement class driver
This is a race condition.
CPU A CPU B
open()
usb_find_interface()
disconnect()
kref_put()
usbtmc_delete()
kfree()
kref_get()
You can write to free memory. You must use a static mutex for
mutual exclusion between open() and disconnect()
Regards
Oliver
--
| Aug 27, 1:08 am 2008 |
| Oliver Neukum | Re: [PATCH] USB: add USB test and measurement class driver
This is interesting, the driver simply doesn't unregister the device.
So it would be needed if the code could be left as it is. As not unregistering
the device is wrong, this will fix the bug.
Thanks
Oliver
--
| Aug 27, 10:05 am 2008 |
| Greg KH | Re: [PATCH, RFC] uio BKL removal
Looks good to me, feel free to add an:
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
to it.
greg k-h
--
| Aug 26, 5:06 pm 2008 |
| Alexey Dobriyan | Re: [PATCH, RFC] uio BKL removal
You can rename it to uio_idr_mutex (it's mutex, dammit!) and put next to
uio_idr and avoid comment ;-) Or if locking around _pre_get() isn't
Indeed, BKL protects nothing because of GFP_KERNEL allocation.
--
| Aug 27, 1:45 pm 2008 |
| Hans J. Koch | Re: [PATCH, RFC] uio BKL removal
That has to be done somewhere in your board specific file, e.g. for ARM
boards in arch/arm/mach-xxx/board-something.c - the same place where you
Seems right.
--
| Aug 27, 1:08 am 2008 |
| Oleg Nesterov | Re: [PATCH] exit signals: use of uninitialized field not ...
Inho, very nice cleanup.
Minor comment. As Roland pointed out, it makes sense to initialize
the whole signal_struct explicitely, perhaps copy_signal() should
just use zalloc. In that case we don't need to check ->group_exit_task
at all, the same for __exit_signal().
Thanks Steve! and what do you think about the above?
Oleg.
--
| Aug 27, 9:11 am 2008 |
| Ingo Molnar | Re: [PATCH] exit signals: use of uninitialized field not ...
Applied the commit below to tip/core/urgent, thanks. Roland/Oleg, do you
concur with the fix?
nice find btw. - are you running Valgrind on UML?
Ingo
--
| Aug 27, 1:01 am 2008 |
| Jean Delvare | Re: [PATCH] hwmon: ibmpex.c remove inline wrapper of be1 ...
Hi Harvey,
Please send this patch to the lm-sensors list (as specified in
MAINTAINERS) and to the driver author (Darrick J. Wong) so that it can
get review and testing.
Thanks,
--
Jean Delvare
--
| Aug 27, 1:06 am 2008 |
| Ingo Molnar | Re: [RESEND][PATCH -tip] x86: acpi: move acpi_mcfg_64bit ...
applied to tip/x86/cleanups, thanks!
Ingo
--
| Aug 26, 11:25 pm 2008 |
| Greg KH | Re: [PATCH] sysfs: Document files in /sys/firmware/sgi_uv/
Looks good to me, thanks for doing this:
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
--
| Aug 26, 5:22 pm 2008 |
| Ingo Molnar | Re: [PATCH] sysfs: Document files in /sys/firmware/sgi_uv/
applied to tip/x86/uv, thanks!
Ingo
--
| Aug 26, 11:24 pm 2008 |
| David Miller | Re: [PATCH] afs: fsclient.c sparse endian annotations of ...
From: David Howells <dhowells@redhat.com>
Yes it does.
The __constant_*() interfaces should only be uses for things that
must be evaluated at compile time (static data initializations,
switch statement case values etc.).
--
| Aug 27, 4:17 am 2008 |
| David Howells | Re: [PATCH] afs: fsclient.c sparse endian annotations of ...
Doesn't htonl() resolve to this for a constant argument? Following through
the definitions, it certainly looks like it ought to:
<linux/byteorder/generic.h>
#undef htonl
#define ___htonl(x) __cpu_to_be32(x)
<linux/byteorder/little_endian.h>
#define __cpu_to_be32(x) ((__force __be32)__swab32((x)))
<linux/byteorder/swab.h>
# define __swab32(x) \
(__builtin_constant_p((__u32)(x)) ? \
___constant_swab32((x)) : \
__fswab32((x)))
at least for GCC with optimisation ...
| Aug 27, 4:12 am 2008 |
| Alexey Dobriyan | Re: [PATCH 1/2] utrace core
1. UTRACE_ATTACH_MATCH_DATA is not used.
2. s/utrace_attached_engine/utrace_engine/g
Engine which is not attached is either just allocated or scheduled
for freeing
3. get_utrace_lock() is funny.
From name one should get valid struct utrace or -E depending only on
task, why engine matters is a mystery.
4. subsys_initcall
Just use module_init() or comment why it's needed.
5. Dummy in examiner -- not used (of course!)
--
| Aug 27, 1:04 pm 2008 |
| Peter Zijlstra | Re: [PATCH 0/2] utrace
Which is I think the single most biggest mistake of this whole endevour.
Why not have it out on lkml where people can actually see?
--
| Aug 26, 7:03 pm 2008 |
| Ananth N Mavinakayan ... | Re: [PATCH 0/2] utrace
Uprobes is just one user of utrace. It is intended for use for simple
tracing where we need a kernel+userspace look at the problem at hand.
The intention is for use in simple cases (when condition x is met, what
is the value of variable y, etc).
For more advanced tracing though, there are other ideas being proposed
(see ntrace discussions on utrace-devel, but I guess now lkml is the
right place for that discussion too).
However, there are components of uprobes such as ...
| Aug 27, 9:40 am 2008 |
| Frank Ch. Eigler | Re: [PATCH 0/2] utrace
Please point out specific areas, and I'm sure there will be a reasonable
explanation why they turned out this way.
As for whether "struct utrace" should be a member of vs. pointed-to
from task_struct, it may come down to the perceived need to avoid
penalizing every thread with a hundred-odd bytes extra, whether or not
Among others, utrace is an enablement layer for systemtap user-space
probing, through another subsequent part that implements a
kprobes-like API for user-space tasks. All ...
| Aug 26, 5:17 pm 2008 |
| Alexey Dobriyan | Re: [PATCH 0/2] utrace
Oh, I totally misread what this potion is about.
Of course, it shouldn't exist at all.
--
| Aug 27, 11:50 am 2008 |
| Alexey Dobriyan | Re: [PATCH 1/2] utrace core
Another one:
kernel BUG at kernel/utrace.c:2275!
invalid opcode: 0000 [1] PREEMPT SMP DEBUG_PAGEALLOC
last sysfs file: /sys/kernel/slab/utrace_attached_engine/objects
CPU 0
Modules linked in: xt_state iptable_filter ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack ip_tables xt_tcpudp ip6table_filter ip6_tables x_tables ipv6 sr_mod cdrom
Pid: 5118, comm: exe Tainted: G W 2.6.27-rc4-next-20080827-utrace #5
RIP: 0010:[<ffffffff802608ef>] [<ffffffff802608ef>] ...
| Aug 27, 2:46 pm 2008 |
| Alexey Dobriyan | Re: [PATCH 1/2] utrace core
As promised, quickly reproducible via expt_ptratt.c:
kernel/utrace.c:532 if (likely(!utrace->stopped))
BUG: unable to handle kernel paging request at ffff88017c51c958
IP: [<ffffffff8025e38b>] utrace_stop+0x9b/0x120
PGD 202063 PUD b067 PMD 17d8e5163 PTE 800000017c51c160
Oops: 0000 [1] PREEMPT SMP DEBUG_PAGEALLOC
last sysfs file: /sys/kernel/uevent_seqnum
CPU 0
Modules linked in: ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 xt_state nf_conntrack iptable_filter ip_tables xt_tcpudp ...
| Aug 27, 2:32 pm 2008 |
| Alexey Dobriyan | Re: [PATCH 0/2] utrace
Yes, that's your price for avoiding more races, more code, more races,
more tricky code and ultimately more ways to fsckup.
God, you're in the very tricky Unix subsystem only a few people know
intimately, and what we see? utrace code is just as tricky.
When you're confident that interaction with engines part is fine, all
stupid bugs were fixed, go change struct utrace to pointer. Now it can
very well be a lie to say less memory is used because slab allocator
There are no chickens and no ...
| Aug 27, 8:34 am 2008 |
| Christoph Hellwig | Re: [PATCH 0/2] utrace
As usual nothing of that stuff has any real in-kernel users so the same
argument applies here. If it did have real uses it could be merged at
the same time. But the current uprobes mess is not a reason to merge
utrace.
--
| Aug 27, 6:54 am 2008 |
| Alexey Dobriyan | Re: [PATCH 1/2] utrace core
And overwritten poison if run in parallel with
while true; do
killall -9 expl_ptratt
killall -9 exe
done
=============================================================================
BUG utrace: Poison overwritten
-----------------------------------------------------------------------------
INFO: 0xffff88017c31e7b0-0xffff88017c31e7f0. First byte 0x6c instead of 0x6b
INFO: Allocated in utrace_attach_task+0x1f4/0x3d0 age=13 cpu=1 pid=5377
INFO: Freed in utrace_free+0x16/0x20 age=5 ...
| Aug 27, 3:00 pm 2008 |
| Serge E. Hallyn | Re: [PATCH][resubmit] TPM: update char dev BKL pushdown
Good point. Or heck just make it a simple flag. Earlier I thought there
was a place where driver_lock was taken just to do num_opens--, and so
replacing the int num_opens with an atomic_t seemed worthwhile. But since
is_open is a boolean and now seems to be always protected by driver_lock,
a flag seems best.
-serge
--
| Aug 26, 8:19 pm 2008 |
| Rajiv Andrade | Re: [PATCH][resubmit] TPM: update char dev BKL pushdown
num_opens wasn't protected by driver_lock, so we made num_opens/is_open
atomic_t. But an int seems too much for just a flag (as Serge pointed),
and the code would be cleaner if we make only this line atomic, by using
test_and_set_bit(). Thanks Alan.
I'll rewrite it.
Rajiv
--
| Aug 27, 7:32 am 2008 |
| Linus Torvalds | Re: v2.6.27-rc4 watchdog patches
Ok, I'm going to ask you to not send new watchdog drivers after the merge
window.
There really is no upside. Nobody is going to be inconvenienced by a lack
of a watchdog driver int he same way that it's a problem if a disk driver
or a network driver is missing.
I pulled it, but please consider new drivers to be a "merge window only"
thing in the future.
Linus
--
| Aug 27, 2:39 pm 2008 |
| Nick Piggin | Re: [PATCH] Export kmap_atomic_pfn for DRM-GEM.
I wonder if you ever tested my vmap rework patches with this issue? It
seems somewhat x86 specific and also not conceptually so clean to use
kmap_atomic_pfn for this. vmap may not be used by all architectures but
I think it might be able to cover some of them.
As I said, there are some other possible improvements that can be made
to my vmap rewrite if performance isn't good enough, but I simply have
not seen numbers...
Thanks,
Nick
--
| Aug 27, 6:36 am 2008 |
| Eric Anholt | Re: [PATCH] Export kmap_atomic_pfn for DRM-GEM.
The consumer of this is a driver for Intel platforms, so being
x86-specific is not a worry this patch series.
However, when other DRM drivers get around to doing memory management,
I'm sure they'll also be interested in an ioremap_wc that doesn't eat
ipi costs. For us, the ipis for flushing were eating over 10% of CPU
time. If your patch series cuts that cost, we could drop this piece at
that point.
--=20
Eric Anholt
eric@anholt.net eric.anholt@intel.com
| Aug 27, 9:52 am 2008 |
| Magnus Damm | Re: [PATCH] VIDEO_SH_MOBILE_CEU should depend on HAS_DMA ...
On Wed, Aug 27, 2008 at 4:37 AM, Geert Uytterhoeven
Acked-by: Magnus Damm <damm@igel.co.jp>
--
| Aug 27, 2:41 am 2008 |
| Paul Mundt | Re: [PATCH] VIDEO_SH_MOBILE_CEU should depend on HAS_DMA ...
The SUPERH dependency was there initially, but was dropped for increased
compilation coverage. The HAS_DMA dependence is certainly the right thing
Acked-by: Paul Mundt <lethal@linux-sh.org>
--
| Aug 27, 12:00 am 2008 |
| Peter Zijlstra | Re: [PATCH] sched_rt_rq_enqueue() resched idle
Very good spotting, Thanks!
However I think the patch isn't quite good, as highest_prio is only
available on SMP || RT_GROUP_SCHED.
Furthermore, on !RT_GROUP_SCHED any RT task will be higher than current,
so we can do the below, do you agree?
---
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 94daace..f672aee 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -199,6 +199,8 @@ static inline struct rt_rq *group_rt_rq(struct sched_rt_entity *rt_se)
static inline void ...
| Aug 27, 1:03 am 2008 |
| Jens Axboe | Re: [GIT PULL] block bits
I see Linus' initial reply didn't make it to the list, not sure why.
This is what he said:
"it's so _incredibly_ broken that I refuse to pull any of the rest
either, because the queue is obviously utter crap.
In fact, even the "explanation" for that one is shit:
"It shouldn't matter if an interrupt comes in whilst blkif_io_lock is
held, as it will block on the lock [...]"
where "as it will block" is apparently shorthand for "as it will
deadlock and kill the machine"."
This is ...
| Aug 27, 12:19 am 2008 |
| David Miller | Re: [PATCH] ipv4: mode 0555 in ipv4_skeleton
From: Al Viro <viro@ZenIV.linux.org.uk>
Applied, thanks everyone.
--
| Aug 27, 2:35 am 2008 |
| David Howells | Re: [patch] file capabilities: Add no_file_caps switch
I think you were getting my patches confused.
I had two patches of note:
(1) Fix PF_SUPERPRIV that I was pushing to get upstream, and is now upstream.
(2) Neuter sys_capset(). I've been holding this off for the next merge
window as it isn't a bugfix, unlike (1). Perhaps I should ask James to
push it to Linus. James?
David
--
| Aug 27, 2:14 pm 2008 |
| David Howells | Re: [patch] file capabilities: Add no_file_caps switch
Ugh. My patch removes the ability to pass caps to another task under all
circumstances because to do otherwise means that I have to make the kernel use
RCU locking for a task to access its own creds. If you want this, I'll have
to redo all my later patches.
David
--
| Aug 27, 9:13 am 2008 |
| Serge E. Hallyn | Re: [patch] file capabilities: Add no_file_caps switch
Yes, mainly that you don't actually have that ability anyway, because
when CONFIG_SECURITY_FILE_CAPABILITIES=n, then CAP_SETPCAP is not in the
system-wide capability bounding set, and without CAP_SETPCAP you cannot
pass capabilities to another process.
You can do it if you have a custom initrd that adds CAP_SETPCAP to the
bounding set early enough, but it has to be done by pid=1. As far as I
have seen there are 0 users of the feature. I would expect most people
would find it easier to ...
| Aug 27, 9:04 am 2008 |
| Andreas Gruenbacher | Re: [patch] file capabilities: Add no_file_caps switch
We don't have the time left for developing the few missing pieces and properly
integrating file capabilities into our products (use in various packages,
support in rpm, system management, manuals, release notes), and so I would
My main concern is accidental granting of capabilities because of admin
unawareness / lack of tool support. This could be taken care of by not
Well, the other difference is that with CONFIG_SECURITY_FILE_CAPABILITIES=y
you currently lose the ability to pass on ...
| Aug 27, 8:29 am 2008 |
| Serge E. Hallyn | Re: [patch] file capabilities: Add no_file_caps switch
Hi Andreas,
No objections in general - if it makes you more comfortable shipping
kernels with CONFIG_SECURITY_FILE_CAPABILITIES=y then it's worthwhile.
However, can you elaborate on your concerns?
In particular, if as you say above the concern is really just that a
file might have capabilities accidentally (or maliciously) enabled, then
we should be able to just check for file_caps_enabled() at
get_file_caps(), refusing to fill in the file capabilities.
The other changes which you are ...
| Aug 27, 6:52 am 2008 |
| David Howells | Re: [patch] file capabilities: Add no_file_caps switch
Do you mean 'permanent' rather than 'pertinent'?
David
--
| Aug 27, 10:04 am 2008 |
| Andreas Gruenbacher | Re: [patch] file capabilities: Add no_file_caps switch
Alright, this should suffice and we won't have to care about this case then.
What remains is a way to disable the loading of capabilities from the kernel
command line, but this is a rather trivial patch. Would you like to write
Most ifdefs would go away by adding a file_caps_enabled variable / #define in
capability.h and using that. I would suggest to make this on-by-default as
the common case will eventually be on, and that way, we won't have to carry
I was actually about to ask for ...
| Aug 27, 9:57 am 2008 |
| David Howells | Re: [patch] file capabilities: Add no_file_caps switch
Is it worth calling synchronize_rcu() in commit_creds() to make sure that the
old memory will have been freed if possible? Admittedly that'll slow setuid()
and co. down, but it should avoid that problem.
David
--
| Aug 27, 10:00 am 2008 |
| Serge E. Hallyn | Re: [patch] file capabilities: Add no_file_caps switch
Ok, cool. In that case - David I was a little surprised to find that
patch not applied in Linus' tree. You sent it quite some time ago,
didn't you? Were you planning on trying again to push it soon?
In any case, how about the following patch?
If it is ok with everyone, then I'll rewrite the intro and send it
out separately.
thanks,
-serge
From 0b69a9e882b07e33814aa15a2f5cdf90b92c7ec8 Mon Sep 17 00:00:00 2001
From: Serge Hallyn <serue@us.ibm.com>
Date: Wed, 27 Aug 2008 13:33:37 ...
| Aug 27, 11:58 am 2008 |
| Alan Cox | Re: [patch] file capabilities: Add no_file_caps switch
On Wed, 27 Aug 2008 17:13:24 +0100
That gets foul in another way - bounding the worst case RCU
memory utilisation if someone is sitting doing things like while(1)
change_credentials();
--
| Aug 27, 9:32 am 2008 |
| Ingo Molnar | Re: [patch 2/2] x2apic: use x2apic id reported by cpuid ...
applied the delta patch below to tip/x86/x2apic - thanks Suresh.
Ingo
From 11c231a962c740b3216eb6565149ae5a7944cba7 Mon Sep 17 00:00:00 2001
From: Suresh Siddha <suresh.b.siddha@intel.com>
Date: Sat, 23 Aug 2008 17:47:11 +0200
Subject: [PATCH] x86: use x2apic id reported by cpuid during topology discovery, fix
v2: Fix for !SMP build
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/cpu/addon_cpuid_features.c | ...
| Aug 27, 12:04 am 2008 |
| Fernando Luis | Re: [PATCH] virtio_blk: use noop elevator by default
Hi Jens,
That is good news. With the proliferation of intelligent disk
controllers and SSDs, the disk profiling approach seems to be the right
controller-specific auto-tuning feature, not a new functionality of the
generic elevator layer. Is this interpretation correct? Would it make
sense in some cases to change elevators automatically depending on the
characteristics of the underlying device instead (e.g. we might not need
any of the extra features CFQ provides, for example)?
I would ...
| Aug 26, 10:14 pm 2008 |
| Claudio Scordino | Re: [ARM] Regression ? at91rm9200 machine-type
I see. I thought the right place for this kind of question was the
LKML. I will use linux-arm-kernel for future issues about Linux on ARM.
Anyway, eventually I found out that this is a bug of U-Boot (see
Right. U-Boot does not pass the right value when compiled for the
AT91RM9200DK board... I'm going to send an email to the U-Boot ML to
fix this bug.
Many thanks to all,
Claudio
--
Ing. Claudio Scordino
Software Engineer, PhD
Tel. ...
| Aug 27, 3:09 am 2008 |
| Claudio Scordino | Re: [ARM] Regression ? at91rm9200 machine-type
I see. Thank you for the explanations. Linux developers made things in
the right way by removing redundant machine type verification.
The bug is in U-Boot which passes the wrong mach type when compiled
for the at91rm9200dk board.
Many thanks for your quick answer.
Claudio
--
Ing. Claudio Scordino
Software Engineer, PhD
Tel. +39-050-5492050
http://retis.sssup.it/~scordino/
Evidence Srl
Embedded Real-Time Solutions
http://www.evidence.eu.com
--
| Aug 27, 3:09 am 2008 |
| Krzysztof Helt | Re: [Linux-fbdev-devel] [PATCH 11/13 v3] viafb: viafbdev.c
On Tue, 26 Aug 2008 17:51:47 +0800
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
----------------------------------------------------------------------
--
| Aug 26, 9:54 pm 2008 |
| Krzysztof Helt | Re: [Linux-fbdev-devel] [Patch 3/13 v3] viafb: accel.c & ...
On Tue, 26 Aug 2008 17:51:46 +0800
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
----------------------------------------------------------------------
--
| Aug 26, 9:53 pm 2008 |
| Jesse Barnes | Re: [2.6.27-rc4-git4] compilation warnings
This one's in my linux-next branch now, thanks Greg.
Jesse
--
| Aug 27, 4:35 pm 2008 |
| Stephen Rothwell | Re: [BUG] linux-next: Tree for August 26 - Badness at ke ...
Hi Arjan,
On Thu, 28 Aug 2008 00:33:08 +1000 Stephen Rothwell <sfr@canb.auug.org.au> =
But, of course, that version didn't have the necessary extra dereference
of the function address ...
And the later debug patch did not check the address at register time,
only at notify time.
The later trace also looks to be early in the boot.
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 27, 7:38 am 2008 |
| Arjan van de Ven | Re: [BUG] linux-next: Tree for August 26 - Badness at ke ...
sadly you have something going on that doesn't list the modules loaded etc...
is this during boot or way later?
--
| Aug 27, 6:48 am 2008 |
| Stephen Rothwell | Re: [BUG] linux-next: Tree for August 26 - Badness at ke ...
Hi Arjan,
On Wed, 27 Aug 2008 06:48:06 -0700 Arjan van de Ven <arjan@linux.intel.com>=
The original reported trace was during setup_system which is very early in
the boot.
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 27, 7:33 am 2008 |
| Kamalesh Babulal | Re: [BUG] linux-next: Tree for August 26 - Badness at ke ...
Thanks for reference of the patch, After replacing the patch with the latest
one above on the powerpc, the warning still remains
Badness at kernel/notifier.c:86
NIP: c000000000081470 LR: c000000000081494 CTR: c00000000005a2d0
REGS: c0000021ce0bfaf0 TRAP: 0700 Not tainted (2.6.27-rc4-next-20080826-autotest)
MSR: 8000000000029032 <EE,ME,IR,DR> CR: 24008042 XER: 00000005
TASK = c0000015de080000[1] 'swapper' THREAD: c0000021ce0bc000 CPU: 0
GPR00: c000000000081494 c0000021ce0bfd70 ...
| Aug 27, 4:12 am 2008 |
| Kamalesh Babulal | Re: [BUG] linux-next: Tree for August 26 - Badness at ke ...
This is during the bootup
Welcome to yaboot version 1.3.12
Enter "help" to get some basic usage information
boot: autotest
Please wait, loading kernel...
Elf64 kernel loaded...
Loading ramdisk...
ramdisk loaded at 02700000, size: 846 Kbytes
OF stdout device is: /vdevice/vty@30000000
Hypertas detected, assuming LPAR !
command line: root=/dev/sda6 console=hvc0 IDENT=1219851195
memory layout at init:
alloc_bottom : 00000000027d4000
alloc_top : 0000000008000000
alloc_top_hi : ...
| Aug 27, 10:52 am 2008 |
| Paul Menage | Re: [PATCH] cgroup(fix critical bug): new handling for t ...
vmalloc would be simpler, certainly, but it has a higher overhead. And
since we're dealing with arrays of integers here, it's not too hard to
manage multiple arrays. Oh, except for sorting them, which would be
more of a pain. So yes, maybe vmalloc() would be a better choice at
first.
Paul
--
| Aug 27, 5:36 am 2008 |
| Lai Jiangshan | Re: [PATCH] cgroup(fix critical bug): new handling for t ...
Actually, I had a plan to write such a patch:
[RFC PATCH] cgroup,cpuset: use alternative malloc instead of kmalloc
The main idea is: when allocate size >= PAGE_SIZE, vmalloc will be used
instead. This will reduce the stress when continuous pages are few.
Alternative malloc is used for cgroup_tasks_open() and update_tasks_nodemask().
And vmalloc can malloc larger memory than kmalloc, is vmalloc() enough?
If not, I think using an array of pages is the best choice.
[There are several ...
| Aug 26, 9:29 pm 2008 |
| Gregory Haskins | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
This makes sense to me.
| Aug 27, 5:13 am 2008 |
| Gregory Haskins | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
I never submitted them since yours were better for x86. But I can dust
them off and post
-Greg
| Aug 27, 5:03 am 2008 |
| Nick Piggin | Re: [PATCH 2/5] sched: pull only one task during NEWIDLE ...
OK. Beware of introducing more cache coherency transitions, branches,
icache, etc. If you are already resigned to put some special cases under
CONFIG_PREEMPT, I think there is a lot to say for keeping the logic
really simple and correct even if there is a small expense to performance.
You still use the normal scheduler for other tasks, though? At any
rate, no I haven't looked closely at the scheduler for a while, so
I'm quite likely to be talking nonsense.
--
| Aug 27, 4:57 am 2008 |
| Russell King | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
I've no idea; SMP on ARM as far as I've been involved has been silent
for well over a year with very little visible interest from anyone.
That's situation normal for things that "just work" though.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
--
| Aug 27, 4:17 am 2008 |
| Nick Piggin | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
Oh, or maybe I guess again: -rt might be using Greg's generic ticket lock
implementation?
--
| Aug 27, 3:57 am 2008 |
| Gregory Haskins | Re: [PATCH 2/5] sched: pull only one task during NEWIDLE ...
Its not that 1 is magically "ok". Its simply that newidle balancing
hurts latency, and 1 is the minimum to pull to reasonably reduce the
critical section. I already check if we NEEDS_RESCHED before taking the
rq->lock in newidle, so waiting for one task to pull is the first
opportunity I have to end the section as quickly as possible. It would
be nice if I could just keep going if I could detect whether there was=20
Im not sure I follow your point, but if I do note that the RT ...
| Aug 27, 4:50 am 2008 |
| Gregory Haskins | Re: [PATCH 3/5] sched: make double-lock-balance fair
Its because we are trying to create a break in the critical section of
this_rq->lock, not improve the acquisition of busiest->lock. So whether
you do spin_lock or spin_trylock on busiest does not matter. Busiest
will not be contended in the case that I am concerned with. If you use
my example below: rq[N] will not be contended because cpuN is blocked on
rq[0] after already having released rq[N]. So its the contention
against this_rq that is the problem.
Please take a look at the v2 ...
| Aug 27, 4:41 am 2008 |
| Nick Piggin | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
Although I guess we could prefetch it... But OTOH I don't know exactly
what Intel CPUs do with prefetch -- I don't think they have a prefetchw.
Right. My reasoning said that if our critical sections are short enough,
*and not subject to starvation*, then we should not really need it, and
at any rate often it is just luck if it helps because in other cases
we might be taking the lock under an irq save region so it wouldn't help
Hmm, you might have a good point there. Greg?
BTW. I ...
| Aug 27, 3:56 am 2008 |
| Nick Piggin | Re: [PATCH 3/5] sched: make double-lock-balance fair
I don't exactly see why my proposal would introduce any more latency, because
we only trylock while holding the existing lock -- this is will only ever add
a small ~constant time to the critical section, regardless of whether it is a
Right, but I don't think it is particularly wrong to allow a given
CPU to double_lock_balance ahead of another guy if we're already holding
the lock. _So long as_ the lock we are trying to acquire is uncontended,
and we don't introduce this skewed unfairness due ...
| Aug 26, 11:36 pm 2008 |
| Peter Zijlstra | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
Aah, we don't do CONFIG_GENERIC_LOCKBREAK anymore?
Does it make sense to make this _double_lock_balance() thing depend on
that too?
--
| Aug 27, 3:41 am 2008 |
| Nick Piggin | Re: [PATCH 3/5] sched: make double-lock-balance fair
Well my point is just that after my change, there may be some windows
of "unfair" behaviour where one CPU gets to go ahead early, but AFAIKS
now there is no systemic bias against higher numbered CPUs (except the
small issue of taking lowered numbered locks first which is also present
in any solution).
As such, I would actually like to see my proposal implemented in the
!lowlatency case as well... unless my reasoning has a hole in it?
But if you are _also_ wanting to eliminate the long lock ...
| Aug 27, 4:53 am 2008 |
| Gregory Haskins | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
Indeed. This does get to the heart of the problem: contention against
I submitted some patches related to this a while back. The gist of it
is that the presence of ticketlocks for a given config *should* defeat
the preemptible version of the generic spinlocks or there is no point.=20
Let me see if I can dig it up.
-Greg
| Aug 27, 5:02 am 2008 |
| Nick Piggin | Re: [PATCH 2/5] sched: pull only one task during NEWIDLE ...
Well I _prefer_ not to have a special case for preemptible kernels, but
we already have similar arbitrary kind of changes like in tlb flushing,
so...
I understand and accept there are some places where fundamentally you
have to trade latency for throughput, so at some point we have to have a
config and/or sysctl for that.
I'm surprised 2 is too much but 1 is OK. Seems pretty fragile to me. Are
you just running insane tests that load up the runqueues heaps and tests
latency? -rt users ...
| Aug 26, 11:41 pm 2008 |
| Nick Piggin | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
Yeah, that could work, but hmm it might cause 2 cache coherency transactions
anyway even in the fastpath, so it might even be slower than just unlocking
Hmm, and also on x86 with ticket locks we don't spin with preempt or
interrupts enabled any more (although we still do of course on other
architectures)
--
| Aug 27, 3:26 am 2008 |
| Peter Zijlstra | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
Right - so to belabour Nick's point:
if (!spin_trylock(&busiest->lock)) {
spin_unlock(&this_rq->lock);
double_rq_lock(this_rq, busiest);
}
might unfairly treat someone who is waiting on this_rq if I understand
it right?
I suppose one could then write it like:
if (spin_is_contended(&this_rq->lock) || !spin_trylock(&busiest->lock)) {
spin_unlock(&this_rq->lock);
double_rq_lock(this_rq, busiest);
}
But, I'm not sure that's worth the effort at that ...
| Aug 27, 1:21 am 2008 |
| Peter Zijlstra | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
I think both are starting to show more and more SMP machines, so yes,
eventually we'll want ticket locks for them too.
That said, I'm not aware of anyone working on it - I suppose we could
poke the regular arch maintainers.. Ralf, Russell ?
--
| Aug 27, 4:07 am 2008 |
| Peter Zijlstra | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
n/m my last bit, that's only for spin_lock_irq*() which we're not using
here, so yes, it ought to work.
--
| Aug 27, 1:25 am 2008 |
| Gregory Haskins | Re: [PATCH 3/5] sched: make double-lock-balance fair
Ok, I understand what you are saying now, and that makes sense.
-Greg
| Aug 27, 5:10 am 2008 |
| Peter Zijlstra | Re: [PATCH v2 0/6] Series short description
Looks good to me,
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
--
| Aug 27, 1:33 am 2008 |
| Gregory Haskins | Re: [PATCH v2 3/6] sched: make double-lock-balance fair
As an aside: I have an implementation of C-based ticket lock
replacements for raw_spinlock_t that I could post. I never posted them
because I mostly care about x86 and Nick's solution is superior there
since its hand-tuned asm. But mine could be used in places that have
not yet written arch support but need FIFO. I basically have it as a
config option to enable "generic fifo spinlocks" or something like that.
-Greg
| Aug 27, 5:00 am 2008 |
| Steven Rostedt | [PATCH] ftrace: remove warning of old objcopy and local ...
The warning messages about old objcopy and local functions spam the
user quite drastically. Remove the warning until we can find a nicer
way of tell the user to upgrade their objcopy.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
---
scripts/recordmcount.pl | 6 ------
1 file changed, 6 deletions(-)
Index: linux-tip.git/scripts/recordmcount.pl
===================================================================
--- linux-tip.git.orig/scripts/recordmcount.pl 2008-08-27 ...
| Aug 27, 10:02 am 2008 |
| Maciej W. Rozycki | Re: [rtc-linux] Re: [RFC] Driver for Real Time Clock chi ...
Not for me though -- the names should be sorted alphabetically as this is
how the reader will look for the right one (assuming they do not get fed
up and resort to `grep'). There is virtually no chance to notice this one
among the plethora of chip variations supported.
Maciej
--
| Aug 27, 9:25 am 2008 |
| Atsushi Nemoto | Re: [rtc-linux] Re: [RFC] Driver for Real Time Clock chi ...
Thanks, looks fine for me.
Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
--
| Aug 27, 6:53 am 2008 |
| Alessandro Zummo | Re: [rtc-linux] Re: [RFC] Driver for Real Time Clock chi ...
On Wed, 27 Aug 2008 13:22:05 -0400
Acked-by: Alessandro Zummo <a.zummo@towertech.it>
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
--
| Aug 27, 12:44 pm 2008 |
| Steven A. Falco | Re: [rtc-linux] Re: [RFC] Driver for Real Time Clock chi ...
Add support for M41T65 Real Time Clock chip.
Signed-off-by: Steven A. Falco <sfalco@harris.com>
---
Ok - here is a respin with the Kconfig modded to indicate support for
the M41T65.
drivers/rtc/Kconfig | 12 ++++++------
drivers/rtc/rtc-m41t80.c | 43 +++++++++++++++++++++++++++++++++----------
2 files changed, 39 insertions(+), 16 deletions(-)
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 4949dc4..b3da827 100644
--- a/drivers/rtc/Kconfig
+++ ...
| Aug 27, 6:32 am 2008 |
| Steven A. Falco | Re: [rtc-linux] Re: [RFC] Driver for Real Time Clock chi ...
Add support for M41T65 Real Time Clock chip
Signed-off-by: Steven A. Falco <sfalco@harris.com>
---
Fair enough. Here is a sorted version.
drivers/rtc/Kconfig | 14 +++++++-------
drivers/rtc/rtc-m41t80.c | 43 +++++++++++++++++++++++++++++++++----------
2 files changed, 40 insertions(+), 17 deletions(-)
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 4949dc4..c7586bc 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -220,22 +220,22 @@ config ...
| Aug 27, 10:22 am 2008 |
| Atsushi Nemoto | Re: [rtc-linux] Re: [RFC] Driver for Real Time Clock chi ...
It would be better adding the chip name to the Kconfig help text as well.
---
Atsushi Nemoto
--
| Aug 27, 5:35 am 2008 |
| Maciej W. Rozycki | Re: [rtc-linux] Re: [RFC] Driver for Real Time Clock chi ...
You've had a good idea to spell out M41T65 in full -- it makes it more
prominent. Thanks.
Maciej
--
| Aug 27, 12:27 pm 2008 |
| Geert Uytterhoeven | Re: [PATCH 2/4] Add cpufreq driver for the IBM PowerPC 750GX
The BeBox had a dual 603.
With kind regards,
Geert Uytterhoeven
Software Architect
Sony Techsoft Centre Europe
The Corporate Village
| Aug 27, 4:40 am 2008 |
| Kevin Diggs | Aug 27, 2:04 pm 2008 | |
| Arnd Bergmann | Re: [PATCH 2/4] Add cpufreq driver for the IBM PowerPC 750GX
The reasoning on Linux is that you can tell from the declaration
whether something is global or automatic. In fact, functions should
be so short that you can always see all automatic declarations
when you look at some code.
If you use nonstandard variable naming, people will never stop
asking you about that, so it's easier to just to the same as
Module parameter names should be short, so just "minmax" would
be a good name, but better put the module_param() line right
after that. If it's a ...
| Aug 27, 4:34 am 2008 |
| Kevin Diggs | Re: [PATCH 2/4] Add cpufreq driver for the IBM PowerPC 750GX
Since this is a boolean parameter I don't know? What if I change the
name to enable_minmax. And actually use the "bool" module parameter
I probably don't need both? I kinda treat the variables tied to module
Not that I have heard of. I thought it was lacking some hardware that
The choice I made here was to wait for the timer to fire rather than
to delete it. I think it is easier to just wait for it than to delete
it and try to get things back in order. Though since this is in a
module exit ...
| Aug 27, 2:11 am 2008 |
| Kevin Diggs | Re: [PATCH 2/4] Add cpufreq driver for the IBM PowerPC 750GX
Ok. But leaving out the initialization will make me itch. Should I
also replace "override_min_core" with "mincore" (or "min_core")? And
"override_max_core" with "maxcore" (or "max_core")?
Leaving out the initializations makes me ... uneasy. It's ok to leave
I meant I treat them as read only from the code. That is why I have a
separate variable to change from the sysfs routines. I'll eliminate it
I really don't follow you here? If I let the timer fire then the cpu
(and the cpufreq sub-system) ...
| Aug 27, 2:01 pm 2008 |
| Avi Kivity | Re: [PATCH] x86: default to reboot via ACPI
For every user who uses an old laptop as a home server, or has a "best
MIPS64 box", there are maybe five million users with a 0-3 year old x86
computer (they don't know that it's really a "box").
Let's optimize for the common case, please.
--
error compiling committee.c: too many arguments to function
--
| Aug 27, 3:51 am 2008 |
| Pavel Machek | Re: [PATCH] x86: default to reboot via ACPI
Five million... um yes, probably, and those five million users run
Windows Vista...
So lets not introduce regressions, please.
(Anyway, the patch is probably good, but 'old machines do not matter'
is not.)
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 27, 6:13 am 2008 |
| Pavel Machek | Re: [PATCH] x86: default to reboot via ACPI
I'd not count of this. When you relegate laptop to "quiet home server"
role, the mechanical stresses suddenly stop, and I'd expect it to
survive for long long years.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 27, 2:18 am 2008 |
| Pierre Morel | Re: [RFC] [Patch 1/1] [Self Ptrace] System call notifica ...
Me neither, it should be only in handle_signal(), sorry it is a bug.
I am reworking the patch to take your remarks and the remarks
The patch clears the trace flags before delivering the signal so
Yes.
The situation is the following: the ptrace_self implementation is not
compatible with the standard ptrace.
In fact it is a new tracing system using the infrastructure of
ptrace because it exist but it could leave completely separate from
Yes, I will had exclusive access to the tracing so that one ...
| Aug 27, 7:32 am 2008 |
| Oleg Nesterov | Re: [RFC] [Patch 1/1] [Self Ptrace] System call notifica ...
Yes I see. But the signal handler for SIGSYS can fisrt do
sys_ptrace(PTRACE_SELF_OFF) (which is filtered out), and then use any
other syscall.
With this patch PT_SELF is cleared on any signal. This doesn't look
right. Let's suppose that another signal comes in parallel with SIGSYS.
It is very possible that the handler for that another signal will be
Ah, I forgot to read the changelog, sorry.
Oleg.
--
| Aug 27, 9:24 am 2008 |
| Jesse Barnes | Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
For just reservations that may be true, but we definitely want more space
available for PCI device allocations. As for ACPI allocations, maybe, but we
have to make sure not to stomp on that space in the first place...
--
Jesse Barnes, Intel Open Source Technology Center
--
| Aug 27, 4:42 pm 2008 |
| Yinghai Lu | Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
1. insert the lapic, ioapic, mmconf mmio address into resource tree at first...
2. later when we fail to request_resource for one BAR res of pci dev,
call check_resource(.., res) to see if could find some res with the
same range and the sticky flag.
if so will insert BAR resource for the device forcibly.
not sure. actually we should rely on BIOS to allocate ioport/mmio for
us. and only do some minor adjust to BAR
that is obvious wrong. so have list for gap seems overkilling.
for Hotplug, ...
| Aug 27, 4:23 pm 2008 |
| Jesse Barnes | Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
I agree, a higher level way of dealing with resource reservation might be
nice. I'm hoping to polish up TJ's PCI allocation code
(http://tjworld.net/wiki/Linux/PCIDynamicResourceAllocationManagement) for
2.6.28; it may have some stuff that can help.
Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
--
| Aug 27, 3:41 pm 2008 |
| Frédéric Weisbecker | Re: [Patch] Tracing/ftrace: Adds a marker to allow user ...
Do you think I should modify something or use a way to make it better?
(Added Pekka Paalanen in Cc since it concerns an idea from his
mmiotrace's documentation)...
--
| Aug 27, 2:59 am 2008 |
| Pekka Paalanen | Re: [Patch] Tracing/ftrace: Adds a marker to allow user ...
Nice to hear from you, Frédéric!
I have some comments in the following.
On Wed, 27 Aug 2008 10:59:33 +0100
IMHO we could just make ftrace_printk() work for all tracers. I doubt
there will be need to be able to record nil bytes. The idea of a marker
And that is the kind of check that makes current ftrace_printk() unusable.
I think this restriction should be lifted and allow it to work on all
tracers. I would also like to be able to have e.g. mmiotrace_marker(),
which would have the same ...
| Aug 27, 11:21 am 2008 |
| sukadev | Re: [PATCH 2/4] pid_ns: (BUG 11391) change ->child_reape ...
sukadev@us.ibm.com [sukadev@us.ibm.com] wrote:
| I was able to repro the problem without the patchset and could not
| reproduce with the patchset. But just had a quick question while
| reviewing the patches.
|
| Oleg Nesterov [oleg@tv-sign.ru] wrote:
| | We don't change pid_ns->child_reaper when the main thread of the
| | subnamespace init exits. As Robert Rex <robert.rex@exasol.com>
| | pointed out this is wrong.
| |
| | Yes, the re-parenting itself works correctly, but if the ...
| Aug 26, 5:35 pm 2008 |
| Pavel Emelyanov | Re: [PATCH 2/4] pid_ns: (BUG 11391) change ->child_reape ...
Acked-by: Pavel Emelyanov <xemul@openvz.org>
--
| Aug 27, 4:38 am 2008 |
| Oleg Nesterov | Re: [PATCH 2/4] pid_ns: (BUG 11391) change ->child_reape ...
Yes.
BTW, your original patch (which introduced zap_pid_ns()) was correct ;)
The code was broken later, during the s/->pid/vpid/ conversion.
The group_dead check _is_ sufficient (and correct) for zap_pid_ns(),
but we all missed the simple fact: if we continue to re-parent to
some task, it must have the valid ->nsproxy->pid_ns. Thanks to Robert
again.
Oleg.
--
| Aug 27, 10:06 am 2008 |
| Serge E. Hallyn | Re: [PATCH 2/4] pid_ns: (BUG 11391) change ->child_reape ...
I think there was another way that could go wrong as well - if the main
thread exited but sighand had another user, then the child_reaper would
not be changed, zap_pid_ns_processes() would not be called, and children
Sat on this for a bit - the only thing about this that worried me was
that zap_pid_ns_processes() is moved much further down in do_exit().
After looking I see no reason why that would be a problem, though.
Acked-by: Serge Hallyn <serue@us.ibm.com>
--
| Aug 26, 7:24 pm 2008 |
| sukadev | Re: [PATCH 2/4] pid_ns: (BUG 11391) change ->child_reape ...
Oleg Nesterov [oleg@tv-sign.ru] wrote:
| We don't change pid_ns->child_reaper when the main thread of the
| subnamespace init exits. As Robert Rex <robert.rex@exasol.com>
| pointed out this is wrong.
|
| Yes, the re-parenting itself works correctly, but if the reparented
| task exits it needs ->parent->nsproxy->pid_ns in do_notify_parent(),
| and if the main thread is zombie its ->nsproxy was already cleared
| by exit_task_namespaces().
|
| Introduce the new function, find_new_reaper(), ...
| Aug 27, 11:04 am 2008 |
| Pavel Emelyanov | Re: [PATCH 1/4] pid_ns: zap_pid_ns_processes: fix the -> ...
> Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
--
| Aug 27, 4:35 am 2008 |
| sukadev | Re: [PATCH 1/4] pid_ns: zap_pid_ns_processes: fix the -> ...
Oleg Nesterov [oleg@tv-sign.ru] wrote:
| zap_pid_ns_processes() sets pid_ns->child_reaper = NULL, this is wrong.
|
| Yes, we have already killed all tasks in this namespace, and sys_wait4()
| doesn't see any child. But this doesn't mean ->children list is empty,
| we may have EXIT_DEAD tasks which are not visible to do_wait(). In that
| case the subsequent forget_original_parent() will crash the kernel because
| it will try to re-parent these tasks to the NULL reaper.
|
| Even if there are no ...
| Aug 26, 6:43 pm 2008 |
| Oleg Nesterov | Re: [PATCH 1/4] pid_ns: zap_pid_ns_processes: fix the -> ...
Perhaps you can start several instances or increase the delay, I
forgot that usleep() uses usecs, not msecs. In any case I agree,
the test-case is oversimplified, but since it worked for me I didn't
Yes, the comment could be better ;)
But no, we won't oops without children. Please note that
forget_original_parent() uses reaper inside the
list_for_each_entry_safe(father->children) loop. ->children is
empty, reaper is not used at all.
But please also note the "not good" part of the ...
| Aug 27, 9:36 am 2008 |
| sukadev | Re: [PATCH 3/4] pid_ns: de_thread: kill the now unneeded ...
Oleg Nesterov [oleg@tv-sign.ru] wrote:
| de_thread() checks if the old leader was the ->child_reaper, this is not
| possible any longer. With the previous patch ->group_leader itself will
| change ->child_reaper on exit.
|
| >From now find_new_reaper() is the only function (apart from initialization)
| which plays with ->child_reaper.
|
| Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
--
| Aug 27, 11:04 am 2008 |
| Serge E. Hallyn | Aug 26, 7:31 pm 2008 | |
| Pavel Emelyanov | Re: [PATCH 3/4] pid_ns: de_thread: kill the now unneeded ...
Acked-by: Pavel Emelyanov <xemul@openvz.org>
--
| Aug 27, 4:38 am 2008 |
| Pavel Emelyanov | Re: [PATCH 4/4] pid_ns: kill the now unused task_child_r ...
Acked-by: Pavel Emelyanov <xemul@openvz.org>
--
| Aug 27, 4:39 am 2008 |
| Serge E. Hallyn | Aug 26, 7:38 pm 2008 | |
| sukadev | Re: [PATCH 4/4] pid_ns: kill the now unused task_child_r ...
Oleg Nesterov [oleg@tv-sign.ru] wrote:
| task_child_reaper() has no callers anymore, kill it.
|
| Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
--
| Aug 27, 11:04 am 2008 |
| Andi Kleen | Re: An idea .... with code
> As far as features are concerned, please suggest me what could be done with /dev/loop0 and not for /dev/vblk?
Serious question? cryptoloop, offsets are the big ticket items,
i'm sure there are more.
-Andi
--
| Aug 27, 5:47 am 2008 |
| Andi Kleen | Re: An idea .... with code
I fail to see what your patch generalizes? AFAIK it just adds a new
Your goal is to replace all ioctls with sysfs files?
If it's that then I'm going on the book as saying that's a bad idea, especially
for this case. While ioctls have their problems they work quite well for many
things. I don't see any particular reason why ioctls should not be used
to configure loop devices.
-Andi
--
| Aug 27, 12:47 am 2008 |
| David Newall | Re: An idea .... with code
AFAYK it adds at least one new feature: partition tables.
--
| Aug 27, 2:57 am 2008 |
| Kasper Sandberg | Re: An idea .... with code
As far as cryptoloop goes, isnt that obsoleted anyway? is there anyone
that doesent use dm-crypt by now?
as for offsets, isnt this a logical thing to do with devicemapper
aswell?
ofcourse loop/losetup cannot just be removed, theres probably LOTS of
--
| Aug 27, 7:49 am 2008 |
| Andi Kleen | Re: An idea .... with code
It's like saying: FAT -- isn't that obsolete by now?
Wrong question. You lose.
-Andi
--
| Aug 27, 8:02 am 2008 |
| jassi brar | Re: An idea .... with code
Btw, my code is not a patch to the loop driver, its an altogether new module. May i daresay, it aims squarely at drivers/block/loop.c and mean to replace it altogether.
My module generalizes in the way that it doesn't add or make use of any ioctl. It doesn't even export a variable and makes uses only of what other subsystems provide for(block, sysfs, vfs).
Please do have a look at the code.
I add only one sysfs interface (manage), which when read returns the status of all the files being ...
| Aug 27, 5:38 am 2008 |
| jassi brar | Re: An idea .... with code
Hi Andi,
Before starting i would like to point out the 'philosophy' behind the idea.
Exceptions(special cases) make for entropy and hence complexity. Generalization keeps uniformity and hences Order and Ease.
We can't escape 'entropy' when emulating something that it is actually not, nevertheless we can minimize it by introducing as least and as localized changes as possible.
My idea congregates only determining changes at the lowest level(driver), unlike the respectable LOOP driver which ...
| Aug 27, 12:24 am 2008 |
| Andi Kleen | Re: An idea .... with code
kpartx does those for loop devices already.
-Andi
--
ak@linux.intel.com
--
| Aug 27, 3:01 am 2008 |
| Adrian Bunk | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
No, I am aware of that, and on i386 IRQ stacks are only used with
4kB stacks.
CONFIG_DEBUG_STACKOVERFLOW should give you the same information, and if
How many platforms use 4kB stacks on sh?
Only 1 out of 34 defconfigs uses it.
arm or powerpc aren't exactly lesser maintained architectures.
4kB has shown to be a hard to achieve limit. After more than 4 years in
mainline being available on i386 there are still cases where 4kB are not
enough.
IMHO there seems to currently be a ...
| Aug 27, 10:35 am 2008 |
| David Miller | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
From: Linus Torvalds <torvalds@linux-foundation.org>
The return values want to be "long" sign extended all the way back
down to syscall dispatch, I think this is just an effort to add
some consistency here so that the int --> long extension eventually
can be eliminated once unlocked_ioctl is the only case left.
--
| Aug 27, 3:43 pm 2008 |
| David Miller | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
From: Nick Piggin <nickpiggin@yahoo.com.au>
It's almost certainly from the cross-call dispatch call chain.
As just one example, just to do a TLB flush mm->cpu_vm_mask probably
gets passed around as an aggregate two or three times on the way down
to the APIC programming code on x86. That's two or three 512 byte
copies on the stack :)
Look at the sparc64 SMP code for how I solved the problem there.
--
| Aug 27, 12:05 am 2008 |
| Linus Torvalds | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
Well, doing
git log -p v2.6.26.. -Sunlocked_ioctl
and looking for blkdev_ioctl, that does seem to be the only one. So
hopefully no other case like this is lurking, although it is possible that
non-block areas have similar issues.
Linus
--
| Aug 27, 1:45 pm 2008 |
| Alexey Dobriyan | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
Anybody doing this, don't forget to actually use "inode" instead of all those
dereferences:
struct inode *inode = filp->f_path.dentry->d_inode;
--
| Aug 27, 3:45 pm 2008 |
| Alan Cox | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
Easier just to fix it. Its a case of building everything until it
compiles with the prototype change. Almost all stuff will just take the
argument initially and not use it.
Anyone else plan to do it or shall I hit all the x86 cases and post a
patch ?
--
| Aug 27, 3:08 pm 2008 |
| Jamie Lokier | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
It is, but the idea that small embedded systems go through a 'all
components are known, drivers are known, test and if it passes it's
Sounds reasonable, but it's vetoed for anticipated time and cost,
compared with backporting on demand. Fair enough, since 2.6.current
doesn't support ARM no-MMU last I heard ('soon'?).
On the other hand, the 2.6 anti-fragmentation patches, including
latest SLUB stuff, ironically meant to help big machines, sound really
appealing for my current problem and ...
| Aug 27, 10:51 am 2008 |
| Parag Warudkar | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
On Tue, Aug 26, 2008 at 9:49 PM, Linus Torvalds
IIRC the last I tried 4K stacks with x86 was on 2.6.21 - Fedora 7
kernel, around June 07 time frame.
What about deep call chains? The problem with the uptake of 4K stacks
seems to be that is not reliably provable that it will work under all
circumstances.
Parag
--
| Aug 26, 7:36 pm 2008 |
| Bernd Petrovitsch | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Falling prices are no reason to increase the amount of available RAM (or
other hardware).
Especially if you (intend to) build >1E5 devices - where every Euro
counts.
Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services
--
| Aug 27, 1:34 am 2008 |
| Bernd Petrovitsch | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Not always but often enough. And yes, there is ARM-based embedded
That is to be expected;-)
ACK. And tell that a customer that everything is more effort and more
risk and not just "simply cross-compile it as it runs on my desktop
too".
Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services
--
| Aug 27, 12:30 pm 2008 |
| Bernd Petrovitsch | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Yes, you may have several products on the same hardware with somewhat
differing requirements (or not). But that is much less than a general
That sounds reasonable (and I never meant maintaining the old system
infinitely. Actually once the thing is shipped it usually enters deep
ACK. But that also depends on amount local changes (and sorry, but not
Basically their problem. Yes, "they" actually think they get a Linux
system where they can do everything and it simply works.
Oh, that's ...
| Aug 27, 9:38 am 2008 |
| Mike Travis | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
It's been a while now, I should go back and check my notes. Many of the
BM's did not have any changes. I believe the ones that were right on the
That's another study I did, and it seemed that maybe 95% of the functions
would not be affected by passing pointers to cpumasks instead of the cpumasks
themselves, because the data was processed by a cpu_xxx function that
uses a pointer. Most commonly was to create a temp cpumask, using
cpus_and(temp_mask, callers_mask, cpu_online_map); The ...
| Aug 27, 7:35 am 2008 |
| Linus Torvalds | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
Well, I alrady reverted it, but if you actually fix unlocked_ioctl() to
have the same calling convention as regular ioctl() then a lot of the
noise from ioctl conversion goes away, and all that remains is literally
just the BKL part.
Btw, why is unlocked_ioctl returning "long"? Does anybody depend on that
too? That's another difference between the "unlocked" and the traditional
version..
As to the "x86 cases", I think you should try to hit them all. Doing a
"git grep ...
| Aug 27, 3:38 pm 2008 |
| Bernd Petrovitsch | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
What is an "embedded Linux arch"?
Of course. Look at the amount of work done by lots of people in that
If you "develop" an embedded system (which is partly system integration
of existing apps) to be installed in the field, you don't have that many
conceivable work loads compared to a desktop/server system. And you have
a fixed list of drivers and applications.
A usual approach is to run stress tests on several (or all)
subsystems/services/... in parallel and if the device survives ...
| Aug 27, 6:17 am 2008 |
| Greg Ungerer | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
I have some simple devices (network access/routers) with 8MB of RAM,
at power up not really being configured to do anything running 25
processes. (Heck there is over 10 kernel processes running!). Configure
some interfaces and services and that will easily push past 40.
I'd be happy with a 160k saving :-)
The init memory being freed at the end of the kernel boot is 88k,
4k stacks could save more than ...
| Aug 26, 5:53 pm 2008 |
| Paul Mackerras | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
I think your memory is failing you. In 2.4 and earlier, the kernel
stack was 8kB minus the size of the task_struct, which sat at the
start of the 8kB. For instance, from include/asm-i386/processor.h for
2.4.29:
#define THREAD_SIZE (2*PAGE_SIZE)
#define alloc_task_struct() ((struct task_struct *) __get_free_pages(GFP_KERNEL,1))
#define free_task_struct(p) free_pages((unsigned long) (p), 1)
Paul.
--
| Aug 26, 11:01 pm 2008 |
| Adrian Bunk | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
My main point is:
- getting 4kB stacks working reliably is a hard task
- having an eye on gcc increasing the stack usage, and fixing it if
required, is relatively easy
If we should be able to do better at getting (and keeping) 4kB stacks
working, then coping with possible inlining problems caused by gcc
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao ...
| Aug 27, 4:58 am 2008 |
| Parag Warudkar | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
By your logic though, XFS on x86 should work fine with 4K stacks -
many will attest that it does not and blows up due to stack issues.
I have first hand experiences of things blowing up with deep call
chains when using 4K stacks where 8K worked just fine on same
workload.
So there is definitely some other problem with 4K stacks.
Thanks
Parag
--
| Aug 27, 5:52 am 2008 |
| Paul Mundt | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Out of the architectures you've mentioned for 4k stacks, they also tend
to do IRQ stacks, which is something you seem to have overlooked.
In addition to that, debugging the runaway stack users on 4k tends to be
easier anyways since you end up blowing the stack a lot sooner. On sh
we've had pretty good luck with it, though most of our users are using
fairly deterministic workloads and continually profiling the footprint.
Anything that runs away or uses an insane amount of stack space needs to
be ...
| Aug 27, 9:00 am 2008 |
| Greg Ungerer | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Yes, of course. Considerable effort has been put into running
a minimal set of processes (that still for fills the required function
Lots of development boards are fitted with lots of RAM.
And the pressure will still be on in _real_ products to reduce
the RAM footprint as much as possible. There are exceptions but
Yep, been done too. You don't squeeze a lot into these smaller
Then you haven't looked in the right places :-)
There are plenty of choices for making things small in user ...
| Aug 26, 6:31 pm 2008 |
| Nick Piggin | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmalloc.c
5% is a pretty nasty performance hit... what sort of benchmarks are we
talking about here?
I just made some pretty crazy changes to the VM to get "only" around 5
or so % performance improvement in some workloads.
What places are making heavy use of cpumasks that causes such a slowdown?
Hopefully callers can mostly be improved so they don't need to use cpumasks
for common cases.
Until then, it would be kind of sad for a distro to ship a generic x86
kernel and lose 5% performance because ...
| Aug 26, 11:54 pm 2008 |
| Parag Warudkar | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
I see - so if I end up having a workload on 8k where heavy stack using
IRQs and deep kernel call chains come at the same time - even 8K will
blow up.
So 4K will blow too except that it doesn't require IRQs also to use
heavy stack, just XFS is good enough :)
It then seems like the IRQs using lot of stack is not so much of a
problem in the current kernel as much as deeper call chains and stack
usage of normal non-irq path code is.
So 8k makes it possible for the deeper call chains of non-irq ...
| Aug 27, 9:24 am 2008 |
| Linus Torvalds | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
[Empty message]
| Aug 27, 4:12 pm 2008 |
| Nick Piggin | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Yeah, I see. That's stupid isn't it? (Well, I guess it was completely
sane when cpumasks were word sized ;))
Hopefully that accounts for a significant chunk...
--
| Aug 27, 12:47 am 2008 |
| Parag Warudkar | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
But not many embedded Linux arches support 4K stacks like Adrian
pointed out earlier.
So the same (lot of man power requirement) would apply to Linux.
Sure it will be good - but how reasonable it is to attempt it and how
reliably it will work under all conceived loads - those are the
questions.
Thanks
Parag
--
| Aug 27, 5:56 am 2008 |
| Mike Travis | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
I will, thanks!
Mike
--
| Aug 27, 7:36 am 2008 |
| Linus Torvalds | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Yup, you're right.
Linus
--
| Aug 27, 8:18 am 2008 |
| Mike Travis | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Yes, the most time consuming part was determining whether a kmalloc
could safely be used in the context of the function, and what to
do about the out-of-memory problem. Pushing that down to something
like: for_each_cpu_thats_online(cpu, *maskptr) would remove the need for
many of the temp masks. A simple if (cpu != me) would take care of
excluding self. It might have better interaction with cpu hotplug
as well, since the online map would be checked just before the call
to that cpu is ...
| Aug 27, 7:48 am 2008 |
| Arjan van de Ven | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
but was shared with interrupts; so out of the 6Kb left, you had still really only 4Kb for user context stack
--
| Aug 27, 3:58 am 2008 |
| Adrian Bunk | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
That was gcc 3.4.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
| Aug 27, 4:58 am 2008 |
| Linus Torvalds | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
Being more careful.. This:
git grep 'unlocked_ioctl.*=' |
sed 's/^.*=[ ]*\([_a-zA-Z0-9]*\).*$/\1/' |
uniq | wc
says that ther are 160 distinct cases. I'm not sure it catches everything
exactly, but it will be reasonably close, at least.
I wonder if I could essentially automate something to do the conversion..
Linus
--
| Aug 27, 4:00 pm 2008 |
| Linus Torvalds | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
Well,, for 2.6.27 that's what we'll have to do. But there's actually a
real problem here - the unlocked ioctl's (which we _should_ prefer) have a
strictly weaker and worse interface. I also wonder if any other
block_ioctl users were converted..
Anyway, I'll take your email as an ack for the revert.
Linus
--
| Aug 27, 1:40 pm 2008 |
| Linus Torvalds | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Umm. Neither is 8k stacks. Nobody "proved" anything.
But yes, some subsystems have insanely deep call chains. And yes, things
like the VFS recursion (for symlinks) makes that deeper yet for
filesystems, although only on the lookup path. And that is exactly the
kind of thing that can exacerbate the problem of the compiler artificially
making for a bigger stack footprint of a function (*).
For things like the VFS layer, right now we allow a nesting level of 8, I
think. If I remember ...
| Aug 26, 7:52 pm 2008 |
| Parag Warudkar | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Well, sure - but the industry as a whole seems to have gone the other
way - do more with more at the similar or lower price points!
By that definition of less is better we should try and make the kernel
memory pageable (or has someone already done that?) - Windows does it,
by default ;)
Parag
--
| Aug 26, 7:16 pm 2008 |
| Bernd Petrovitsch | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
On Tue, 2008-08-26 at 22:16 -0400, Parag Warudkar wrote:
"The industry as a whole" doesn't exist on that low level. You can't
compare the laptop and/or desktop computer market (where one may buy
today hardware that runs in 3 years with the next generation/release of
the OS and applications) with the e.g. "WLAN router" market where - from
the commercial point of view - every Euro counts (and where the
requirements for the lifetime of the device are long frozen before the
That doesn't help as ...
| Aug 27, 1:44 am 2008 |
| Alan Cox | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Nothing of the sort. If it blows up with a 4K stack it will almost
certainly blow up with an 8K stack *eventually* - when a heavy stack usage
coincides with a heavy stack using IRQ handler.
You won't catch it in simple testing, you won't catch it in trivial
simulation and it'll be incredibly hard to reproduce. Not the kind of bug
you want in a production system really. IRQ stacks make things much more
predictable.
Alan
--
| Aug 27, 6:21 am 2008 |
| Peter Osterlund | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
Why not just revert the offending change and try again during the next
merge window, assuming someone has figured out an acceptable way to
handle this mess by then?
--
Peter Osterlund - petero2@telia.com
http://web.telia.com/~u89404340
--
| Aug 27, 1:17 pm 2008 |
| Alan Cox | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
I don't know - a lot of syscall returns got defined as long and I guess
I'll take a crack at it tomorrow - but if its 185 entries then it
probably wants to go into -next instead.
Alan
--
| Aug 27, 3:28 pm 2008 |
| Linus Torvalds | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Umm. How long?
4kB used to be the _only_ choice. And no, there weren't even irq stacks.
So that 4kB was not just the whole kernel call-chain, it was also all the
irq nesting above it.
And yes, we've gotten much worse over time, and no, I can't really suggest
going back to that in general. The code bloat has certainly been
accompanied by a stack bloat too.
But part of it is definitely gcc. Some versions of gcc used to be
absolutely _horrid_ when it came to stack usage, especially ...
| Aug 26, 6:49 pm 2008 |
| Jamie Lokier | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Sounds like what's really desired here isn't more worry and
unpredictability, but for GCC+Binutils to gain the ability to
calculate the stack depth over all callchains (doesn't have to be
exact, just an upper bound; annotate recursions) in a way that's good
enough to do on every compile, complain if a depth is exceeded
statically (or it can't be proven), and to gain the
In my userspace code, I have macros tmp_alloc and tmp_free. They must
be matched in the same function:
unsigned ...
| Aug 27, 9:21 am 2008 |
| Adrian Bunk | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
From some tests the size increase seems to become bigger for smaller
kernels, but I don't have any really good data.
An interesting question is why most of our architectures for embedded
devices only offer bigger stacks:
The only architectures offering a 4kB stacks option are:
- m68knommu
- sh
- 32bit x86
The following architectures that are used in embedded devices
always use 8kB stacks (or bigger) in your tree:
- arm
- avr32
- blackfin
- cris
- frv
- h8300
- m32r
- ...
| Aug 26, 5:23 pm 2008 |
| Parag Warudkar | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
On Tue, Aug 26, 2008 at 7:47 PM, Linus Torvalds
The savings part -financial ones- are not always realizable with the
way memory is priced/sized/fitted.
Savings in few Mb of Kernel stack are not necessarily going to allow
getting rid of a single memory chip of 64M or so.
Either that or embedded manufacturing/configurations are different
than the desktop world.
(If my device has 2 memory slots and my user space requires 100Mb
including kernel memory - I anyways have to put in 64Mx2 there to ...
| Aug 26, 5:58 pm 2008 |
| Parag Warudkar | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
So you really need to run all 25 processes on that 8Mb box?
(For reference even the NGW100 development board comes with 16Mb RAM).
Even if you do need those all 25 processes on the 8Mb box, fixing the
memory usage of those user space hogs is lot better than trying to
save 160Kb in kernel stacks.
Last I looked, user space wasn't particularly frugal with memory usage.
Parag
--
| Aug 26, 6:08 pm 2008 |
| David Miller | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
From: Nick Piggin <nickpiggin@yahoo.com.au>
There is a lot of indirect costs that are hard to see as well.
Two things a lot of these cross-call dispatch paths do is:
1) Clear self-cpu
2) AND with cpus_online
#1 can normally be a simple bit clear, but some places can also
implement this with something like "cpus_andn(X, cpumask_of_cpu(cpu))"
It's simply easier to move those two things down to the bottom of
the APIC programming code, they just loop over the cpumask doing
an expensive ...
| Aug 27, 1:44 am 2008 |
| Linus Torvalds | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
XFS may never have been usable, but the rest, sure.
And you seem to be making this whole argument an excuse to SUCK, adn an
excuse to let gcc crap even more on our stack space.
Why?
Why aren't you saying that we should be able to do better? Instead, you
seem to asking us to do even worse than we do now?
Linus
--
| Aug 26, 5:28 pm 2008 |
| Jamie Lokier | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Hah! Not in my line of embedded device.
32MB no-MMU ARM boards which people run new things and attach new
devices to rather often - without making new hardware. Volume's too
low per individual application to get new hardware designed and made.
I'm seriously thinking of forwarding porting the 4 year old firmware
from 2.4.26 to 2.6.current, just to get new drivers and capabilities.
Backporting is tedious, so's feeling wretchedly far from the mainline
Per application.
Some little ...
| Aug 27, 8:48 am 2008 |
| Alan Cox | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
> You have a good point that aiming at 4kB makes 8kB a very safe choice.
Not really no - we use separate IRQ stacks in 4K but not 8K mode on
x86-32. That means you've actually got no more space if you are unlucky
with the timing of events. The 8K mode is merely harder to debug.
If 4K stacks really are not safe then x86-32 really really needs to
switch to using IRQ stacks in 8K stack mode as well.
Alan
--
| Aug 27, 1:25 am 2008 |
| Bernd Petrovitsch | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
On Tue, 2008-08-26 at 20:58 -0400, Parag Warudkar wrote:
No, but you can put an additional service(s) on it and sales people have
They are different. Think of running the complete system acting as a
bridge, router and/or firewall (Kernel early 2.4 though) from 4MB flash
in 32MB RAM and - listing the outside visible services - having a
command-line interface, web-GUI (implying a http server) and and a
(net-)SNMP agent on it.
Running a glibc without thread support is win there (implying that ...
| Aug 27, 2:00 am 2008 |
| Alan Cox | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
On x86-32 with 8K stacks your IRQ paths share them so that is even harder
to prove (not that you can prove any of them) and the bugs are more
obscure and random.
--
| Aug 27, 1:32 am 2008 |
| Alan Jenkins | Re: [BUG] get_rtc_time() triggers NMI watchdog in hpet_r ...
Isn't the problem that it gets called from a timer IRQ? So irqs are
enabled globally, but the timer IRQ is masked.
[<c0139cc0>] hrtimer_run_pending+0x20/0x90
[<c01478a8>] handle_IRQ_event+0x28/0x50
[<c0148f71>] handle_edge_irq+0xa1/0x120
[<c010615b>] do_IRQ+0x3b/0x70
[<c0113225>] smp_apic_timer_interrupt+0x55/0x80
[<c0103c4f>] common_interrupt+0x23/0x28
Which in turn is probably because the userspace "RTC interrupt"
interface is emulated using RTC reads within the main timer ...
| Aug 27, 1:54 am 2008 |
| Jesse Barnes | Re: [PATCH] pci: Fix printk warnings in probe.c
I put both of these resource size fixes into my linux-next branch, thanks.
Jesse
--
| Aug 27, 4:36 pm 2008 |
| Matthew Wilcox | Re: [PATCH, v2] PCI: create function symlinks in /sys/bu ...
You're clearly not hanging on every word of our Dear Leader:
http://marc.info/?l=linux-kernel&m=121924636529367&w=2
--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--
| Aug 27, 7:21 am 2008 |
| Alex Chiang | Re: [PATCH, v2] PCI: create function symlinks in /sys/bu ...
Hrm, given the harder line Linus has taken against "regression
only" patches lately, it can probably wait another release cycle.
After all, it's been un-documented since pre-git history anyway.
;)
Thanks.
/ac
--
| Aug 26, 8:50 pm 2008 |
| Greg KH | Re: [PATCH, v2] PCI: create function symlinks in /sys/bu ...
I read that, and parsed:
I generally won't complain about them, but I also don't see the
point.
as being up to the maintainer's judgement.
So in this case, it's up to Jesse :)
thanks,
greg k-h
--
| Aug 27, 8:04 am 2008 |
| Greg KH | Re: [PATCH, v2] PCI: create function symlinks in /sys/bu ...
Documentation updates and new stand-alone drivers are ok at all times :)
thanks,
greg k-h
--
| Aug 26, 9:01 pm 2008 |
| Jesse Barnes | Re: [PATCH, v2] PCI: create function symlinks in /sys/bu ...
Linus seems cranky lately, no need to tempt him to flame me I think (besides I
don't have any other critical stuff queued up atm; I'm definitely not going
to ask him to pull just a doc update this late in the cycle).
--
Jesse Barnes, Intel Open Source Technology Center
--
| Aug 27, 3:44 pm 2008 |
| Randy Dunlap | Re: [Patch] Trivial: fix "*er then" typos and more
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Thanks..
~Randy
--
| Aug 27, 3:08 pm 2008 |
| Andrew Morton | Re: [PATCH] TPM: include subscribers-only notation in MA ...
On Fri, 22 Aug 2008 13:51:12 -0300
- patch title ("TPM: include subscribers-only notation in
MAINTAINERS) is now wrong.
- patch has no changelog
- patch has no signoff.
I can (and often do) fix the first two things, and sometimes I'll even
fix the third, while notifying the submitter.
I would prefer to not have to do so though.
--
| Aug 26, 5:53 pm 2008 |
| Jeff Garzik | Aug 27, 2:19 am 2008 | |
| Jesse Barnes | Re: [PATCH] PCI: Document that most pci options are shar ...
Yeah this should make things less confusing, applied to linux-next, thanks.
Jesse
--
| Aug 27, 4:37 pm 2008 |
| Bruce_Leonard | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
Well, in my posting I noted that the mtd-utils were broken because of this
but I didn't really have any idea as to how to fix things. I can see why
it would be a big no-no to change this. Do you have any suggestions on
There was a LOT of interest in this over the last few months while I was
working on it, but a very suprising silence has developed since I posted
I started with the MTD list and then also posted to lkml when I realized I
had forgotten to CC it.
Thanks.
Bruce
--
| Aug 26, 6:21 pm 2008 |
| David Woodhouse | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
True, and we'll definitely need a new MEMERASE64 ioctl. But for the
_informational_ parts, those can happily be done through sysfs.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Aug 27, 2:01 am 2008 |
| Tim Anderson | RE: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
Artem,
I see your point. Ioctls are going away after all.
So we should have something like:
/sys/class/mtd/mtd0/
--
| Aug 26, 11:20 pm 2008 |
| Artem Bityutskiy | RE: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
I am not very good in LDM, but it does not look like MTD stuff should go
to /sys/class/. I'd say it should be in /sys/devices/.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
--
| Aug 26, 11:38 pm 2008 |
| Alan Cox | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
On Tue, 26 Aug 2008 23:20:46 -0700
I don't know where that stupid story keeps coming from. Ioctl is alive
and well and there are more not less of them. There are lots of things
you *cannot* do with sysfs, including synchronization and handling
many kinds of changes to objects that can appear and disappear. Ditto
there are problems with getting a consistent snapshot via sysfs because
you can't atomically read multiple fields.
So please stop this 'ioctls are going away' stuff, its ...
| Aug 27, 1:39 am 2008 |
| Artem Bityutskiy | RE: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
dwmw2 vetoed any MEMGETINFO ioctl changes, or new similar ioctls, and it
kind of make sense, because we should use sysfs instead. But this, in
turn, means implementing sysfs support for MTD, because MTD is not
LinuxDeviceModel-enabled at the moment.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
--
| Aug 26, 11:03 pm 2008 |
| Ricard Wanderlof | RE: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
If the (lack of) sysfs stuff is standing between us and a nice >4GiB mtd I
for one would think that a set of 64-bit ioctls would be a reasonable
halfway house.
/Ricard
--
Ricard Wolf Wanderlöf ricardw(at)axis.com
Axis Communications AB, Lund, Sweden www.axis.com
Phone +46 46 272 2016 Fax +46 46 13 61 30
--
| Aug 26, 11:49 pm 2008 |
| Artem Bityutskiy | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
Hi Bruce,
Unfortunately, it is unacceptable to break existing stuff, even old
crappy mtd utils :-). That's simply how we work in the kernel community.
Stuff which you do is always not simple because you have to make sure
all legacy stuff does not break. So you'll need to invest more time into
Yeah, sometimes MTD ML just ignores patches, I am in the same boat, but
even if you've decided to send stuff to lkml, please, CC MTD ML anyway.
--
Best regards,
Artem Bityutskiy (Битюцкий ...
| Aug 26, 10:56 pm 2008 |
| Bruce_Leonard | RE: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
Now there's something I hadn't thought of. Thanks, I'll look into doing
it that way.
--
| Aug 26, 7:42 pm 2008 |
| Andrew Morton | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
Yes, I expect that a new ioctl would be best. Sometimes it is possible
to extend an existing one (and its associated payload) but that
requires versioning info which usually wasn't thought of on day one.
But David's the man.
--
| Aug 26, 7:08 pm 2008 |
| Jörn | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
sysfs makes adding new attributes easier, yes. But once added you
cannot remove the attribute again - ever. Which means that either way
you need to tread carefully and think twice before making a rash
Could be useful, I don't mind you sending a patch. However, does this
means that MEMGETINFO64 or some other ioctl should not be done? Should
flash_erase open, read and close 8 seperate files instead of doing a
single ioctl? And should our support for large devices wait for the
sysfs support ...
| Aug 27, 8:25 am 2008 |
| Trent Piepho | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
You can do this with ioctls, if you designed them with extra space and
versioning from the beginning.
| Aug 27, 12:44 pm 2008 |
| Artem Bityutskiy | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
On the other hand we'll stay with half-solutions forever if we allow them.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
| Aug 27, 12:08 am 2008 |
| Tim Anderson | RE: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
Bruce,
Since you don't want to change the ABI you need to extend it. Andrew, should
he add an new ioctl that passes a new structure definition? That way the
--
| Aug 26, 6:40 pm 2008 |
| Bruce Leonard | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
Having started this mess, I'll throw my half euros worth in :). While
I agree that sysfs is the right way to go, I'm not going to be able to
pull it off. Not withstanding my total lack of knowledge about sysfs,
I've been very fortunate in that I've been doing all of this work on
company time. Due to project constraints, that company time is coming
to an end. I could eek out another week or two and get a set of 64-
bit ioctls, but I will not be able to spend a couple more months ...
| Aug 27, 12:10 am 2008 |
| David Woodhouse | RE: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
Tim, please stop top-posting.
I'm not sure I'd say I _vetoed_ new ioctls, but I certainly expressed a
desire to do all the information stuff through sysfs. We would need a
new MEMERASE64 ioctl though.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
--
| Aug 26, 11:35 pm 2008 |
| Artem Bityutskiy | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
The plus of sysfs I see is that I can add more files to expose more
information in sysfs, while I can not change MEMGETINFO ioctl. E.g., I
need to expose sub-page size to user-space, and I cannot do this with
I would like to make udev creating MTD devices, instead of creating them
by hands. Adding MTD to LDM would anyway introduce corresponding sysfs
files, right? This means we would have one more interface anyway.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
--
| Aug 27, 7:47 am 2008 |
| Tim Anderson | RE: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
Bruce,
I have been experimenting with this. I think there is at least 3 maybe 4
IOCTLS that are going to need to have a LARGE mode. The 2 most obvious are
MEMGETINFO and MEMERASE. I was starting to code something up that passes the
size as blocks as opposed to bytes. That may be more consistent with UBI. I am
doing a little experimenting if you want some help there. In any case, it can
be done where the old utility can work (for 2GB and less size devices) and a
new call not supported by the ...
| Aug 26, 11:01 pm 2008 |
| Jörn | Re: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
They certainly can, but should they? There may be some reason to prefer
sysfs that should be self-evident - except that I'm a bit thick and seem
to need it spelled out. Or maybe I've just become disillusioned with
the practice of replacing crappy interfaces (ioctl here) with other
crappy interfaces (sysfs here) and having to support both for all
eternity. sysctl, ioctl, proc, sysfs, debugfs, netlink, ... -
individually they all suck in their own peculiar way. But together they
create a mess ...
| Aug 27, 7:34 am 2008 |
| Evgeniy Polyakov | Re: loaded router, excessive getnstimeofday in oprofile
It depends... If it turns timestamps on, then you will have this
behaviour. Please check if timestamps are actually enabled, so we could
remove one (im)possible case.
--
Evgeniy Polyakov
--
| Aug 27, 7:23 am 2008 |
| Andi Kleen | Re: loaded router, excessive getnstimeofday in oprofile\
When this happens then new incoming packets will be lost anyways
because there will be no new packets fed back into the RX ring
because their allocation will either stall or fail too.
I don't think time stamps of dropped packets are very useful ;-)
-Andi
--
ak@linux.intel.com
--
| Aug 27, 3:38 pm 2008 |
| Rick Jones | Re: loaded router, excessive getnstimeofday in oprofile
I'm guessing you mean increase their latency? I agree, it could -
depends entirely on the PPS in production I suspect.
rick jones
ftp://ftp.cup.hp.com/dist/networking/briefs/nic_latency_vs_tput.txt
I should probably refresh/update that one of these days
--
| Aug 27, 9:49 am 2008 |
| David Miller | Re: loaded router, excessive getnstimeofday in oprofile
From: Andi Kleen <andi@firstfloor.org>
They want the timestamps, but they want it to match when the packet
arrived at their system as closely as is reasonably possible.
Socket based solutions don't do that, because we can be sleeping on
GFP_KERNEL memory or similar with the socket locked, and thus not
be able to set the timestamp until the task wakes up and processes
the backlog.
--
| Aug 27, 3:18 pm 2008 |
| Andi Kleen | Re: loaded router, excessive getnstimeofday in oprofile
This change would actually likely lower their latency.
-Andi
--
| Aug 27, 9:27 am 2008 |
| Andi Kleen | Re: loaded router, excessive getnstimeofday in oprofile
No, moving the time stamps into the socket decreases latency
for all packets that don't need time stamps. And they likely
have some packets which don't need time stamps too.
As a secondary effect if they use a RT kernel it might
be also beneficial to do the (depending on the platform)
costly time stamp in the lower priority socket context
than in the high priority interrupt thread.
-Andi
--
| Aug 27, 9:56 am 2008 |
| Evgeniy Polyakov | Re: loaded router, excessive getnstimeofday in oprofile
Can you put debug print into
net_enable_timestamp()/net_disable_timestamp() to determine if someone
--
Evgeniy Polyakov
--
| Aug 27, 5:36 am 2008 |
| Eric Dumazet | Re: loaded router, excessive getnstimeofday in oprofile
Doing the expensive timestamping in a possibly delayed thread (ie some milliseconds
after hardware notification) is wrong/useless.
Better use plain xtime instead of getnstimeofday() in this case.
We could provide a sysctl setting so that admin can chose between precise timestamps
(current behavior) or fast but low resolution timestamping (xtime based)
--
| Aug 27, 10:27 am 2008 |
| David Miller | Re: loaded router, excessive getnstimeofday in oprofile
From: Andi Kleen <andi@firstfloor.org>
By the time you get to the socket, it might be eons (relatively
speaking) later, decreasing the usefulness of the timestamp.
As just an odd example if the TCP socket is user locked at the moment,
because the user is blocked on a GFP_KERNEL allocation, it could be
a very long time before we actually process the packet and timestamp
it.
UDP now does similar socket locking so could potentially hit the same
kind of problem.
That was my argument against ...
| Aug 27, 2:34 pm 2008 |
| Andi Kleen | Re: loaded router, excessive getnstimeofday in oprofile
I and also other people had some patches to move the time stamp
measuring into the socket. This way the time stamping didn't need to
be enabled on all packets, only on those that actually end up at a
socket that requires the time stamp.
Unfortunately DaveM didn't like it because some bank wanted
different semantics, see the discussion in
http://thread.gmane.org/gmane.linux.network/91679
Perhaps you can find out which bank it was and send them a bill for
your CPU time ;-)
-Andi
-- ...
| Aug 27, 5:54 am 2008 |
| Jarek Poplawski | Re: loaded router, excessive getnstimeofday in oprofile
And what is working advice?
Why exactly admin can't chose between 2 alternatives here?
Jarek P.
--
| Aug 27, 10:14 am 2008 |
| David Miller | Re: loaded router, excessive getnstimeofday in oprofile\
From: Andi Kleen <andi@firstfloor.org>
This is a much different kind of delay compared to sleeping for seconds
or longer on the socket lock while a GFP_KERNEL allocation is being
satisfied by swapping tons of crap out to disk.
Your socket solution is not a workable scheme.
--
| Aug 27, 3:23 pm 2008 |
| Andi Kleen | Re: loaded router, excessive getnstimeofday in oprofile
Then they should use hardware time stamps which are increasingly
available (e.g. current Intel e1000 design has them and I expect
others too).
-Andi
--
| Aug 27, 3:39 pm 2008 |
| Andi Kleen | Re: loaded router, excessive getnstimeofday in oprofile\
We had this discussion earlier, please review the thread I linked to.
Note that interrupts can be arbitarily delayed too (both by cli
and by interrupt mitigation), even on a non RT kernel.
If you want exact notification (packet arriving at your NIC's buffers) you
need NIC hardware support (and more and more NICs have it[1]).
If you do it in software then even the interrupt is at the end of a long
queue with a pretty much arbitary delay. Doing it in socket context is
just one queue ...
| Aug 27, 11:32 am 2008 |
| Stephen Hemminger | Re: loaded router, excessive getnstimeofday in oprofile
On Wed, 27 Aug 2008 14:54:12 +0200
Look at /proc/net/ptype to see if any AF_PACKET sockets are open.
There are several causes of this:
* Applications like DHCP use AF_PACKET when they could use something else
* AF_PACKET API was poorly designed and always has timestamps
* The choice was made to get more accurate timestamps by stamping early in
receive code. A better alternative would be to do it in protocol handler
after the socket filter. Sorry, Andi socket layer is too ...
| Aug 27, 9:17 am 2008 |
| Rick Jones | Re: loaded router, excessive getnstimeofday in oprofile
Those banks really want to crank down on latency - to the point they
start disabling interrupt coalescing. I bet they'd toss anything out
they could to shave another microsecond.
rick jones
--
| Aug 27, 9:07 am 2008 |
| Denys Fedoryshchenko | Re: loaded router, excessive getnstimeofday in oprofile
It is busybox udhcpd... i guess it is innocent. Even i kill it - it doesn't
change anything at all.
Only who possible listen multicast socket - it is ripd, i cannot kill him. But
i think it doesn't matter much too...
--
| Aug 27, 7:00 am 2008 |
| Rick Jones | Re: loaded router, excessive getnstimeofday in oprofile
Ah, since that part of the discussion wasn't in the quoted text I
assumed you were talking about the disabling of interrupt coalescing.
--
| Aug 27, 9:57 am 2008 |
| Denys Fedoryshchenko | Re: loaded router, excessive getnstimeofday in oprofile
Yes, when i run tcpdump even without promisc at peak time, machine will be
almost dead. Transit traffic will be 100ms+. I know that it is timestamping
There is very short list of tasks. Attached.
| Aug 27, 5:09 am 2008 |
| Stephen Hemminger | Re: [PATCH] IPROUTE: correct nla nested message generate ...
On Wed, 27 Aug 2008 22:47:50 +0200
Thomas is right. The ABI was established incrementally and does not use
pure nested format. The original format was just one structure, then
as additional features were added, additional attributes were added.
--
| Aug 27, 2:10 pm 2008 |
| Duyck, Alexander H | RE: [PATCH] IPROUTE: correct nla nested message generate ...
I think you will find that format a only existed in netem prior to your changes in nla_parse_nested_compat, and the problem is option b, which was a nested compat attribute, can no longer be parsed at all. Basically what was generated before was an attribute with a nested attribute following it as data. Now what you have is an attribute followed by a series of other attributes.
Also you are incorrect about nla_parse_nested. The layout for it is something more like:
C) (nested format)
...
| Aug 27, 9:30 am 2008 |
| Thomas Graf | Re: [PATCH] IPROUTE: correct nla nested message generate ...
Please learn to use you enter key. Thank you.
For the last time, the message format *CANNOT* be changed, the ABI has to
be stable. I didn't change the ABI, I _restored the ABI to the original
state after it was broken by the initial nla_parse_nested_compat()
implementation which contained a bug.
It's actually trivial to figure this out in 5 minutes using
git-whatchanged, not sure why you didn't do it.
1092cb219774a82b1f16781aec7b8d4ec727c981
[NETLINK]: attr: add nested compat attribute ...
| Aug 27, 1:47 pm 2008 |
| Thomas Graf | Re: [PATCH] IPROUTE: correct nla nested message generate ...
How was it ever supposed to work? The code looked like the following
prior to commit b03f4672007e533c8dbf0965f995182586216bf1 which made
it used nla_parse_nested_compat()
- /* Handle nested options after initial queue options.
- * Should have put all options in nested format but too late now.
- */
- if (nla_len(opt) > sizeof(*qopt)) {
- struct nlattr *tb[TCA_NETEM_MAX + 1];
- if (nla_parse(tb, TCA_NETEM_MAX,
- ...
| Aug 27, 7:41 am 2008 |
| Paul E. McKenney | Re: [PATCH 2/2] smp_call_function: use rwlocks on queues ...
Which might not be so good from a powertop viewpoint, since grace
periods only take a few milliseconds, and powertop likes to keep CPUs
sleeping for seconds. But one could designate a set of CPUs that
scanned nearby counters -- carefully chosed WRT the system in question
One could keep an index of already-scanned counters, which would
You still have to scan all of the leaves... Though you can divide the
work over a set of CPUs, again, as long as those CPUs are chosen so as
to balance ...
| Aug 27, 8:16 am 2008 |
| Paul E. McKenney | Re: [PATCH, RFC, tip/core/rcu] scalable classic RCU impl ...
I used to, back when identifiers were only guaranteed to be
I suppose I should read the spec.
Thanx, Paul
--
| Aug 27, 1:41 pm 2008 |
| Paul E. McKenney | Re: [PATCH, RFC, tip/core/rcu] scalable classic RCU impl ...
Good point...
#ifdef READER_LIKES_DOCUMENTATION_URLS_IN_COMMENTS
* Documentation/RCU
* http://lwn.net/Articles/262464/ (What is RCU, Fundamentally?)
* http://lwn.net/Articles/263130/ (What is RCU's Usage?)
* http://lwn.net/Articles/264090/ (What is RCU's API? + references)
#else
* Documentation/RCU
#endif
Of course, the C preprocessor would just remove the whole comment
Documentation/RCU/whatisRCU.txt does in fact contain the three URLs
listed above. And there is always ...
| Aug 27, 11:28 am 2008 |
| Paul E. McKenney | Re: [PATCH, RFC, tip/core/rcu] scalable classic RCU impl ...
Even if one argument of || is long and the other int or some fool thing
like that? (What, me paranoid???)
Thanx, Paul
--
| Aug 27, 11:34 am 2008 |
| Josh Triplett | Re: [PATCH, RFC, tip/core/rcu] scalable classic RCU impl ...
No. || will always return 1 or 0. You only need the !! if you want to
directly return the boolean value of a potentially 64-bit pointer.
- Josh Triplett
--
| Aug 26, 5:38 pm 2008 |
| Josh Triplett | Re: [PATCH, RFC, tip/core/rcu] scalable classic RCU impl ...
What, you don't know exactly how C behaves in every strange corner
case? ;)
|| always produces a result of type int, and it compares each of its two
arguments to 0 independently; to the best of my knowledge the size of
those arguments never matters.
- Josh Triplett
--
| Aug 27, 1:23 pm 2008 |
| Steven Rostedt | [PATCH] ftrace: disable tracing for suspend to ram
I've been painstakingly debugging the issue with suspend to ram and
ftraced. The 2.6.28 code does not have this issue, but since the mcount
recording is not going to be in 27, this must be solved for the ftrace
daemon version.
The resume from suspend to ram would reboot because it was triple
faulting. Debugging further, I found that calling the mcount function
itself was not an issue, but it would fault when it incremented
preempt_count. preempt_count is on the tasks info structure that ...
| Aug 27, 6:14 am 2008 |
| Rafael J. Wysocki | Re: [PATCH] ftrace: disable tracing for suspend to ram
Well, if that's enable_nonboot_cpus() that's faulting, I guess a similar change
in the hibernation code is needed. I'll try to prepare a patch for that.
Thanks,
Rafael
--
| Aug 27, 6:26 am 2008 |
| Marcin Slusarz | Re: [PATCH] ftrace: disable tracing for suspend to ram
You can add my:
Tested-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Thanks!
Marcin
--
| Aug 27, 2:27 pm 2008 |
| David Vrabel | Re: [patch] Add helper macros for little-endian bitfields
But why is this worthy of a crispy flaming? I've not seen anything
definite beyond a somewhat vague 'some compilers don't optimize
bitfields very well'.
The structure definition and the DECL_BF_LEx() macros might be ugly but
the code using the structures is clearer. For example,
get_random_bytes(&tiebreaker, sizeof(unsigned));
drp_ie->tiebreaker = tiebreaker & 1;
versus
get_random_bytes(&tiebreaker, sizeof(unsigned));
drp_ie->drp_control |= (tiebreaker & 1)
...
| Aug 27, 8:20 am 2008 |
| Linus Torvalds | Re: [patch] Add helper macros for little-endian bitfields
Actually, it's not that compilers often optimize bitfields really badly.
It's also that bitfields are a total f*cking disaster when it comes to
endianness. As you found out.
Bitfields are fine if you don't actually care about the underlying format,
and want gcc to just randomly assign bits, and want things to be
convenient in that situation.
But _if_ you care about the underlying format, then inevitably the
bitfield costs will be much higher than just using bit operations on ...
| Aug 27, 2:26 pm 2008 |
| Jeremy Fitzhardinge | Re: [patch] Add helper macros for little-endian bitfields
Why not just
drp_ie->drp_control |= tiebreaker & UWB_DRP_IE_DRP_CTRL_TIEBREAKER;
then? Doesn't matter which random bit you pick, does it?
J
--
| Aug 27, 2:19 pm 2008 |
| Benjamin Herrenschmidt | Re: [PATCH] genirq: irq_chip->startup() usage in setup_i ...
Oh, I don't disagree. It's probably a good idea. I'm just worried of
the potential impact on existing code written around the current
behaviour.
We have 23 calls to set_irq_chained_handler in arch/powerpc, and I need
to audit them all. Luckily, we mostly don't have startup() callbacks.
(... some time later ...)
It looks good. Of course, we'll have to test at one point, but at this
stage, I think powerpc is happy with the change.
Interestingly enough, I can see a case where we would ...
| Aug 26, 5:06 pm 2008 |
| jmerkey | Aug 26, 6:49 pm 2008 | |
| Serge E. Hallyn | Re: [RFC v2][PATCH 4/9] Memory management - dump state
It's true there are out-of-tree proofs-of-concept for in-kernel c/r, but
on the other hand it is nice seeing where Oren's code is going. Based
on the patchsets you and he have been sending, the impression I've
gotten was that Oren was fleshing out the longer-term tree, while you
were working on the upstream-acceptable minimal patchset. That seems
like a good model to me. (Was I wrong about either of your intents?)
It does mean that much of Oren's patchset may end up having to be
re-written ...
| Aug 27, 1:34 pm 2008 |
| Dave Hansen | Re: [RFC v2][PATCH 4/9] Memory management - dump state
That would probably work as long as Oren is working on top of what I
have. It's going to be a lot harder if I have to repeat the same
break-out process for each iteration of Oren's patches, though.
-- Dave
--
| Aug 27, 1:38 pm 2008 |
| Louis Rilling | Re: [RFC v2][PATCH 4/9] Memory management - dump state
ENOSYS?
Louis
--=20
Dr Louis Rilling Kerlabs
Skype: louis.rilling Batiment Germanium
Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes
http://www.kerlabs.com/ 35700 Rennes
| Aug 27, 8:57 am 2008 |
| Dave Hansen | Re: [RFC v2][PATCH 4/9] Memory management - dump state
The trick would be compromising on things that I, for instance, think
need to be rewritten or removed.
Oren would have to rebase his work against what I do. I guess you could
think about it like me being upstream from Oren. Anything that I would
change, Oren would need to rebase on top of.
Oren, are you willing to keep a set of patches that add functionality on
top of a minimal set that I'm keeping? Mine being the set that we're
trying to push into mainline as soon as possible.
-- ...
| Aug 27, 1:56 pm 2008 |
| Jeremy Fitzhardinge | Re: [RFC v2][PATCH 4/9] Memory management - dump state
Or EOPNOTSUPP - but that's documented as a network error ("Operation not
supported on transport endpoint").
J
--
| Aug 27, 9:19 am 2008 |
| Serge E. Hallyn | Re: [RFC v2][PATCH 4/9] Memory management - dump state
If Oren's purpose is not quite to create a upstreamable patchset,
then it would make more sense for him to keep a git tree and
put new patches on top of his existing ones (within reaason as he
rebases). Then you'd at least be able to trivially look at the latest
deltas.
-serge
--
| Aug 27, 1:48 pm 2008 |
| Louis Rilling | Re: [RFC v2][PATCH 7/9] Infrastructure for shared objects
AFAICS, all hash implementations work like this (I'm referring to pid hashes
and compat_ioctl hashes for instance). The only common code is the hash
functions, which Oren seems to have used.
Radix trees may be an alternative, given that object tags are sequentially
generated in some way. I have no idea about the simplicity we can gain thou=
gh.
Louis
--=20
Dr Louis Rilling Kerlabs
Skype: louis.rilling Batiment Germanium
Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de ...
| Aug 27, 1:26 am 2008 |
| Dave Hansen | Re: [RFC v2][PATCH 4/9] Memory management - dump state
So, you currently have buy-in on this basic approach from the OpenVZ
guys, and probably Ingo. If you get too far along in the "design and
functionality" and a community member comes up with a really good
objection to some basic part of the "design and functionality" you're
going to have a lot of code to rewrite.
I'm trying to get minimized the quantity of "design and functionality"
down to the bare minimum set where we can get this merged. So, yes, I
do think these should be sent for ...
| Aug 27, 8:41 am 2008 |
| Dave Hansen | Re: [RFC v2][PATCH 4/9] Memory management - dump state
Brain not functioning, yet. Thanks.
-- Dave
--
| Aug 27, 9:12 am 2008 |
| Oren Laadan | Re: [RFC v2][PATCH 4/9] Memory management - dump state
The classifications helps to make the code cleaner (and more readable). In
any case, you need at least to save a classifier that tells whether a shared
VMA is anonymous, or mapped to a file, or is an IPC shmem segment (and also
whether that IPC segment has been removed - a la unlinked): you simply don't
treat them equally; and on the restart side you can't re-test it on the VMA
structure itself.
Given that we need a classifier anyway, re-using it to describe all VMAs and
not only ...
| Aug 26, 5:14 pm 2008 |
| Oren Laadan | Re: [RFC v2][PATCH 2/9] General infrastructure for check ...
I disagree. It's more than "allocate memory", it's: "give me some room on
the buffer". When we don't care about downtime (like now), it's enough to
kmalloc a temporary buffer and flush (write to the FD) immediately.
But when we will care about downtime, "the buffer" will be memory in kernel
where the entire checkpoint image data will be kept while the container is
frozen (memory contents need only be marked copy-on-write, not explicitly
buffered).
In this setting, cr_kwrite() will not ...
| Aug 26, 5:38 pm 2008 |
| Brice Goglin | Re: [patch 3/4] x86: PAT Update validate_pat_support for ...
Are you saying that drivers are supposed to check if PAT is disabled
before deciding whether they need to setup a MTRR WC? If so, how to do
we check that? Unless we get a way to know whether ioremap_wc() returned
WC or UC, I will always keep the MTRR WC in myri10ge.
Brice
--
| Aug 26, 10:30 pm 2008 |
| Alan Stern | Re: 2.6.27-rc2 USB suspend regression
Is this still a problem?
Is this related to other Bluetooth suspend/resume regressions in
2.6.27?
Alan Stern
--
| Aug 27, 2:30 pm 2008 |
| Jeremy Fitzhardinge | Re: 2.6.27-rc2 USB suspend regression
I haven't seen it lately, but it was fairly erratic anyway. It happened
a few times in quick succession, and then it all worked fine. The
rawhide kernels are getting fairly old (I guess RH is still trying to
pull its infrastructure together), so I'm running a fairly recent
I'm not sure if its BT or Sierra wireless related.
J
--
| Aug 27, 2:36 pm 2008 |
| David Brownell | Re: USB Serial device disconnect causes IRQ disable afte ...
It should get into 2.6.27, and probably 26.stable ... assuming
that it checks out properly. A somewhat cruftier version resolved
Stefan's problem, but I'd rather not merge that one. Hmm, I'll
ask Stefan to confirm this version.
- Dave
--
| Aug 27, 11:37 am 2008 |
| Greg KH | Re: USB Serial device disconnect causes IRQ disable afte ...
Do you want me to also apply this one? If so, for .27 or .28?
thanks,
greg k-h
--
| Aug 27, 10:53 am 2008 |
| David Brownell | Re: USB Serial device disconnect causes IRQ disable afte ...
That patch was only intended to address the issue of bogus error
If it's like the other case, I'd hope this patch would solve it.
Note that you also seem to be having hardware or firmware issues
with the peripheral you're connecting ... this won't change that
stuff at all.
- Dave
================ SNIP!
From: David Brownell <dbrownell@users.sourceforge.net>
As noted by Stefan Neis <Stefan.Neis@kobil.com>, we had a recent
regression with EHCI periodic transfers, in some (seemingly ...
| Aug 26, 11:35 pm 2008 |
| Mathieu Desnoyers | Re: 2.6.{26.2,27-rc} oops on virtualbox
Since this problem appears while we are using a simple memcpy (the
text_poke_early version), but disappears when we disable interrupts for
a longer period of this, I suspect a problem with irq disabling in
Virtualbox.
We could try to add some nsleep() or msleep() calls within text_poke and
text_poke_early before and after the code modificatoin to see if the
problem disappears. If it does, then that would somewhat confirm the
racy irq disable thesis.
--
Mathieu Desnoyers
OpenPGP key ...
| Aug 27, 4:33 pm 2008 |
| Gerhard Brauer | Re: 2.6.{26.2,27-rc} oops on virtualbox
With this got the oops again when compiling in guest. Reboot afterwards
With second patch i get the early oops after "freeing smp". Seems no way
to get the guest bootet normaly (ony with replace-paravirt).
So the changes from the other mail took more effect IMHO.
Gerhard
--
| Aug 26, 5:13 pm 2008 |
| Luiz Fernando N. Cap ... | Re: 2.6.{26.2,27-rc} oops on virtualbox
Em Tue, 26 Aug 2008 22:34:49 +0200
Gerhard Brauer <gerhard.brauer@web.de> escreveu:
| On Tue, Aug 26, 2008 at 02:15:58PM -0400, Mathieu Desnoyers wrote:
| >
| > Ok, it might still be caused by paravirt and alternatives instruction
| > patching. What if you also do :
| >
| > alternative_instructions()
| >
| > + unsigned long flags;
| > /* The patching is not fully atomic, so try to avoid local interruptions
| > that might execute the to be patched code.
| > ...
| Aug 27, 12:13 pm 2008 |
| Thomas Renninger | [PATCH 1/3] Introduce FW_BUG and FW_INFO to consistenly ...
The idea is to add this to printk after the severity:
printk(KERN_ERR FW_BUG "This is not our fault\n");
If a Firmware issue should be hidden, because it is
work-arounded, but you still want to see something popping up e.g.
for info only:
printk(KERN_INFO FW_INFO "This is done stupid, we can handle it,
but it should better be avoided in future\n");
or on the Linuxfirmwarekit to tell vendors that they did something
stupid or wrong without bothering the user:
printk(KERN_INFO FW_BUG "This is ...
| Aug 27, 6:27 am 2008 |
| Andi Kleen | Re: Introduce interface to report BIOS bugs (reworked, F ...
Looks good to me now. The only issue is that the patchkit is cross subsystem
(cpufreq and ACPI). Either the patches go in through Andrew or we need
to figure out how to merge this.
-Andi
--
| Aug 27, 8:19 am 2008 |
| Thomas Renninger | Re: Introduce interface to report BIOS bugs (reworked, F ...
...
Ehh, this is not against ACPI test but latest Linus .27-rcX tree.
I hope/think it should still patch in both.
While this is fairly simple code, be aware that it's only compile tested.
Thomas
--
| Aug 27, 6:34 am 2008 |
| Thomas Renninger | [PATCH 2/3] CPUFREQ: powernow-k8: Try to detect old BIOS ...
Signed-off-by: Thomas Renninger <trenn@suse.de>
---
arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 42 ++++++++++++++++------------
1 files changed, 24 insertions(+), 18 deletions(-)
diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
index 4e72719..e3fa464 100644
--- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
+++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c
@@ -45,7 +45,6 @@
#endif
#define PFX "powernow-k8: "
-#define BFX PFX "BIOS error: ...
| Aug 27, 6:27 am 2008 |
| Thomas Renninger | Introduce interface to report BIOS bugs (reworked, FW_BU ...
Even simplier, using FW_BUG define. I agree that the first implementation
was over-designed, I somehow liked the printk_fw_err() and printk_fw_info()
more, looked somehow more consistent with:
#define pr_info(fmt, arg...) \
printk(KERN_INFO fmt, ##arg)
(and others).
Hmm, it shouldn't really matter.
I wonder whether it works out that messages are hidden to the ordinary
user with printk(KERN_INFO FW_BUG...).
Something that vendors get an idea that they should not do this, but
hiding ...
| Aug 27, 6:27 am 2008 |
| Thomas Renninger | [PATCH 3/3] CPUFREQ: processor.ko: Try to detect old BIO ...
On Intel CPUs it is rather common and a good hint that BIOSes which do provide
_PPC func, but not the frequencies itself in _PSS function, are old and need
to be updated for CPU freq support.
Tell the user he has a BIOS/firmware problem.
Signed-off-by: Thomas Renninger <trenn@suse.de>
---
drivers/acpi/processor_perflib.c | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
index ...
| Aug 27, 6:27 am 2008 |
| Thomas Gleixner | Re: [x86] apic timer tick interval is not so accurate in ...
The periodic mode uses a reload value which is calculated during
system startup and never touched again. At this point we do not have
the full timekeeping infrastructure working and your test code uses
the working infrastructure as reference.
In high resolution timer mode we reprogramm the local apic timer for
the next hrtimer instance which is enqueued. We calculate the delta
against the system time and then convert it to the local apic counter
value.
But yes, it's surprising that the ...
| Aug 27, 2:24 am 2008 |
| Zev Weiss | Re: [PATCH] [MTD] mtdchar.c: Fix regression in MEMGETREG ...
Well, for what little it's probably worth, I've now tested this patch, with no
resulting surprises (seems to work fine for me). Though I see now that, much to
my chagrin, something in my email chain seems to have spacified my code. If
there's any need I can resend appropriately.
Zev
--
| Aug 26, 9:31 pm 2008 |
| Jörn | Re: [PATCH RFC] nilfs2: continuous snapshotting file system
Yep. It is not a bad tradeoff. You pay with some extra seeks when the
filesystem is freshly mounted but gain a lot of simplicity in garbage
collection.
More questions. I believe the first two answer are no, but would like
to be sure.
Do you support compression?
Do you do wear leveling or scrubbing?
How does garbage collection work? In particular, when the filesystem
runs out of free space, do you depend on the userspace daemon to make
some policy decisions or can the kernel make ...
| Aug 27, 11:19 am 2008 |
| Jörn | Re: [PATCH RFC] nilfs2: continuous snapshotting file system
Well, I was looking more for something like a list of problems and
solutions. Partially because I am plain curious and partially because I
know those are the problem areas of any log-structured filesystem and
they deserve special attention in a review.
In logfs, garbage collection may read (and write) any inode and any
block from any file. And since garbage collection may be called from
writepage() and write_inode(), the fun included:
P: iget() on the inode being currently written back ...
| Aug 27, 11:13 am 2008 |
| david | Re: XFS vs Elevators (was Re: [PATCH RFC] nilfs2: contin ...
does this list change if you consider the fact that there may be a raid
array or some more complex structure for the block device instead of a
simple single disk partition?
since I am suggesting re-thinking the filesystem <-> elevator interface,
is there anything you need to have the elevator tell the filesystem? (I'm
thinking that this may be the path for the filesystem to learn things
about the block device that's under it, is it a raid array, a solid-state
drive, etc)
--
| Aug 27, 2:54 pm 2008 |
| Dave Chinner | Re: XFS vs Elevators (was Re: [PATCH RFC] nilfs2: contin ...
Three types:
1. immediate dispatch - merge first with adjacent requests
then dispatch
2. delayed dispatch - queue for a short while to allow
merging of requests from above
3. bulk data - queue and merge. dispatch is completely
controlled by the elevator
Basically most metadata and log writes would fall into category 2,
which every logbufs/2 log writes or every log force using a category
1 to prevent log I/O from being stalled too long by other I/O.
Data writes from the ...
| Aug 26, 6:20 pm 2008 |
| Alan Cox | Re: question wrt /drivers/char/tty_io.c in pre 2.6.16 code
Probably but it'll be really ugly. You need to stick your nose into the
innards of struct tty_struct and check the space left in the current flip
buffer entry.
What you do if it is full is another question.
Alan.
--
| Aug 27, 9:37 am 2008 |
| Greg KH | Re: question wrt /drivers/char/tty_io.c in pre 2.6.16 code
Hm, why do we care about kernels that are 2 1/2 years old? We can't do
anything to modify them at this point in time and the only ones
supporting them are the enterprise distros.
thanks,
greg k-h
--
| Aug 27, 9:19 am 2008 |
| Denis Joseph Barrow | Re: hso driver dropping characters on serial port & hacky fix
Hi,
We have a problem with the hso driver serial ports.
The problem is a little complex but I hope I can explain it adequetely.
If you are unfamiliar with USB URBS are basically buffers we give to usb
hardware to recieve or transmit packets to a USB device.
The problem manifests itself when our hardware guys at option
have a userland diagnostics program going & on a system under
heavy load, the tty layers buffers belonging to our emulated serial port
fill up because the userland program gets ...
| Aug 27, 3:54 am 2008 |
| Jeff Garzik | Re: [patch 01/02] hso: icon 322 detection fix
applied 1-2
--
| Aug 27, 2:37 am 2008 |
| Denis Joseph Barrow | question wrt /drivers/char/tty_io.c in pre 2.6.16 code
Hi all,
In kernels prior to 2.6.16 it appears to me have
no mechanism for finding out if the tty recieve buffers
are full. This is important for me in implementing
flow control in the hso serial driver I'm developing
I don't want to lose characters.
The snippet from allesandro rubini's book
doesn't will just blindly flip buffers
& overrun if data is pushed in too quickly
into the tty layer.
for (i = 0; i < data_size; ++i) {
if (tty->flip.count >= ...
| Aug 27, 8:55 am 2008 |
| Chris Friesen | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Makes sense to me. It could even get sent out to users about as fast as
a new kernel by itself, since they could just add a package dependency
to update the init scripts when the end-user installs the new kernel
package.
Anyone messing with the kernel directly is likely 1) smart enough to
deal with existing FIFO semantics, and 2) able to modify their own init
scripts to get some additional security if they so desire.
Chris
--
| Aug 27, 11:55 am 2008 |
| Nick Piggin | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Right.
But also it assumes desktop/general purpose server thing.
There may not even be any user interface to be unresponsive. Or it
may be something implemented with a userspace driven scheduling
system. Or an event loop in a single process.
--
| Aug 27, 3:08 am 2008 |
| Nick Piggin | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
I don't understand the fixation on declaring a system frozen. I repeat:
how do you know "rt task code that hogs the CPU for 10s is broken"? This
still hasn't been adequately explained to me, and from responses to this
What customer use case are you talking about? I never mentioned one and
have none. Are you confusing me with someone else?
But OK, so if someone else has a customer use case that breaks, what
makes you think you can just declare it is crap and we don't care about
it? For that ...
| Aug 27, 3:04 am 2008 |
| Jesse Barnes | Re: [PCI] Configure out PCI quirks
12k's not to shabby. I put this in linux-next, thanks Thomas.
Jesse
--
| Aug 27, 4:33 pm 2008 |
| Jesse Barnes | Re: [PATCH] hotplug/rpaphp: remove unused error path code
Applied to linux-next, thanks.
Jesse
--
| Aug 27, 4:34 pm 2008 |
| Jeff Garzik | Re: [PATCH] atl1: disable TSO by default
applied
--
| Aug 27, 2:37 am 2008 |
| Andrew Morton | Re: [patch 2.6.27-rc3] at91_mci: don't use coherent dma ...
On Wed, 27 Aug 2008 21:01:05 +0200
No probs, thanks.
--
| Aug 27, 12:11 pm 2008 |
| Pierre Ossman | Re: [patch 2.6.27-rc3] at91_mci: don't use coherent dma ...
On Fri, 22 Aug 2008 10:40:30 +0200
I have nothing else in my queue, so Andrew, as I suspect you have other
things going to Linus, if you could please include this one as well. :)
Acked-by: Pierre Ossman <drzeus@drzeus.cx>
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses ...
| Aug 27, 12:01 pm 2008 |
| Ingo Molnar | Re: [PATCH -tip] rcuclassic: fix compiler warning
hm, the fix got lost due to a revert+reapply - i've applied your fix
now, thanks for keeping an eye on it.
Ingo
--
| Aug 27, 12:28 am 2008 |
| Jesse Barnes | Re: [PATCH] PCI PM: Introduce function pci_wake_from_d3 ...
Applied to linux-next, thanks Rafael.
Jesse
--
| Aug 27, 4:04 pm 2008 |
| Tom Tucker | Re: NFS regression? Odd delays and lockups accessing an ...
Sure. I've actually tried to reproduce it here unsuccessfully.
As a starter, I would suggest turning on transport debugging:
# echo 256 > /proc/sys/sunrpc/rpc_debug
Here are my thoughts on how it is supposed to work. Trond if this doesn't match
your understanding, please let me know.
For the case where the client closes the connection first
because it's timeout is shorter (5min vs. 6), the sequence of events should be:
client server
close
sends FIN goes to ...
| Aug 27, 7:43 am 2008 |
| Jesse Barnes | Re: [PATCH] pci: change msi-x vector to 32bit
Applied to linux-next, thanks.
Jesse
--
| Aug 27, 4:34 pm 2008 |
| Ingo Molnar | Re: PATCH] debug: add notifier chain debugging
as it's rather large. So i kept the config option, and it defaults to
and that should be an unlikely() too i guess.
i've applied v2 as a delta patch to -tip, with these changes - see the
commit below.
Ingo
-------------------->
From e0f789bde8bda8ee6cf084197b6f3fc951ad241a Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Fri, 15 Aug 2008 15:29:38 -0700
Subject: [PATCH] debug: add notifier chain debugging, v2
- unbreak ia64 (and powerpc) where ...
| Aug 26, 11:39 pm 2008 |
| Arjan van de Ven | Re: PATCH] debug: add notifier chain debugging
On Wed, 27 Aug 2008 08:39:15 +0200
really it isn't; dereference_function_descriptor is a fall through and
huh? the consensus was that the config needed to go ... nothing changed
on that front. I agree absolutely with not introducing config options
please do not add new unlikely()'s to the kernel.. not on non-hotpaths
at least
--
| Aug 27, 3:55 am 2008 |
| Jeff Garzik | Re: [PATCH 1/1] NET: e100, fix iomap read
applied
--
| Aug 27, 2:56 am 2008 |
| Pavel Machek | Re: [PATCH 3/6] x86_64 UV: Use blinking LED for heartbea ...
Set the heartbeat trigger to the led you care about. Should be doable
You still did not cc LED developers.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 27, 2:38 pm 2008 |
| Helge Hafting | Re: 2.6.27 mtrr fixes do not work when X starts
Well, perhaps not 2.6.27, but I hope I won't need
"mtrr_spare_reg_nr=3" forever. Or is my machine a strange
corner case as far as mtrr's are concerned?
Helge Hafting
--
| Aug 27, 5:53 am 2008 |
| Andi Kleen | Re: 2.6.27 mtrr fixes do not work when X starts
It's just a side effect of having far too much BIOS code
in the kernel. These basic MTRRs should be set up by the BIOS and when
the kernel starts to think it knows better it ultimatively ends up
being far more platform dependent than it should be.
-Andi
--
| Aug 27, 6:03 am 2008 |
| Bryan Wu | Re: [PATCH] blackfin/sram: use 'unsigned long' for irqflags
Sorry for the delay, guys. I'm just back from my vacation.
I will apply this patch to our svn first and then push it to mainline later.
Thanks
-Bryan
--
| Aug 26, 11:56 pm 2008 |
| Sven Wegener | Re: acer-wmi broken in latest git kernel on TravelMate 6 ...
Yes, it's dab36ad8d50dc9424dfc4926f62aaf9bd52dcf13.
Sven
--
| Aug 27, 7:24 am 2008 |
| Matthew Garrett | Re: acer-wmi broken in latest git kernel on TravelMate 6 ...
Hm. Has this gone upstream? Looks pretty important for .27.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| Aug 27, 6:54 am 2008 |
| Carlos Corbacho | Re: [ANNOUNCE] ACPI BIOS Guideline for Linux
Perhaps it would be more useful to suggest to vendors/ BIOS writers what they
should use here instead?
-Carlos
--
E-Mail: carlos@strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D
--
| Aug 27, 1:29 pm 2008 |
| Takashi Iwai | Re: [ALSA PATCH] alsa-git merge request
At Tue, 26 Aug 2008 23:10:55 +0200,
Then this is really a PCI SSID conflict, and reverting the patch is
the right fix (and possibly addition of check of codec SID).
I fixed it now on my tree, and will include it in the next pull
request.
thanks,
Takashi
--
| Aug 26, 11:02 pm 2008 |
| Alan Stern | Re: Scatter-gather list constraints
Any progress?
Alan Stern
--
| Aug 27, 2:32 pm 2008 |
| Benjamin Thery | Re: [PATCH 1/8] sysfs: Implement sysfs tagged directory ...
______^
This typo is still present in your patch in the CONFIG_SYSFS=n case.
Otherwise the patchset, combined with the patches Greg has already
merged in his tree, still works great for me with network namespaces.
--
B e n j a m i n T h e r y - BULL/DT/Open Software R&D
http://www.bull.com
--
| Aug 27, 8:18 am 2008 |
| Serge E. Hallyn | Re: unprivileged mounts git tree
Ok, thanks. I look forward to playing around with it when you publish
Yes that sounds correct, thanks for the refresher.
-serge
--
| Aug 27, 11:46 am 2008 |
| Miklos Szeredi | Re: unprivileged mounts git tree
If the destination is a user mount, then
- the propagated mount(s) will be owned by the same user as the destination
- the propagated mount(s) will inherit 'nosuid' from the destination
I remember also thinking about 'nodev' and why it doesn't need similar
treatment to 'nosuid'. The reasoning was that 'nodev' is safe as long
as permissions are enforced, namespace shuffling cannot make it
insecure. Does that sound correct?
Thanks,
Miklos
--
| Aug 27, 8:55 am 2008 |
| Serge E. Hallyn | Re: unprivileged mounts git tree
I know we discussed before about whether a propagated mount from a
non-user mount to a user mount should end up being owned by the user
or not. I don't recall (and am not checking the code at the moment
as your tree is sitting elsewhere) whether we mark the propagated
tree with the right nosuid and nodev flags, or whether we call it
a user mount or not.
-serge
--
| Aug 27, 8:36 am 2008 |
| previous day | today | next day |
|---|---|---|
| August 26, 2008 | August 27, 2008 | August 28, 2008 |
