On Thu, May 24, 2007 at 03:10:12PM +0300, Avi Kivity wrote:
This defines on_one_cpu() which is similar to smp_call_function_single()
except that it works if cpu happens to be the current cpu. Can also be
seen as a complement to on_each_cpu() (which also doesn't treat the
current cpu
Hi,
I'm going through the process of setting up a new mythtv box. I
decided to let it record for a few days to see how it goes under a
constant workload and am seeing an occasional error in the logs about
NCQ problems. They are not happening with any regularity, maybe once
every 3-4 hours.
Heiko Carstens wrote:
On Thu, May 24, 2007 at 03:10:12PM +0300, Avi Kivity wrote:
This defines on_one_cpu() which is similar to smp_call_function_single()
except that it works if cpu happens to be the current cpu. Can also be
seen as a complement to on_each_cpu() (which also doesn't treat
I don't see any documented restrictions about preemption being
disabled when this function is called, but...
+int on_one_cpu(int cpu, void (*func) (void *info), void *info,
+ int retry, int wait)
+{
+int ret;
+int this_cpu;
+
+this_cpu = get_cpu();
what if a
On Thu, 2007-05-24 at 14:41 +0100, Alan Cox wrote:
Most people copied the x86 behaviour which makes it easy to transplant.
Some are just smoking something (see ioctls.h for sh-64 and weep), others
have slightly odd behaviour for historical compatibility reasons (Sparc)
Likewise, I assume the
Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED]
---
arch/i386/kernel/vmi.c |1 +
1 file changed, 1 insertion(+)
--- a/arch/i386/kernel/vmi.c
+++ b/arch/i386/kernel/vmi.c
@@ -27,6 +27,7 @@ #include linux/cpu.h
#include linux/bootmem.h
#include linux/mm.h
#include linux/highmem.h
Roland Dreier wrote:
I don't see any documented restrictions about preemption being
disabled when this function is called, but...
+int on_one_cpu(int cpu, void (*func) (void *info), void *info,
+int retry, int wait)
+{
+ int ret;
+ int this_cpu;
+
+ this_cpu = get_cpu();
On 5/23/07, Bret Towe [EMAIL PROTECTED] wrote:
On 5/23/07, Nitin Gupta [EMAIL PROTECTED] wrote:
For now, tested on x86 only.
If you have a program to test this I can run it on an amd64 and a g4 ppc
Attached is the kernel module (compress-test) to test this LZO code.
Just compile this
On Tue, 2007-05-22 at 15:17 -0700, Greg KH wrote:
Theres more to this than just PCI IDs though.
ac97 ID updates, usb id updates, etc, etc.
USB ids also can be added through sysfs :)
FWIW,
With the asix.c driver, you can't just add the USB IDs and have it work.
Each ID also needs to
On 5/24/07, Romano Giannetti [EMAIL PROTECTED] wrote:
On Thu, 2007-05-24 at 10:01 +0200, Antonino Ingargiola wrote:
2007/5/23, Romano Giannetti [EMAIL PROTECTED]:
[cut]
Uf, I will try to find the time. I am on my way to try to compile
2.6.21.2 now. Problem is that a kernel compile the
Hi all,
Here is a list of some known regressions in 2.6.22-rc2.
Feel free to add new regressions/remove fixed etc.
http://kernelnewbies.org/known_regressions
Unclassified
Subject: lag problems while browsing sites with heavy JS and or flash usage
References :
Hi all,
Here is a list of some known regressions in 2.6.22-rc2.
Feel free to add new regressions/remove fixed etc.
http://kernelnewbies.org/known_regressions
Memory management
Subject: kernel BUG at include/linux/slub_def.h:88 kmalloc_index()
References :
Hi all,
Here is a list of some known regressions in 2.6.22-rc2.
Feel free to add new regressions/remove fixed etc.
http://kernelnewbies.org/known_regressions
USB
Subject: usb hotplug/udev cannot correctly register usb/scanners
References : http://lkml.org/lkml/2007/5/15/205
Submitter :
Hi all,
Here is a list of some known regressions in 2.6.22-rc2
with patches available.
Feel free to add new regressions/remove fixed etc.
http://kernelnewbies.org/known_regressions
Block devices
Subject: loop devices limited to one single device
References :
On 5/24/07, Michal Piotrowski [EMAIL PROTECTED] wrote:
Here is a list of some known regressions in 2.6.22-rc2.
Feel free to add new regressions/remove fixed etc.
http://kernelnewbies.org/known_regressions
ACPI
Subject: nx6125 has lost fan control
References :
On Thu, 2007-05-24 at 00:35 +0400, Michael Tokarev wrote:
Greg KH wrote:
[]
From: Kay Sievers [EMAIL PROTECTED]
Subject: Driver core: convert block from raw kobjects to core devices
This moves the block devices to /sys/class/block. It will create a
flat list of all block devices, with
* Miklos Szeredi [EMAIL PROTECTED] wrote:
how reproducable are these lockups - could you possibly trace it? If
yes then please apply:
http://www.tglx.de/private/tglx/ht-debug/tracer.diff
With this patch boot stops at segfaulting fsck. I enabled all the new
config options, is
Stripping some CCs, acpi and kernel list should be enough this one goes
to...
On Tue, 2007-05-22 at 01:31 +0100, Matthew Garrett wrote:
On Tue, May 22, 2007 at 12:42:00AM +0200, Pavel Machek wrote:
On Mon 2007-05-21 14:45:53, Matthew Garrett wrote:
So don't do it badly. The advantage of
On Thu, 24 May 2007, Michal Piotrowski wrote:
Suspend
Subject: STD fails with pci_device_suspend():
usb_hcd_pci_suspend+0x0/0x160 [usbcore]() returns -16
References : http://lkml.org/lkml/2007/5/19/66
Submitter : Andrey Borzenkov [EMAIL PROTECTED]
Status : Unknown
This has been
On 5/24/07, Richard Purdie [EMAIL PROTECTED] wrote:
On Thu, 2007-05-24 at 01:04 +0530, Satyam Sharma wrote:
On 5/23/07, Nitin Gupta [EMAIL PROTECTED] wrote:
snip
I remember this being mentioned. My answer was that this is the same
behaviour as the zlib library and you do not want to
I am trying to setup two vlans (one tagged and one untagged) using the
native via-velocity driver in kernel 2.6.21.1 on a single nic (VIA
VT6122 Gigabit).
I can set it up tagged or untagged without any problems, but not both at
the same time. Is this even possible with this driver?
To
On 5/24/07, Satyam Sharma [EMAIL PROTECTED] wrote:
Hmm. The wrappers would clearly be inline, but if we want a common
low-level decompress function, we'd also need to introduce the if (safe )
kind of tests for those differently-defined macros which could impact
performance (for the _unsafe
how reproducable are these lockups - could you possibly trace it? If
yes then please apply:
http://www.tglx.de/private/tglx/ht-debug/tracer.diff
With this patch boot stops at segfaulting fsck. I enabled all the new
config options, is that not a good idea? Which one
[Jan Kara - Thu, May 24, 2007 at 10:37:14AM +0200]
| On Wed 23-05-07 22:44:36, Cyrill Gorcunov wrote:
| This patch converts UDF system coding style to kernel coding style.
| There is no error fixing - just code cleanup. I attempted to make
| the minimum changes as possible but the patch was
On Thu, May 24, 2007 at 04:16:53PM +0200, Thomas Renninger wrote:
I doubt it is impossible, would you mind sharing your knowledge why you
think it is impossible or point to some related discussion, pls.
Because, as Len has pointed out, you end up with two different ideas
about what the trip
* Miklos Szeredi [EMAIL PROTECTED] wrote:
hm, you should only need these:
CONFIG_EVENT_TRACE=y
CONFIG_FUNCTION_TRACE=y
# CONFIG_WAKEUP_TIMING is not set
# CONFIG_CRITICAL_IRQSOFF_TIMING is not set
CONFIG_MCOUNT=y
does it boot with these?
Nope. Same segfault. If I
* Miklos Szeredi [EMAIL PROTECTED] wrote:
CONFIG_EVENT_TRACE=y
CONFIG_FUNCTION_TRACE=y
# CONFIG_WAKEUP_TIMING is not set
# CONFIG_CRITICAL_IRQSOFF_TIMING is not set
CONFIG_MCOUNT=y
does it boot with these?
Nope. Same segfault. If I try to continue manually with 'init 5',
Herbert Xu wrote:
On Thu, May 24, 2007 at 08:47:13PM +1000, Herbert Xu wrote:
On Thu, May 24, 2007 at 11:36:22AM +0100, Jeremy Fitzhardinge wrote:
I got a hang while rmmodding e1000. sysrq-t shows:
rmmod D 003FFAFC 6616 15923 15911 (NOTLB)
e9341e44 0092 82318c15 003ffafc
Dave,
Yes, I found all TABs gone when I received the mail. When I post next
version of the patch, I will test to send to me first :-)
Thanks for your information.
Coly
在 2007-05-24四的 08:20 -0500,Dave Kleikamp写道:
On Thu, 2007-05-24 at 02:06 +0800, coly wrote:
The patch is generated based on
From: Stefan Roscher [EMAIL PROTECTED]
Due to a typo, the driver was reporting the wrong number of actual send
WRs after ehca_create_qp(). Fixed.
Signed-off-by: Joachim Fenkes [EMAIL PROTECTED]
---
drivers/infiniband/hw/ehca/hcp_if.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Refactored Roland's patch so the queue arithmetic is done in a little less
lines. Also, moved the spinlock inside the block it's used in.
Signed-off-by: Joachim Fenkes [EMAIL PROTECTED]
---
drivers/infiniband/hw/ehca/ehca_reqs.c |2 +-
drivers/infiniband/hw/ehca/ipz_pt_fn.h | 28
Hello,
I'm hitting the following Oops on 2.6.22-rc2 when unloading the cciss driver.
Completed flushing cache on controller 2
BUG: unable to handle kernel paging request at virtual address f889a00c
printing eip:
c01e744f
*pdpt = 3001
*pde = 37e09067
*pte =
On Thu, 2007-05-24 at 09:24 -0400, Salyzyn, Mark wrote:
So, is the sequence:
p = kmalloc(upsg-sg[i].count,GFP_KERNEL);
. . .
addr = pci_map_single(dev-pdev, p, upsg-sg[i].count,
data_dir);
Going to ensure that we have a 31 bit (not 32 bit) physical address?
No,
On Thu, 24 May 2007 09:45:37 -0400
David Woodhouse [EMAIL PROTECTED] wrote:
On Thu, 2007-05-24 at 14:41 +0100, Alan Cox wrote:
Most people copied the x86 behaviour which makes it easy to transplant.
Some are just smoking something (see ioctls.h for sh-64 and weep), others
have slightly odd
On Wed, May 23, 2007 at 09:40:20PM -0400, Josef 'Jeff' Sipek wrote:
Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED]
Acked-by: Michael Halcrow [EMAIL PROTECTED]
---
Documentation/ecryptfs.txt | 77
Documentation/filesystems/ecryptfs.txt |
(Changing subject to something more informative. You are lost,
original thread is at http://lkml.org/lkml/2007/5/23/38 )
On Thu, 2007-05-24 at 14:06 +0200, Romano Giannetti wrote:
On Tue, 2007-05-22 at 15:07 -0700, Linus Torvalds wrote:
On Tue, 22 May 2007, Romano Giannetti wrote:
On Thu, 24 May 2007 08:59:28 +0100 Colin Watson wrote:
This is a very unusual way to escape leading . in *roff, and I'm not
entirely sure the result is defined given that \{ is normally supposed
to be paired with \} and used to construct blocks. The more conventional
method would be:
On 5/24/07, Markus Rechberger [EMAIL PROTECTED] wrote:
Hi Jiri,
On 5/24/07, Jiri Slaby [EMAIL PROTECTED] wrote:
Well, no objections on v4l list, try to merge it. Any further comments will
be
appreciated.
--
stk11xx, add a new webcam driver
Cc: Mauro Carvalho Chehab [EMAIL PROTECTED]
Subject: pata_via appears to incorrectly detects 40-pin cable
References : http://lkml.org/lkml/2007/5/17/273
http://bugzilla.kernel.org/show_bug.cgi?id=8142
Submitter : Francis Russell [EMAIL PROTECTED]
Status : Not really a regression. Alan seems to have a general fix.
On 5/24/07, Daniel Newby [EMAIL PROTECTED] wrote:
On 5/24/07, Paul Mundt [EMAIL PROTECTED] wrote:
It sounds like your constraining your driver based on terminology.
Watchdogs on most embedded platforms support either a 'reset' mode or
otherwise act as periodic timers, trying to push both of
On Thu, 2007-05-24 at 14:28 +0200, Jiri Slaby wrote:
n_hdlc, allow RESTARTSYS retval of tty write
Cc: Paul Fulghum [EMAIL PROTECTED]
Signed-off-by: Jiri Slaby [EMAIL PROTECTED]
Acked-by: Paul Fulghum [EMAIL PROTECTED]
--
Paul Fulghum
Microgate Systems, Ltd
-
To unsubscribe from this
On 5/24/07, Paul Mundt [EMAIL PROTECTED] wrote:
On Thu, May 24, 2007 at 12:21:47AM -0400, Mike Frysinger wrote:
is this completely bad mojo ? is there some other mechanism that
provides what i want and i just dont know about it ? or do i just
make people change the driver to fit their
On Thu, 2007-05-24 at 16:05 +0100, Alan Cox wrote:
Likewise, I assume the lack of IBSHIFT on PowerPC is because of AIX?
I assume nobody ever got around to it. CIBAUD is in the PowerPC System V
API supplement for example and is supported by other Power OS's.
Hm... what we have in
On Tue, 2007-05-22 at 16:49 -0700, Luck, Tony wrote:
In order to solve this, I added a STACK_TOP_MAX macro for each arch and
use that. This made IA64 boot properly.
Yes. Patches apply to 2.6.21 cleanly, build cleanly and boot for me too.
I can even run:
$ ls -lrt `find /usr/share
On Thu, May 24, 2007 at 09:29:51AM -0400, Robin Getz wrote:
On Thu 24 May 2007 01:23, Paul Mundt pondered:
On Thu, May 24, 2007 at 12:21:47AM -0400, Mike Frysinger wrote:
is this completely bad mojo ? is there some other mechanism that
provides what i want and i just dont know about it ?
On Thu, 24 May 2007, Romano Giannetti wrote:
More data. I compiled 2.6.21.2 + the patch Fix ACPI suspend / device
suspend ordering problem (52ade9b3b97fd3bea42842a056fe0786c28d0555)
and I discovered that if I do not put the 3Com 3CXEM556B card into the
pcmcia slot, the suspend/resume
On Thu, 2007-05-24 at 21:44 +0900, FUJITA Tomonori wrote:
(cc's added)
From: Jens Axboe [EMAIL PROTECTED]
Subject: Re: [PATCH] Chaining sg lists for big IO commands v5
Date: Thu, 24 May 2007 14:05:54 +0200
On Thu, May 24 2007, Jens Axboe wrote:
Hi Linus,
Please pull from the fixes branch of the repository at
git pull git://git.linux-nfs.org/pub/linux/nfs-2.6.git fixes
This will update the following files through the appended changesets.
Cheers,
Trond
fs/nfs/direct.c | 53
On Thu, 24 May 2007, Jeff Garzik wrote:
The latest Intel chipset I have (ICH9) is legacy free: no serial port and no
PS/2 ports. I had to disable the Linux PS2 input drivers completely, just to
get the thing to boot.
Ahh, that would be a bug. Can you help trying to debug where it locks
On Thu, 24 May 2007, Diego Calleja wrote:
El Thu, 24 May 2007 17:45:04 +0800, Qi Yong [EMAIL PROTECTED] escribió:
D'oh, it seems the patch was picked from the mailing list and merged twice,
and I didn't notice it.
Torvalds, Care to revert one commit?
Agreed, one of them can be
On Thu, 24 May 2007, Linus Torvalds wrote:
Ok. That was probably true even before you added the suspend ordering
patch.
Oh, no it apparently wasn't. I missed your other email that said
So, I tried to suspend without any card in the pcmcia slot. Guess what?
I extracted the card and
On May 23 2007 21:37, Mike Frysinger wrote:
The == operator is not in POSIX, so use -eq instead.
Apart from that, == is for strings, -eq is for numbers,
so that wrong variable content can be caught
($x -eq 123 where x=123foo throws an error).
So yes, the patch is good.
Jan
--
-
To
On Thu, 2007-05-24 at 14:05 +0200, Jens Axboe wrote:
On Thu, May 24 2007, Jens Axboe wrote:
Oops: Kernel access of bad area, sig: 11 [#1]
SMP NR_CPUS=32 NUMA pSeries
Modules linked in: qla2xxx scsi_transport_fc
NIP: c00414a0 LR: c004162c CTR: 0001
REGS:
Paul Menage wrote:
Hi Balbir,
On 5/14/07, Balbir Singh [EMAIL PROTECTED] wrote:
This patch implements per container statistics infrastructure and re-uses
code from the taskstats interface. A new set of container operations are
registered with commands and attributes. It should be very easy
From: James Bottomley [EMAIL PROTECTED]
Subject: Re: [PATCH] Chaining sg lists for big IO commands v5
Date: Thu, 24 May 2007 10:39:44 -0500
On Thu, 2007-05-24 at 21:44 +0900, FUJITA Tomonori wrote:
(cc's added)
From: Jens Axboe [EMAIL PROTECTED]
Subject: Re: [PATCH] Chaining sg lists
So I guess I found the answer to my own question. msi_free_irqs was apparently
added
in 2.6.22-something. I don't find it in 2.6.21.2 or anywhere else. So somebody
broke a
couple of things.
The most noticable is cciss hangs after turning on interrupts. The reason for
that is
the kernel now
On Fri, 2007-05-25 at 01:01 +0900, FUJITA Tomonori wrote:
From: James Bottomley [EMAIL PROTECTED]
Subject: Re: [PATCH] Chaining sg lists for big IO commands v5
Date: Thu, 24 May 2007 10:39:44 -0500
On Thu, 2007-05-24 at 21:44 +0900, FUJITA Tomonori wrote:
(cc's added)
From: Jens
On 5/24/07, Balbir Singh [EMAIL PROTECTED] wrote:
I thought about this approach, but did not implement the code this way
because a system could have thousands of containers and expecting a
statistics application to open a file descriptor each time for each
container will turn out to be an
Jan Engelhardt wrote:
On May 22 2007 12:09, Randy Dunlap wrote:
From: Randy Dunlap [EMAIL PROTECTED]
Add notime boot option to prevent timing data from being printed on
each printk message line.
We've seen a few cases of 'time' data locking problems (possibly
involving netconsole or net
On Thu, 24 May 2007, Romano Giannetti wrote:
I discovered that SysRq-t works during the pause. So I pressed it more
or less halfway the pause; the full result is here:
http://www.dea.icai.upcomillas.es/romano/linux/info/dmesg-resume.txt
It seems that most of the tasks are in
[c0138931]
Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED]
---
Documentation/filesystems/directory-locking |5 +++--
Documentation/filesystems/porting |8
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/Documentation/filesystems/directory-locking
On May 22 2007 12:09, Randy Dunlap wrote:
From: Randy Dunlap [EMAIL PROTECTED]
Add notime boot option to prevent timing data from being printed on
each printk message line.
We've seen a few cases of 'time' data locking problems (possibly
involving netconsole or net drivers). If a kernel is
On Thu, 24 May 2007 11:55:03 +0200 Ingo Molnar [EMAIL PROTECTED] wrote:
* Andrew Morton [EMAIL PROTECTED] wrote:
On Thu, 24 May 2007 09:58:35 +0200 Ingo Molnar [EMAIL PROTECTED] wrote:
* Andrew Morton [EMAIL PROTECTED] wrote:
Well OK. But vdso-print-fatal-signals.patch
sept. 2006! its been there since quite a long time.
now what happens to my patch submitted to Greg???
On 5/24/07, Linus Torvalds [EMAIL PROTECTED] wrote:
On Thu, 24 May 2007, Diego Calleja wrote:
El Thu, 24 May 2007 17:45:04 +0800, Qi Yong [EMAIL PROTECTED] escribió:
D'oh, it seems the
On May 24 2007 22:47, coly wrote:
Dave,
Yes, I found all TABs gone when I received the mail. When I post next
version of the patch, I will test to send to me first :-)
Thanks for your information.
Blame Gmail.
Jan
--
-
To unsubscribe from this list: send the line unsubscribe
That change solves the issue :-)
Am Donnerstag, 24. Mai 2007 15:54 schrieb Alexey Dobriyan:
Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED]
---
arch/i386/kernel/vmi.c |1 +
1 file changed, 1 insertion(+)
--- a/arch/i386/kernel/vmi.c
+++ b/arch/i386/kernel/vmi.c
@@ -27,6 +27,7 @@
On May 23 2007 23:22, Adrian Bunk wrote:
And we need only two different inline levels (__always_inline and
let the compiler decide), not three (__always_inline, inline and
let the compiler decide).
inline is let the compiler decide. If it is not, then it is let the
compiler decide, based on my
On May 24 2007 09:24, Randy Dunlap wrote:
Wonderful, now we have _three_ options to control time...
time=bool
printk.time=bool
notime=bool
Currently the middle one is printk.printk_time.
And the first and last are just time and notime, without a bool value.
And as I wrote later, I'd
On Thu, 24 May 2007, young dave wrote:
When I exec aumix from console, the kernel oops seems in modprobe
process, and after a while , system hanged.
Reboot with slub_debug as a kernel parameter please.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a
On Thu, 24 May 2007, Ingo Molnar wrote:
when constructing debug output it's a good idea to make it as
'context-free' as possible. I.e. instead of saying 'Filler' and
explaining it somewhere in Documentation/*, just say:
Expected memory values at 0xc90f6d50: 5a 5a 5a 5a 5a 5a 5a 5a
On Wed, 23 May 2007, Satyam Sharma wrote:
Actually there's another thing :-) The __attribute__((xxx)) must go
with the function _declarations_ (and not the
implementations/definitions).
that's not true, AFAICT. the pattern seems to be that, in the case of
declarations, attributes go at the
Hi Andrew,
attached patch fixes possible data corruption in UDF - this bug was actually
introduced by one of my fixes :-( and should (if possible) go to Linus before
2.6.22 is out (that's why I'm diffing against Linus's tree and not the
latest changes in -mm tree)... Thanks.
On Thu, May 24, 2007 at 12:43:58AM -0700, Peter Williams wrote:
Peter Williams wrote:
The relevant code, find_busiest_group() and find_busiest_queue(), has a
lot of code that is ifdefed by CONFIG_SCHED_MC and CONFIG_SCHED_SMT and,
as these macros were defined in the kernels I was testing
On Thu, May 24, 2007 at 09:53:31AM +0200, Amaury De Ganseman wrote:
Hi,
Since 2.6.21 I can't mount my usb key (vfat).
I don't know if it's related to the vfat patch in 2.6.21.2
Here is the dmesg error parts:
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT
Hello,
attached is a patch that fixes possible leakage of free blocks / use of
free blocks in UDF (which spilled nice assertion failures I've added in my
first round of patches). More details in the changelog. Andrew, please apply.
Both changes have survived some time of fsx and fsstress
On Thu, 24 May 2007 16:11:16 +0100 Alan Cox [EMAIL PROTECTED] wrote:
Subject: pata_via appears to incorrectly detects 40-pin cable
References : http://lkml.org/lkml/2007/5/17/273
http://bugzilla.kernel.org/show_bug.cgi?id=8142
Submitter : Francis Russell [EMAIL
On Thu, 24 May 2007, Jens Axboe wrote:
On Wed, May 23 2007, Christoph Lameter wrote:
On Wed, 23 May 2007, Jens Axboe wrote:
That works for me with the patch, .config attached.
H... That means the .config sent initially here was bogus.
?
Considering we're trying to help you
Implement file locking for AFS.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/afs/Makefile|1
fs/afs/afs.h |8 +
fs/afs/afs_fs.h|3
fs/afs/callback.c |3
fs/afs/dir.c |1
fs/afs/file.c |2
fs/afs/flock.c | 558
On Thursday 24 May 2007 8:38 am, Robert P. J. Day wrote:
On Wed, 23 May 2007, Roland Dreier wrote:
- every static function in a header file must be __always_inline
Why? Why does it matter whether a function is defined in a .h file or
a .c file? Can't the compiler decide better than
On Thu, 24 May 2007, Srihari Vijayaraghavan wrote:
slabinfo -v produces this error message:
Cannot write to Acpi-Namespace/validate
You need to be root to do this. Sorry.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
On Thu, 24 May 2007, Salyzyn, Mark wrote:
So, is the sequence:
p = kmalloc(upsg-sg[i].count,GFP_KERNEL);
. . .
addr = pci_map_single(dev-pdev, p, upsg-sg[i].count,
data_dir);
Going to ensure that we have a 31 bit (not 32 bit) physical address?
Only if you have less
Am 24.05.2007 12:22 schrieb Lars K.W. Gohlke:
I will summarize the concrete scenario, which will lead to the
understanding and further solution of deadling with serial driver.
[scenario]
1. in userspace I'm doing: date /dev/ttyS0
2. in kernelspace I want to print out this
On Thu, 24 May 2007, James Bottomley wrote:
Going to ensure that we have a 31 bit (not 32 bit) physical address?
No, unfortunately. Implementing kmalloc_mask() and kmalloc_dev() was
something I said I'd do ... about two years ago.
Tell me more about these ideas.
-
To unsubscribe from
On Thu, 24 May 2007, Michal Piotrowski wrote:
Memory management
Subject: kernel BUG at include/linux/slub_def.h:88 kmalloc_index()
References : http://bugzilla.kernel.org/show_bug.cgi?id=8476
Submitter : Cherwin R. Nooitmeer [EMAIL PROTECTED]
Status : Unknown
Looks like this is
Hi Ben,
CC: Marcel Holtmann [EMAIL PROTECTED]
CC: Maxim Krasnyansky [EMAIL PROTECTED]
Signed-off-by: Tim Gardner [EMAIL PROTECTED]
Signed-off-by: Phillip lougher [EMAIL PROTECTED]
Signed-off-by: Ben Collins [EMAIL PROTECTED]
---
drivers/bluetooth/hci_usb.c |2 +-
1 files changed, 1
could you just try v2.6.21 plus the -rt patch, which has the tracer
built-in? That's a combination that should work well. You can pick it up
from:
http://people.redhat.com/mingo/realtime-preempt/
same config options as above. If you dont turn on PREEMPT_RT you'll get
an
On Wed, May 23, 2007 at 02:28:56PM -0700, Roland Dreier wrote:
- every static function in a header file must be __always_inline
Why? Why does it matter whether a function is defined in a .h file or
a .c file? Can't the compiler decide better than we can whether
something should be
On 5/24/07, Krzysztof Halasa [EMAIL PROTECTED] wrote:
Satyam Sharma [EMAIL PROTECTED] writes:
Actually there's another thing :-) The __attribute__((xxx)) must go with the
function _declarations_ (and not the implementations/definitions). I noticed
after my previous mail that most of the
On Wed, May 23, 2007 at 02:31:33PM -0700, Arjan van de Ven wrote:
Adrian Bunk wrote:
What about performance reasons?
We habe inline code in header files that heavily relies on being nearly
completely optimized away after being inlined.
fair
Especially with -Os it could even sound logical
On Thu, May 24, 2007 at 06:29:39PM +0200, Jan Engelhardt wrote:
On May 23 2007 23:22, Adrian Bunk wrote:
And we need only two different inline levels (__always_inline and
let the compiler decide), not three (__always_inline, inline and
let the compiler decide).
inline is let the
On Thu, 24 May 2007, Christoph Lameter wrote:
On Thu, 24 May 2007, Michal Piotrowski wrote:
Memory management
Subject: kernel BUG at include/linux/slub_def.h:88 kmalloc_index()
References : http://bugzilla.kernel.org/show_bug.cgi?id=8476
Submitter : Cherwin R. Nooitmeer
A function only belongs into a header file if we always want it inlined,
otherwise it belongs into a C file.
Again, why? Why don't we trust the compiler to decide if a function
should be inlined or not, even if the definition happens to be in a .h
file?
It seems like a perfectly valid
On Thu, 2007-05-24 at 10:00 -0700, Christoph Lameter wrote:
On Thu, 24 May 2007, James Bottomley wrote:
Going to ensure that we have a 31 bit (not 32 bit) physical address?
No, unfortunately. Implementing kmalloc_mask() and kmalloc_dev() was
something I said I'd do ... about two
Hi there,
Attached is a patch which may be desirable for -mm. It applies
directly to 2.6.22-rc2-mm1.
The patch removes the 'unsafe' LZO decompression function, lowering
the size of the minilzo.c file by nearly 500 out of an original 1727
lines. It also removes references to the 'unsafe'
On Thu, May 24, 2007 at 11:03:56AM +0200, Martin Schwidefsky wrote:
On Wed, 2007-05-23 at 11:57 -0700, Ravikiran G Thirumalai wrote:
Current git with the patches applied and the default configuration for
s390 decreases the section size fof .data.percpu from 0x3e50 to 0x3e00.
0.5% decrease.
On Thu, 24 May 2007, Linus Torvalds wrote:
I'm going to change that BUG: to WARNING:.
Good. I wondered for a long time why a WARN_xxx ... does print BUG:
xxx.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo
Adrian Bunk wrote:
On Thu, May 24, 2007 at 06:29:39PM +0200, Jan Engelhardt wrote:
On May 23 2007 23:22, Adrian Bunk wrote:
And we need only two different inline levels (__always_inline and
let the compiler decide), not three (__always_inline, inline and
let the compiler decide).
inline is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tilman Schmidt schrieb:
Am 24.05.2007 12:22 schrieb Lars K.W. Gohlke:
I will summarize the concrete scenario, which will lead to the
understanding and further solution of deadling with serial driver.
[scenario]
1. in userspace I'm doing:
[Jan Kara - Thu, May 24, 2007 at 06:59:35PM +0200]
| Hi Andrew,
|
| attached patch fixes possible data corruption in UDF - this bug was actually
| introduced by one of my fixes :-( and should (if possible) go to Linus before
| 2.6.22 is out (that's why I'm diffing against Linus's tree and not
On Thu, 24 May 2007, James Bottomley wrote:
The idea was basically to match an allocation to a device mask. I was
going to do a generic implementation (which would probably kmalloc,
check the physaddr and fall back to GFP_DMA if we were unlucky) but
allow the architectures to override.
601 - 700 of 988 matches
Mail list logo