| From | Subject | Date |
|---|---|---|
| Brice Goglin | [RFC] export irq_set/get_affinity() for multiqueue netwo ...
Hello,
Is there any way to setup IRQ masks from within a driver? myri10ge
currently relies on an external script (writing in
/proc/irq/*/smp_affinity) to bind each queue/MSI-X to a different
processor. By default, Linux will either:
* round-robin the interrupts (killing the benefit of DCA for instance)
* put all IRQs on the same CPU (killing much of the benefit of multislices)
With more and more drivers using multiqueues, I think we need a nice way
to bind MSI-X from within the drivers. I am ...
| Aug 28, 1:21 pm 2008 |
| Bruce_Leonard | Re: [PATCH 2/2] Add support for > 2GiB MTD devices
Well in that case I don't see that there's much option other than a
multiplication. If there were an odd number of eraseblocks (i.e., 3
chips) you could still do the shifting operations. But if someone has
come up with a flash part that has a non-power of two sector/erasesize,
then there's no way to do it by shift. I supose I could just change
erasesize to size64, make it a 64-bit type and do this:
return a->num_eraseblocks == 0 ? a->size : a->size64
Doesn't seem quite as elegant, ...
| Aug 28, 10:48 am 2008 |
| Denis Joseph Barrow | Re: question wrt /drivers/char/tty_io.c in pre 2.6.16 code
Thanks Greg/Alan,
As for maintaining 2 and a half year old distros that's my job.
I think I figured out a way of doing the flow control.
I need to wrap the line discipline function pointer
disc->ops->receive_buf(tty, char_buf,flag_buf, count);
in /drivers/char/tty_io.c for my hso driver anyway
I can put in a counter in this wrapper decrementing
the buffers full & increment the counter each time
I call tty_flip_buffer_push(tty); which I will only
do if there are less than 2 buffers busy.
If ...
| Aug 28, 12:47 am 2008 |
| Geert Uytterhoeven | Re: [PATCH 00/10] AXFS: Advanced XIP filesystem
Interestingly, it also doesn't work on UserModeLinux (x86, 32-bit):
| attempt to access beyond end of device
| loop0: rw=0, want=24, limit=16
|
| EIP: 0073:[<0811ec67>] CPU: 0 Not tainted ESP: 007b:19515c38 EFLAGS: 00210212
| Not tainted
| EAX: 00000000 EBX: 00001000 ECX: 19484aa0 EDX: 190d9f0c
| ESI: 195ee000 EDI: 19515cd0 EBP: 19515c6c DS: 007b ES: 007b
| 08247af0: [<08069ba3>] show_regs+0xb4/0xb9
| 08247b1c: [<080591ee>] segv+0x222/0x23a
| 08247bbc: [<08059296>] ...
| Aug 28, 8:40 am 2008 |
| Wappler Marcel | VM: page reclaim does not work on ARM9?
I do need some help to understand what's going on in the VM of the Linux kernel...
I wrote a little script which generates a C app with millions of lines of dumb linear running code and a endless loop at the end. I run this app on both PC Linux (swapping enabled) and embedded Linux (Kernel 2.6.24.7, ARM9, swapping disabled).
The app shall consume a lot of code pages which are used only once (to run the linear code in it) and then stay in the endless loop and never touch all the other pages in ...
| Aug 28, 12:52 am 2008 |
| Wappler Marcel | VM: page reclaim does not work on ARM9? [resend]
I do need some help to understand what's going on in the VM
of the Linux kernel...
I wrote a little script which generates a C app with
millions of lines of dumb linear running code and a endless
loop at the end. I run this app on both PC Linux (swapping
enabled) and embedded Linux (Kernel 2.6.24.7, ARM9, swapping
disabled).
The app shall consume a lot of code pages which are used
only once (to run the linear code in it) and then stay in
the endless loop and never touch all the other pages ...
| Aug 28, 1:01 am 2008 |
| Leisner, Martin | FW: [linux-pm] select with timeout across S3
The behavior of linux (in both 2.4.x and 2.6.x) is when the processor
sleeps, timeouts on select don't take into account the sleep time,
only the run time.
For example, this program should pause for 10 minutes -- however
if we go into S3 in the middle its pausing for (10 minutes + time in
S3)
I saw this on both 2.6.20 and 2.6.22...
marty
-----Original Message-----
From: linux-pm-bounces@lists.linux-foundation.org
[mailto:linux-pm-bounces@lists.linux-foundation.org] On Behalf Of ...
| Aug 28, 10:32 am 2008 |
| Myklebust, Trond | Re: [PATCH] NFSv3: cached permissions subset enhancement
This isn't a good solution. The correct thing to do here is to resend
the request for just those permissions that the VFS requested.
Cheers
Trond
--
| Aug 28, 9:03 am 2008 |
| Peter Zijlstra | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Then people can no longer assume stuff like queue_work_on() etc.. works.
Users of such code might depend on it actually running on the specified
cpu.
--
| Aug 28, 5:00 am 2008 |
| Peter Zijlstra | Re: [PATCH -V3 01/11] percpu_counters: make fbc->count r ...
Basically all it does it break the percpu_counter lock into two classes.
One for the irq-unsafe users and one for the irq-safe users. Without
this lockdep goes splat complaining about irq recursion deadlocks and
the like between these two separate users.
--
| Aug 28, 12:57 am 2008 |
| Peter Zijlstra | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Yes.
But say you were doing rate monotonic scheduling (as is not uncommonly
done on top of SCHED_FIFO) then you could not get 100% cpu utilisation
anyway, as RMS has a ~69% utility bound.
--
| Aug 28, 9:29 am 2008 |
| Peter Zijlstra | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Not currently, working on that though.
--
| Aug 28, 4:19 am 2008 |
| Peter Zijlstra | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
No its not per task. Its per group (and trivially the !group case is one
group).
All this bandwidth code comes from RT group scheduling. We do that by
assigning a bandwidth to each group so that within that bandwidth each
group can use RT tasks and have them behave like they should.
I don't fully agree with the statement that the most important thing for
SCHED_FIFO is to run as long as you want.
The most important thing SCHED_FIFO brings us are deterministic
scheduling rules. And RT ...
| Aug 28, 9:05 am 2008 |
| Peter Zijlstra | Aug 28, 2:25 am 2008 | |
| Aaron Straus | Re: drivers/char/random.c line 728 BUG
Hi,
OK so that's (outside spinlock):
BUG_ON(r->entropy_count > r->poolinfo->POOLBITS);
in credit_entropy_bits we do (inside spinlock):
r->entropy_count += nbits;
if (r->entropy_count < 0) {
DEBUG_ENT("negative entropy/overflow\n");
r->entropy_count = 0;
} else if (r->entropy_count > r->poolinfo->POOLBITS)
r->entropy_count = r->poolinfo->POOLBITS;
I wonder if we got unlucky and did the:
r->entropy_count += nbits
- overflowed the entropy_count THEN
- another ...
| Aug 28, 3:59 pm 2008 |
| Arnaldo Carvalho de Melo | Re: [patch 00/03] USB-IP patches
Great stuff, I almost worked on udp_hcd or something along these lines,
will definetely take a look! :-)
- Arnaldo
--
| Aug 28, 4:06 pm 2008 |
| Alexey Dobriyan | [PATCH] Less softirq vectors
We don't need whole 32 of them, only NR_SOFTIRQS.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
include/linux/interrupt.h | 2 ++
kernel/softirq.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -252,6 +252,8 @@ enum
HRTIMER_SOFTIRQ,
#endif
RCU_SOFTIRQ, /* Preferable RCU should always be the last softirq */
+
+ NR_SOFTIRQS
};
/* softirq mask and active fields moved to ...
| Aug 27, 6:10 pm 2008 |
| Alexey Dobriyan | Re: + rcu-fix-sparse-shadowed-variable-warning.patch add ...
Bzzzrt... just remove second variable.
--
| Aug 27, 8:31 pm 2008 |
| Alexey Dobriyan | [PATCH 1/2] anondev: init IDR statically
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
fs/super.c | 7 +------
include/linux/fs.h | 1 -
init/main.c | 1 -
3 files changed, 1 insertion(+), 8 deletions(-)
--- a/fs/super.c
+++ b/fs/super.c
@@ -682,7 +682,7 @@ void emergency_remount(void)
* filesystems which don't use real block-devices. -- jrs
*/
-static struct idr unnamed_dev_idr;
+static DEFINE_IDR(unnamed_dev_idr);
static DEFINE_SPINLOCK(unnamed_dev_lock);/* protects the above */
...
| Aug 27, 7:25 pm 2008 |
| Alexey Dobriyan | Aug 28, 11:40 am 2008 | |
| Alexey Dobriyan | [PATCH -next] sysctl: simplify ->strategy
name and nlen parameters passed to ->strategy hook are unused, remove them.
In general ->strategy hook should know what it's doing, and don't do
something tricky for which, say, pointer to original userspace array may
be needed (name).
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
arch/frv/kernel/pm.c | 6 +++---
arch/mips/lasat/sysctl.c | 17 ++++++++---------
drivers/char/random.c | 2 +-
include/linux/sysctl.h | 2 +-
...
| Aug 27, 10:02 pm 2008 |
| Alexey Dobriyan | Re: [RFC][PATCH] bitfields API
Or you can parse instruction stream a bit more.
--
| Aug 28, 12:05 pm 2008 |
| Alexey Dobriyan | [PATCH 2/2] anondev: switch to IDA
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---
fs/super.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
--- a/fs/super.c
+++ b/fs/super.c
@@ -682,7 +682,7 @@ void emergency_remount(void)
* filesystems which don't use real block-devices. -- jrs
*/
-static DEFINE_IDR(unnamed_dev_idr);
+static DEFINE_IDA(unnamed_dev_ida);
static DEFINE_SPINLOCK(unnamed_dev_lock);/* protects the above */
int set_anon_super(struct super_block *s, void *data)
@@ ...
| Aug 27, 7:26 pm 2008 |
| Adam Litke | Re: [PATCH] coredump_filter: add hugepage core dumping
I have tested this using both the provided C program and with a program
that used libhugetlbfs to back its text and data segments with huge
pages. This seems to work as expected. From a hugetlbfs perspective,
Tested-by: Adam Litke <agl@us.ibm.com>
--
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center
--
| Aug 28, 7:48 am 2008 |
| Andreas Gruenbacher | Re: [patch] file capabilities: Add no_file_caps switch
Yes, looks good.
Thanks,
Andreas
--
| Aug 28, 9:27 am 2008 |
| Andrew Morton | Re: linux-next: Tree for August 28
On Thu, 28 Aug 2008 18:33:07 +1000
firmware/yamaha/yss225_registers.bin.ihex uses \r\n line termination.
Is that actually required, or can we use plain old \n?
Andy, a checkpatch rule for this would be nice.
--
| Aug 28, 2:39 pm 2008 |
| Andrew Morton | Re: [PATCH -V3 01/11] percpu_counters: make fbc->count r ...
Well. Experience and guesswork, mainly.
But a useful metric is to look and the /bin/size output before and
after the inlining. In this case fs/ext3/ialloc.o's text shrunk 40-odd
bytes, which we think is a net benefit due to reduced CPU cache
pressure.
--
| Aug 27, 9:06 pm 2008 |
| Andrew Morton | Re: [PATCH 5/5] CUSE: implement CUSE - Character device ...
On Fri, 29 Aug 2008 03:19:04 +0900
I didn't know you could do that with bools.
These two fields will share a word, and modifications of one are racy
wrt modifications of the other. So some form of locking is needed, and
I believe all the above could be implemented in C.
Making that change would fix the bug in cuse_conn_get(), which
OK, I have NFI whatsoever what this thing is doing and I am disinclined
to reverse-engineer it.
If this is parsing something whcih operators/users ...
| Aug 28, 1:07 pm 2008 |
| Andrew Morton | Re: [PATCH -V3 01/11] percpu_counters: make fbc->count r ...
Yep. The frequency of modification of fbc->count is of the order of a
tenth or a hundredth of the frequency of
precpu_counter_<modification>() calls.
But in many cases the frequency of percpu_counter_read() calls is far
far less than this. For example, the percpu_counter_read() may only
happen when userspace polls a /proc file.
--
| Aug 27, 9:09 pm 2008 |
| Andrew Morton | Re: 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled(): ...
I'm curious about how this happened.
afaict from reading the code, this:
rcu_read_lock();
might_sleep();
rcu_read_unlock();
will warn if CONFIG_PREEMPT_RCU=n but won't warn if
CONFIG_PREEMPT_RCU=y. If correct, that's a nasty trap.
Is that what you did?
--
| Aug 28, 2:00 am 2008 |
| Andrew Morton | Re: 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled(): ...
Cant sleep inside rcu_read_lock(), with CONFIG_PREEMPT_RCU=n, at least.
Dunno if it's legal if CONFIG_PREEMPT_RCU=y. Hopefully not - that
would be insane. But I've failed to keep up with rcu goings-on
recently.
--
| Aug 28, 12:45 am 2008 |
| Andrew Morton | Re: [PATCH 1/1] libata: Blackfin Pata Driver: Add proper ...
I think we can make these fixes while we're there?
From: Andrew Morton <akpm@linux-foundation.org>
- remove the ifdefs using the usual pattern
- make things static
Cc: Bryan Wu <cooloney@kernel.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/ata/pata_bf54x.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff -puN ...
| Aug 27, 8:51 pm 2008 |
| Andrew Morton | Re: [PATCH 1/3] user namespaces: introduce user_struct-> ...
On Tue, 26 Aug 2008 13:53:41 -0500
The credentials code in linux-next is changing the same code which
you're changing, in more-than-trivially-textual ways.
I'd suggest a dhowells cc on these changes, as he's also working
in this area, and as you touch the keyring code a bit.
And, of course, please remove that almost-always-wrong
extern-declaration-in-C which checkpatch told you about. init_groups
is already declared in include/linux/init_task.h anyway...
--
| Aug 27, 5:07 pm 2008 |
| Andrew Morton | Re: [PATCH 5/5] CUSE: implement CUSE - Character device ...
On Thu, 28 Aug 2008 15:15:25 -0700
Well yeah. But it isn't a very good tradition.
static inline struct cuse_conn *cdev_to_cc(struct cdev *cdev)
{
return container_of(cdev, struct cuse_conn, cdev);
}
should generate the same code and is prettier.
Unfortunately it has no additional type-safety. You can still pass it
the address of a tty_driver.cdev instead of a cuse_conn.cdev and the
compiler will happily swallow it. Not a big problem in practice though.
--
| Aug 28, 3:32 pm 2008 |
| Andrew Morton | Re: [Bugme-new] [Bug 11446] New: Automate "to compile as ...
On Thu, 28 Aug 2008 09:24:42 -0700 (PDT)
Good point :)
The Kconfig system doesn't presently know the name of the module,
but that could be added. eg:
config BMAC
tristate "BMAC (G3 ethernet) support"
depends on PPC_PMAC && PPC32
+ modulename bmac
select CRC32
help
Say Y for support of BMAC Ethernet interfaces. These are used on G3
computers.
- To compile this driver as a module, choose M here: the module
- will be called bmac.
Any sane organisation would look ...
| Aug 28, 12:38 pm 2008 |
| Alan Cox | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Is there actually a reason we can't have two forms of SCHED_FIFO. For
hard RT the existing behaviour is a lot more useful and it is hard to see
"real man" programmers stare at the code in Zen contemplation and debug
by powercycling - thats one thing even hard RT processes can't beat.
Alan
--
| Aug 28, 1:53 pm 2008 |
| Alan Cox | Re: [PATCH 00/59] Introduce credentials
On Thu, 28 Aug 2008 10:19:44 +0100
I suspect you to - or every "nth" event - building up a small queue as
would occur in normal usage probably isn't a problem.
--
| Aug 28, 2:45 am 2008 |
| Alan Cox | Re: PATCH: Kbuild: mkspec has to include /lib/firmware c ...
On Thu, 28 Aug 2008 14:07:26 -0300
Acked-by: Alan Cox <alan@redhat.com>
--
| Aug 28, 9:52 am 2008 |
| Alan Cox | Re: [ANNOUNCE] OSS Proxy using CUSE
That bit of the problem is trivial. Its the rest of the behavioural
differences that are more of a nightmare - parity, flow control
differences, modem line emulation, being able to hook into things like
ldisc change/termios change.
Break is about a half hour job.
Alan
--
| Aug 28, 4:32 pm 2008 |
| Alan Cox | Re: [PATCH 5/7] FUSE: implement ioctl support
Agreed entirely. If and only if there is a future problem with
performance someone can introduce a method for the client to pre-describe
certain ioctls in terms of number/length/read/write.
Alan
--
| Aug 28, 1:48 pm 2008 |
| Alan Cox | Re: question about overcommit
No-overcommit is address space accounting alone. It doesn't change actual
allocation or management of memory, it simply ensures that there should
always be enough space to ensure it can sort itself out without having to
OOM something.
It's a bit like bank loans - providing I know how much money is available
I don't have to do much except for ensure the total loaned is covered. In
the overcommit mode we instead run like the US banking system and pray we
don't hit a messy OOM (out of money) ...
| Aug 28, 9:51 am 2008 |
| Alistair John Strachan | md (regression): reboot/shutdown hangs
Hi Neil,
Commit 2b25000bf5157c28d8591f03f0575248a8cbd900 ("Restore force switch of md
array to readonly at reboot time.") causes a reboot/shutdown to hang
indefinitely on my box. Reverting this single commit makes the problem go
away. It was first released with 2.6.27-rc3, I believe, and so this is a
regression vs 2.6.26 (Rafael CCed).
I think the problem might be because my rootfs is on a RAID5 and my distro
fails to stop it completely before halt/reboot.
Please let me know if ...
| Aug 28, 12:05 pm 2008 |
| Andi Kleen | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
The load balancer will not notice that a particular CPU is busy
I had such a situation at least once in the past (not due
run away RT but due a kernel bug) and even with 2 out of 4 CPUs blocked
the system was still quite usable. top/kill definitely worked. The system
didn't have a desktop, but I didn't notice many problems in shell use.
Ok it's just one sample.
That said I don't think having such a limit by default is a bad idea actually.
Just handling it in the scheduler anyways is ...
| Aug 28, 4:09 am 2008 |
| Andi Kleen | Re: [PATCH] ACPI: thinkpad-acpi: wan radio control is no ...
Queued thanks. I can put it into the next .27 update.
-Andi
--
| Aug 28, 10:25 am 2008 |
| Andi Kleen | Re: loaded router, excessive getnstimeofday in oprofile
The skb timestamp overhead does not add up, it's either on or off.
If multiple pings make the router slower it must be something else.
-Andi
--
ak@linux.intel.com
--
| Aug 28, 9:56 am 2008 |
| Andi Kleen | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
I wonder if it would make sense to break affinities in extreme case?
With that even the workqueues would work again.
-Andi
--
ak@linux.intel.com
--
| Aug 28, 4:50 am 2008 |
| Andi Kleen | [PATCH] Misc mISDN timerdev fixes
Hi Karsten,
For some reason i looked at the mISDN timerdev code and noticed
some minor issues (which I fixed) and a major one (which I only
commented). The major one is a SMP timer race. I think it needs
reference counting on the timer object to fix properly.
-Andi
--
Misc mISDN timerdev fixes
- Remove noop VFS stubs. The VFS does that on a NULL pointer anyways.
- Fix timer handler prototype to be correct
- Comment ugly SMP race I didn't fix.
Signed-off-by: Andi Kleen ...
| Aug 28, 5:52 am 2008 |
| Andi Kleen | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Ok let's remove cpu hotunplug then. Probably nobody uses it anyways @)
Seriously cpu affinity on all non BP CPU is currently broken on every
suspend to RAM, doing it in a few more cases when it makes the system
more robust is unlikely to hurt anybody.
-Andi
--
ak@linux.intel.com
--
| Aug 28, 9:33 am 2008 |
| Andi Kleen | Re: loaded router, excessive getnstimeofday in oprofile
But didn't you really want a "end2end" time stamp in this case,
as in really at the end of all kernel/hardware queues on your side.
A packet roughly travels this way on a normal NIC before it hits recvmsg()
wire -> NIC on die buffers -> NIC RX ring -> interrupt handler ->
NAPI or per CPU queue -> softirq socket lookup -> socket queue -> recvmsg
These all do their own queuing and all queues can add delays depending
on the load. Right now SO_TIMESTAMP is in the interrupt handler,
but it's ...
| Aug 28, 12:22 am 2008 |
| Andi Kleen | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
If they assume that they're already buggy because CPU hot unplug will break
affinities.
-Andi
--
| Aug 28, 5:14 am 2008 |
| Andreas Mohr | Re: [linux-pm] select with timeout across S3
Hi,
dito.
This also happened to me a couple (4?) months ago, likely on 2.6.24 or
2.6.25.
And for me it had the "very nice" effect of not obeying DHCP lease time,
with a red-faced IT guy appearing in my door the next morning thusly... ;)
From examining it more closely, it was rather obvious that select timeout
happened maybe 10 hours later than it should have (with 12h lease time),
due to hitting nightly S2R about two hours into the lease time.
Annoying, to say the least.
I think I then ...
| Aug 28, 1:57 pm 2008 |
| Aneesh Kumar K.V | Re: [PATCH -V3 01/11] percpu_counters: make fbc->count r ...
I wanted to sent the entire patchset which fixes ENOSPC issues with
delalloc. It happened to be on the next day you looked at the previous
mail. Sending the patch again in now way mean we should not have
How do we actually figure that out ? I have been making that mistakes
-aneesh
--
| Aug 27, 8:48 pm 2008 |
| Aneesh Kumar K.V | Re: [PATCH -V3 01/11] percpu_counters: make fbc->count r ...
we may actually be doing percpu_counter_add. But that doesn't update
fbc->count. Only if the local percpu values cross FBC_BATCH we update
fbc->count. If we are modifying fbc->count more frequently than
reading fbc->count then i guess we would be contenting of fbc->lock more.
-aneesh
--
| Aug 27, 8:52 pm 2008 |
| Andy Whitcroft | Re: [PATCH 3/5] checkpatch: complex macros need to ignor ...
Yeah it should indeed. A quick check with the current version seems to
confirm that.
-apw
--
| Aug 28, 8:17 am 2008 |
| Arkadiusz Miskiewicz | Re: resume from ram hangs on 2.6.26+ kernels on thinkpad z60m
So here I am. Not directly resume hang but may be related. git kernel from ~2
days ago.
resume succeeded but dmesg indicated tons of:
[51055.352019] Freezing of tasks failed after 20.00 seconds (1 tasks refusing
to freeze):
[51055.352025] task PC stack pid father
[51055.352031] init D 97af68e4 0 1 0
[51055.352038] f7851e9c 00000086 f7848000 97af68e4 00002e6a c8559005
f7851e80 f7848274
[51055.352050] 97c8187b 00002e6a f7851e8c ...
| Aug 28, 11:45 am 2008 |
| Alejandro Riveira | Re: WLAN Stack for 2.6.23
El Thu, 28 Aug 2008 16:35:43 +0200
Maybe from here?
--
| Aug 28, 8:18 am 2008 |
| Arnd Bergmann | Re: [PATCH] usb: add Freescale QE/CPM USB peripheral con ...
Well, actually it was exactly what I was concerned about ;-)
The way I understand the code, it is layered into the hardware specific
part and the protocol specific part, which are connected through
the interfaces I pointed out.
The standard requires that there can only be one protocol handler
per physical interface, which is a reasonable limitation.
However, what the Linux implementation actually enforces is
that there can only be one hardware specific driver built or loaded
into the ...
| Aug 28, 3:27 pm 2008 |
| Arnd Bergmann | Re: [PATCH] usb: add Freescale QE/CPM USB peripheral con ...
This part doesn't look good, you should try to avoid hardcoding
the specific type of chip (QE or CPM2) here. AFAICT, you can build
a multiplatform kernel that supports both QE and CPM2, but your code
Better try to avoid static forward declarations by reordering your
functions in call order. That is the common coding style and makes
Not a problem, but an observation: Most new code uses work queues instead
of tasklets these days, which gives you more predictable real time
latencies.
If ...
| Aug 28, 8:04 am 2008 |
| Arnd Bergmann | Re: [PATCH 2/4] Add cpufreq driver for the IBM PowerPC 750GX
Yes, that's how global and static variables are defined in C.
I'm still not convinced that it's actually correct if you call complete()
from the other places as well. You have three locations in your code where
you call complete() but only one for INIT_COMPLETION. The part that I don't
understand (and therefore don't expect other readers to understand) is how
the driver guarantees that only one complete() will be called on the
completion variable after it has been initialized.
What I meant ...
| Aug 28, 12:46 am 2008 |
| Balbir Singh | Fw: Re: Still seeing decreasing stime/utime
Forgot to cc lkml (the original email did not either, but I need comments on
the patch).
--
Balbir
| Aug 28, 3:51 pm 2008 |
| Bharata B Rao | [patch] sched: call resched_task() conditionally from ne ...
Hi,
sched: call resched_task() conditionally from new task wake up path.
- During wake up of a new task, task_new_fair() can do a resched_task()
on the current task. Later in the code path, check_preempt_curr() also ends
up doing the same, which can be avoided. Check if TIF_NEED_RESCHED is
already set for the current task.
- task_new_fair() does a resched_task() on the current task unconditionally.
This can be done only in case when child runs before the parent.
Signed-off-by: ...
| Aug 28, 2:12 am 2008 |
| Bjorn Helgaas | Re: [PATCH] pci: Fix printk warnings in probe.c
Thanks for fixing the warnings. I wish you'd changed these at the
same time to use dev_info() and "[%#llx-%#llx]" like the rest of PCI.
I confess I don't understand where the ioport, mmio, and prefetchable
mmio resources are coming from here, but before your patch, these
printed values that look like junk on an HP nw8000:
PCI: bridge 0000:00:01.0 io port: [2fff00002000, ef92eae800000300]
PCI: bridge 0000:00:01.0 32bit mmio: [904fffff90400000, ef92eae800000300]
PCI: bridge ...
| Aug 28, 3:27 pm 2008 |
| Christian Borntraeger | Re: [PATCH RFC 1/3] Add a trigger API for efficient non- ...
Sorry for answering late, but here are some comments.
Am Samstag, 16. August 2008 schrieb Jeremy Fitzhardinge:
Yes, we have seen some real contention if the number of vcpus is much higher
Hmm, I currently try to build something with sigp_stop and sigp_start on
s390, not sure yet if this interface allows me to do that. At the moment
something is wrong in my prototype.
--
| Aug 28, 5:27 am 2008 |
| Christian Borntraeger | Re: [PATCH RFC 3/3] x86: use mwait for trigger API
Am Samstag, 16. August 2008 schrieb Jeremy Fitzhardinge:
Seems that this cant work. We never reset the t->cpus bits. That means we
never mwait after a kick.
Nothing else.
--
| Aug 28, 5:25 am 2008 |
| Mark Brown | Re: [alsa-devel] [PATCH 3/4] ASOC: WM8731 codec: add SPI ...
Sorry, that could've been clearer - I meant wm8731. Obviously if you
want to update that too then that would be great but I figured it'd make
life easier for you if I were to ensure that one gets merged OK. Which
way do you prefer?
--
| Aug 28, 3:14 am 2008 |
| Mark Brown | Re: [alsa-devel] [PATCH 3/4] ASOC: WM8731 codec: add SPI ...
No problem from my point of view, though all I'll do is construct a
patch series with Jean's changes at the start so from that point of view
you may as well merge them directly - it doesn't change the work that
needs to be done.
--
| Aug 28, 6:01 am 2008 |
| Mark Brown | Re: [alsa-devel] [PATCH 2/4] ASOC codec: add support for ...
It's in ALSA git, queued for the 2.6.28 merge window. See the
topic/asoc branch of:
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
for the current ASoC merge queue. The other API changes will all be
queued there too.
There's quite a bit of churn in ASoC at the minute but additional API
changes will be taken care of by whoever does them once your driver is
merged so it should save you some work if you're able to get this in
OK. Jean might be willing to do ...
| Aug 28, 3:06 am 2008 |
| Julien Brunel | [PATCH] drivers/infiniband/core: Use a NULL test rather ...
From: Julien Brunel <brunel@diku.dk>
In case of error, the function ucma_alloc_multicast returns a NULL
pointer, but never returns an ERR pointer. So after a call to this
function, an IS_ERR test should be replaced by a NULL test.
The semantic match that finds this problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@match bad_is_err_test@
expression x, E;
@@
x = ucma_alloc_multicast(...)
... when != x = E
IS_ERR(x)
// </smpl>
Signed-off-by: Julien Brunel ...
| Aug 28, 6:31 am 2008 |
| Bruno Randolf | Re: pull request: wireless-2.6 2008-08-26
no, unfortuately i have no idea. also i should admit that we have problems
with atheros hardware in that we don't know when the RX timestamp is taken
exactly. this means our IBSS merge can't be 100% exact. but the usual case we
need to catch is when the beacon TSF is much higher than the local TSF.
true, we need to find a way to support this hardware too...
bruno
--
| Aug 28, 4:13 am 2008 |
| Bruno Randolf | Re: pull request: wireless-2.6 2008-08-26
of course i tested IBSS merge with atheros hardware when i sent in the patch
and it worked. this is about 6 month ago. recently i briefly tested IBSS,
with the same HW but it did not work any more - i didn't have the time to
investigate this issue...
please remember that there was a lengthy discussion about the standard
compliance and the reasons behind the need for IBSS merge before my patch was
accepted. i believe i had convincing arguments why IBSS mode does not
reliably work at all ...
| Aug 28, 3:35 am 2008 |
| Adrian Bunk | Re: [RFC][PATCH] bitfields API
This sounds as if this might cause bugs to disappear when debugging gets
turned on?
Or do I miss anything?
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 28, 1:27 pm 2008 |
| Adrian Bunk | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
As far as I can see the only architectures that optionally offer 4kB
stacks today are m68knommu, s390, sh and x86.
Most stack issues are not platform or architecture specific.
The maintainance effort therefore mostly depends on whether a non-zero
number of architectures uses 4kB stacks.
And if something is considered to be important for small embedded
systems, but not supported on ARM, MIPS or PowerPC, then that's
a bit strange.
cu
Adrian
--
"Is there not promise ...
| Aug 28, 9:16 am 2008 |
| Adrian Bunk | Re: [ANNOUNCE] OSS Proxy using CUSE
Sorry for being destructive, but 6 years after ALSA went into the
kernel we are slightly approaching the point where all applications
support ALSA.
The application you list on your webpage is UML host sound support,
and I'm wondering why you don't fix that instead of working on a
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.
...
| Aug 28, 1:01 pm 2008 |
| Mingming Cao | Re: [PATCH -V3 01/11] percpu_counters: make fbc->count r ...
The global counter is is much more frequently accessed with delalloc.:(
With delayed allocation, we have to do read the free blocks counter at
each write_begin(), to make sure there is enough free blocks to do
block reservation to prevent lately writepages returns ENOSPC.
Mingming
--
| Aug 28, 3:59 pm 2008 |
| Bryan Wu | Re: [alsa-devel] [PATCH 2/4] ASOC codec: add support for ...
Is this option in alsa git tree or in the mainline? I fail to find it
in upstream mainline.
Yes, I will fix this issue by running checkpatch.pl. And for other API
conflicts and I2C interface upgrading stuffs,
I will leave them to Cliff.
Thanks
-Bryan
--
| Aug 27, 10:55 pm 2008 |
| Bryan Wu | Re: [PATCH 1/1] libata: Blackfin Pata Driver: Add proper ...
On Thu, Aug 28, 2008 at 11:51 AM, Andrew Morton
Right, I agree here.
--
| Aug 28, 1:20 am 2008 |
| Bryan Wu | Re: [alsa-devel] [PATCH 3/4] ASOC: WM8731 codec: add SPI ...
Oh, do you mean SSM2602 or WM8731? I also noticed the i2c API updates
patch from Jean and I'd like to use the new one
Thanks
-Bryan
--
| Aug 27, 8:46 pm 2008 |
| Bryan Wu | [GIT PULL] Blackfin arch updates and bug fixing
Hi Linus,
In this git-pull request, we finished moving include/asm-blackfin
header files to arch/blackfin and also fixed some critical bugs.
It's time to shift blackfin to the new header file layout for further
development.
So please pull from 'for-linus' branch of
master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6.git for-linus
to receive the following updates:
arch/blackfin/Kconfig | 1 +
arch/blackfin/Makefile ...
| Aug 28, 9:03 am 2008 |
| Eric Dumazet | Re: loaded router, excessive getnstimeofday in oprofile
Nope... the contrary :)
Kernel timestamping has nanosec resolution.
SO_TIMESTAMP needs a divide (by 1000), while SO_TIMESTAMPNS is native.
--
| Aug 28, 12:37 pm 2008 |
| Eric Dumazet | Re: loaded router, excessive getnstimeofday in oprofile
So... if using ping on your machine has direct an noticeable effect on cpu load, problem is elsewhere
(if no ping is running, you dont have skb timestamping, but still getnstimeofday() is the top function in oprofile)
1) Do you have any netfilter rule using xt_time ?
(This module also calls __net_timestamp(skb))
2) You maybe have a bad program that do something expensive relative to kernel time services.
bad_program()
{
while (1) {
struct timeval t0,t1;
gettimeofday(&tv0, ...
| Aug 28, 11:57 am 2008 |
| Darren Hart | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
A lot of people I have an immense amount of respect for with vastly differing
opinions. There was mention of a user poll so I'll share my .000000002 USD
here.
I have accepted in my dealings with real-time that it is a special programming
paradigm. The developer has much greater control and must exercise it
responsibly. From this, I have accepted that I can bring my system to it's
knees rather easily if I'm not careful. I agree with Nick and Max that this
default behavior should be ...
| Aug 28, 11:10 am 2008 |
| David Miller | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
[Empty message]
| Aug 27, 5:46 pm 2008 |
| David Miller | Re: loaded router, excessive getnstimeofday in oprofile
From: Denys Fedoryshchenko <denys@visp.net.lb>
Make a clone of Linus's tree, then pull in the net-2.6 tree.
This is always how you should test things especially if you want to
make sure you have whatever non-networking bug fixes your machine
might require.
--
| Aug 28, 12:31 pm 2008 |
| David Miller | Re: loaded router, excessive getnstimeofday in oprofile
From: Nick Piggin <nickpiggin@yahoo.com.au>
We don't have support to using these specific hardware provided timestamps
sources yet, so it's kind of premature to recommend the facility to
applications. :)
--
| Aug 27, 5:48 pm 2008 |
| David Miller | Re: sparc build failure
From: Stephen Rothwell <sfr@canb.auug.org.au>
I'll try to come up with a fix for this, thanks.
--
| Aug 27, 7:04 pm 2008 |
| David Miller | Re: [RFC] export irq_set/get_affinity() for multiqueue n ...
From: Brice Goglin <Brice.Goglin@inria.fr>
I think we should rather have some kind of generic thing in the
IRQ layer that allows specifying the usage model of the device's
interrupts, so that the IRQ layer can choose a default affinities.
I never notice any of this complete insanity on sparc64 because
we flat spread out all of the interrupts across the machine.
What we don't want it drivers choosing IRQ affinity settings,
they have no idea about NUMA topology, what NUMA node the
PCI ...
| Aug 28, 1:56 pm 2008 |
| David Miller | Re: loaded router, excessive getnstimeofday in oprofile
From: Rick Jones <rick.jones2@hp.com>
The SEC isn't mandating anything here, stop framing it that way :-)
People simply won't trade with a firm if they find out that trades
there are executed out of order.
They are simply trying to make things as fair as possible.
--
| Aug 28, 1:32 pm 2008 |
| David Miller | Re: sparc build failure
From: David Miller <davem@davemloft.net>
Here's what I'll likely push to linus to fix this.
Thanks for the report Stephen.
sparc32: Implement smp_call_function_single().
Reported by Stephen Rothwell.
Needed to fix the build when CONFIG_RELAY is enabled.
Signed-off-by: David S. Miller <davem@davemloft.net>
---
arch/sparc/include/asm/smp_32.h | 25 +++++++++++++++----------
arch/sparc/kernel/sun4d_smp.c | 16 ++++++++++------
arch/sparc/kernel/sun4m_smp.c | 12 ...
| Aug 27, 8:03 pm 2008 |
| David Miller | Re: [PATCH] IPROUTE: correct nla nested message generate ...
From: Thomas Graf <tgraf@suug.ch>
I love patches, send me one :)
--
| Aug 28, 3:19 am 2008 |
| David Miller | Re: [PATCH] IPROUTE: correct nla nested message generate ...
From: Thomas Graf <tgraf@suug.ch>
Correct, but here is the sequence of events I discovered after
researching this fully:
1) Patrick adds nla_next_compat*() and NLA_NESTED_COMPAT, in this
changeset:
commit 1092cb219774a82b1f16781aec7b8d4ec727c981
Author: Patrick McHardy <kaber@trash.net>
Date: Mon Jun 25 13:49:35 2007 -0700
[NETLINK]: attr: add nested compat attribute type
2) The multiqueue packet scheduler bits got added by Peter W. in
this changeset:
commit ...
| Aug 27, 11:47 pm 2008 |
| David Miller | Re: loaded router, excessive getnstimeofday in oprofile
From: Jason Uhlenkott <juhlenko@akamai.com>
When expectations equal reality, and then we change reality, that's
called breaking things.
What might (and I do mean "might") save us is how other systems
implement this. A quick check of BSD shows that at least OpenBSD
fetches the timestamp inside of the RAW and UDP usrreq handler,
which is basically socket receive.
Our man pages simply say "reception" as when the timestamp is from,
which may also give us some more leeway.
From: Jason ...
| Aug 27, 8:10 pm 2008 |
| David Miller | Re: loaded router, excessive getnstimeofday in oprofile
From: Rick Jones <rick.jones2@hp.com>
The issue is the ordering of processing the requests.
So if request A arrived on interface 1 before request B arrived on
interface 2, the trade described in A should be performed before the
one in B.
This is not "arcance" as you seem to suppose it might be, but rather
pretty clear fair handling or requests sent between trading desks.
--
| Aug 28, 12:42 pm 2008 |
| David Miller | Re: loaded router, excessive getnstimeofday in oprofile
From: Denys Fedoryshchenko <denys@visp.net.lb>
The performance hit hurts, but changing the default to lower
resolution after it having been high resolution for 10+ years
is a regression and something we really can't do.
--
| Aug 28, 12:36 pm 2008 |
| David Miller | Re: loaded router, excessive getnstimeofday in oprofile
From: Rick Jones <rick.jones2@hp.com>
I have no idea.
They also care about trade processing latency btw.
--
| Aug 28, 1:47 pm 2008 |
| David Miller | Re: linux-next: build failure
From: Stephen Rothwell <sfr@canb.auug.org.au>
I think __builtin_constant_p() is not seeing something it
should here.
It isn't accepting:
--------------------
static inline __attribute__((const))
bool is_power_of_2(unsigned long n)
{
return (n != 0 && ((n & (n - 1)) == 0));
}
--------------------
and thus is_power_of_2(256) as being a constant.
If a 'const' inline function being passed a const argument isn't
constant, what is! :-)
I bet the problem is the fact that ...
| Aug 28, 12:40 am 2008 |
| David Brownell | Re: Fwd: Re: [PATCH] USB: add USB test and measurement c ...
For the record, the "gadgetfs" interface was originally developed with
userspace USB TMC implementations in mind. I don't recall whether that
effort got out of the lab though.
The issue of suspend/resume explicitly came up. The scenario which
stuck in my mind was that when the TMC device was in USB-level suspend
state, the code on the peripheral would need to know about that so
it could re-enable manual controls. The host could no longer be
issuing commands. (Some of these folk were on ...
| Aug 28, 3:37 pm 2008 |
| David Brownell | [patch 2.6.27-rc4] rtc-cmos: wakes again from S5
From : Rafael J. Wysocki <rjw@sisk.pl>
Update rtc-cmos shutdown handling to leave RTC alarms active,
resolving http://bugzilla.kernel.org/show_bug.cgi?id=11411 on
several boards. There are still some systems where the ACPI event
handling doesn't cooperate. (Possibly related to bugid 11312,
reporting the spontaneous disabling of RTC events.)
Bug 11411 reported that changes to work around some ACPI event
issues broke wake-from-S5 handling, as used for DVR applications.
(They like to power ...
| Aug 28, 11:29 am 2008 |
| David Fries | [PATCH] ne.c fix for hibernate and rmmod oops fix
side notes on the patch and development:
I found it strange that ne_init was being called before ne_probe.
ne_probe is called in drivers/net/Space.c
do_ne_probe uses dev->mem_end special value 0xbad as a flag to deal
specially when some bad, but usable devices. The io port platform
resource has a start and end, but if start is 0x300 and end is 0xbad,
it will just fail with io ports in use and not probe the device. Is
using the flag IORESOURCE_DISABLED acceptable? There doesn't seem to
be ...
| Aug 27, 9:11 pm 2008 |
| Dave Chinner | Re: XFS vs Elevators (was Re: [PATCH RFC] nilfs2: contin ...
No. The whole point of immediate dispatch is that those I/Os are
extremely latency sensitive (i.e. whole fs can stall waiting or
them), so it doesn't matter what the end target is. The faster the
storage subsystem, the more important it is to dispatch those
Not so much the elevator, but the block layer in general. That is:
- capability reporting
- barriers and type
- discard support
- integrity support
- maximum number of I/Os that can be in flight
before congestion ...
| Aug 27, 6:08 pm 2008 |
| david | question about overcommit
with overcommit enabled when a process forks the pages are marked COW and
no new memory is allocated (cache and buffers are untouched)
when overcommit is disabled and a process forks new memory is allocated,
but will this force cache and buffers to be thrown away (and possibly
force stuff out to swap) even if the memory is never written to? or does
the kernel still mark the pages COW, but somehow record that a chunk of
virtual memory (ram + swap) has been allocated for this without actually ...
| Aug 28, 10:00 am 2008 |
| David Daney | [Patch 0/6] MIPS: Hardware watch register support for gd ...
Esteemed kernel hackers,
To follow is my third pass at MIPS watch register support.
This version has been tested on:
* MIPS 4KEc (mips32) with a single set of watch registers watchhi not
reporting I, R, and W conditions.
* MIPS 4KEc (mips32r2) with four sets of watch registers.
* R5000 SGI O2 (mips4 64bit) with no watch register support.
The patches are against 2.6.27-rc4
Changes from the previous version:
* Agreement from gdb maintainers that the ptrace interface is
...
| Aug 28, 2:38 pm 2008 |
| David Daney | [Patch 5/6] MIPS: Scheduler support for HARDWARE_WATCHPOINTS.
Here we hook up the scheduler. Whenever we switch to a new process,
we check to see if the watch registers should be installed, and do it
if needed.
Signed-off-by: David Daney <ddaney@avtrex.com>
---
include/asm-mips/system.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h
index a944eda..cd30f83 100644
--- a/include/asm-mips/system.h
+++ b/include/asm-mips/system.h
@@ -20,6 +20,7 @@
#include ...
| Aug 28, 3:11 pm 2008 |
| David Daney | [Patch 3/6] MIPS: Probe watch registers and report confi ...
Probe for watch register characteristics, and report them in
/proc/cpuinfo.
Signed-off-by: David Daney <ddaney@avtrex.com>
---
arch/mips/kernel/cpu-probe.c | 2 ++
arch/mips/kernel/proc.c | 10 ++++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index 335a6ae..d0d07b8 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -21,6 +21,7 @@
#include <asm/fpu.h>
#include ...
| Aug 28, 3:02 pm 2008 |
| David Daney | Patch [1/6] MIPS: Add HARDWARE_WATCHPOINTS configure option.
This is automatically set for all MIPS32 and MIPS64 processors.
Signed-off-by: David Daney <ddaney@avtrex.com>
---
arch/mips/Kconfig | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 4da736e..f5b3fca 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1272,6 +1272,13 @@ config CPU_SUPPORTS_32BIT_KERNEL
config CPU_SUPPORTS_64BIT_KERNEL
bool
+#
+# Set to y for ptrace access to watch ...
| Aug 28, 2:45 pm 2008 |
| David Daney | [Patch 4/6] MIPS: Watch exception handling for HARDWARE_ ...
Here we hook up the watch exception handler so that it sends SIGTRAP
when the hardware watch registers are triggered.
Signed-off-by: David Daney <ddaney@avtrex.com>
---
arch/mips/kernel/genex.S | 4 ++++
arch/mips/kernel/traps.c | 14 +++++++++-----
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S
index c6ada98..15a9bde 100644
--- a/arch/mips/kernel/genex.S
+++ b/arch/mips/kernel/genex.S
@@ -416,7 +416,11 @@ ...
| Aug 28, 3:07 pm 2008 |
| David Daney | [Patch 2/6] MIPS: Add HARDWARE_WATCHPOINTS definitions a ...
This is the support code for watch register support. It is not hooked
up to anything yet, that comes next.
There are two new files (watch.c, watch.h) the rest is additions.
Signed-off-by: David Daney <ddaney@avtrex.com>
---
arch/mips/kernel/Makefile | 2 +-
arch/mips/kernel/watch.c | 163 ++++++++++++++++++++++++++++++++++++++++
include/asm-mips/cpu-info.h | 4 +
include/asm-mips/processor.h | 21 +++++
include/asm-mips/thread_info.h | 2 +
...
| Aug 28, 2:55 pm 2008 |
| David Daney | [Patch 6/6] MIPS: Ptrace support for HARDWARE_WATCHPOINTS
This is the final part of the watch register patch. Here we hook up
ptrace so that the user space debugger (gdb), can set and read the
registers.
Signed-off-by: David Daney <ddaney@avtrex.com>
---
arch/mips/kernel/ptrace.c | 97 ++++++++++++++++++++++++++++++++++++++++++-
arch/mips/kernel/ptrace32.c | 15 +++++++
include/asm-mips/ptrace.h | 31 ++++++++++++++
3 files changed, 142 insertions(+), 1 deletions(-)
diff --git a/arch/mips/kernel/ptrace.c ...
| Aug 28, 3:25 pm 2008 |
| Denys Fedoryshchenko | Re: loaded router, excessive getnstimeofday in oprofile
On Thursday 28 August 2008, Andi Kleen wrote:
I hit one more bug, while deleting root class for htb on ifb0 i got tc stuck
(and all operations related to tc), but there was some fixes for this things
in net-2.6, so i tried to update git tree.
It seems i cannot test current net-2.6, because it is broken for me
on USB part (fixed by workaround in init scripts), HPET totally broken in
net-2.6, but works for latest main git from torvalds tree.
I have to wait when net-2.6 rebased to current ...
| Aug 28, 8:02 am 2008 |
| Denys Fedoryshchenko | Re: loaded router, excessive getnstimeofday in oprofile
git net-2.6 based on 2.6.27-rc3. Means very fresh.
--
| Aug 28, 1:49 am 2008 |
| Denys Fedoryshchenko | Re: loaded router, excessive getnstimeofday in oprofile
No, process list is very short, it is custom semi-embedded linux distro i
made, so i know each process running there. Here is process list (kernel
processes/threads and running shell(busybox ash) removed)
1 root /bin/sh /init
1119 root init
2451 root /sbin/syslogd -R 80.83.17.2
2453 root /sbin/klogd
3168 squid /usr/sbin/zebra -d
3175 squid /usr/sbin/ripd -d
3195 root /usr/sbin/snmpd -c /config/snmpd.conf
3208 root udhcpd /config/udhcp.office.conf -S
...
| Aug 28, 12:25 pm 2008 |
| Denys Fedoryshchenko | Re: loaded router, excessive getnstimeofday in oprofile
My small IMHO regarding SO_TIMESTAMP.
1)Right now i have 400-500 Mbps passing router. If i will run
5 "pings" ,simultaneous ,under _USER_ privileges(i know ping is suid),
instead of free 20% CPU time, i will have 1-2% free CPU time. Sure i know
ping is suid program, but it is has been "like this" since long time. By
security psychos it will be caled DoS.
2)Usefullness of this option. What is a difference if on almost idle machine
timestamp retrieved on higher level or lower level?
And ...
| Aug 28, 9:48 am 2008 |
| Denys Fedoryshchenko | Re: loaded router, excessive getnstimeofday in oprofile
I did already. Even because most of programs (except ripd/zebra) can be
killed, and i kill them, it doesn't change almost anything.
it seems heavy things causing instability:
1)HTB (resolution can be lowered to improve performance, i will try Jarek
patch soon)
2)ocassionally ping/tcpdump other SO_TIMESTAMP users
3)Probably softlockup detection. Disabled already, i will come back to it
soon, if it is required.
One of other issues i notice - "CACHE MISS" cause maybe almost 5-10% in ...
| Aug 28, 12:55 pm 2008 |
| Denys Fedoryshchenko | Re: loaded router, excessive getnstimeofday in oprofile
Agree. Then maybe to add way to choose, because choice is high resolution vs
performance. For example Intel dynamically throttling interrupts on e1000*,
and it saves me in this case. They leave also option for users who wants low
latency/high troughput.
So maybe there must be a way for specific functions who uses get(ns)timeofday
to use specific timers (cheap and less precise), by option. Or to limit
amount of calls to timer by them.
--
| Aug 28, 12:59 pm 2008 |
| David Howells | Re: [PATCH 00/59] Introduce credentials
Would it make sense to call synchronise_rcu() from commit_creds() or from
setuid()/setresuid()/setgroups()/etc. to make sure that some user process
doing:
while (1)
alter_credentials();
doesn't run the system out of memory by having loads of frees waiting in RCU's
queues because put_cred() uses call_rcu() to defer the destruction.
David
--
| Aug 28, 2:19 am 2008 |
| Don Dupuis | 2.6.18 very slow sync to disk with ext3 fs on an md raid ...
I have a 12 drive system running 2.6.18.8 with a 11 drive md array.
This array is setup with raid10 and a combination of ext3 and ext2
filesystems. The issue I am having is this. I transfer a 180MB file
with scp to the ext3 filesystem. When this is complete, I will then do
a sync to make sure it is written to disk. The problem is that it will
take 6 MINUTES for the sync to complete. If I do the same thing to the
ext2 filesystem, it will take about 6 seconds. I know that 2.6.19
kernel solves my ...
| Aug 27, 8:03 pm 2008 |
| David P. Quigley | Re: Frustrated with capabilities..
Minor nit. It was actually C2(Controlled Access Protection) by '92 which
is mainly just DAC protections as opposed to B2(Structured Protection)
which also included MAC policies and Sensitivity labels in addition to
DAC protections.
Dave
--
| Aug 28, 2:03 pm 2008 |
| David Woodhouse | Re: [BUG] linux-next: Tree for August 26 - Badness at ke ...
The TEXT_TEXT macro defined in <asm-generic/vmlinux.lds.h> should get
this right... but we don't use it. Is there any particular reason for
that, or should we....
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
--- linux-2.6.26.ppc64/arch/powerpc/kernel/vmlinux.lds.S~ 2008-07-13 22:51:29.000000000 +0100
+++ linux-2.6.26.ppc64/arch/powerpc/kernel/vmlinux.lds.S 2008-08-28 15:39:14.000000000 +0100
@@ -35,10 +35,11 @@ SECTIONS
ALIGN_FUNCTION();
*(.text.head)
_text = ...
| Aug 28, 7:55 am 2008 |
| David Woodhouse | Re: [BUG] linux-next: Tree for August 26 - Badness at ke ...
It's isa_bridge_notify(), which is neither within _[se]text nor
_[se]inittext, so the core_kernel_text() function disavows it.
Where are __devinit functions supposed to end up?
$ egrep _[es]init\|_[es]text\|isa_bridge_notify System.map
c000000000000000 T _stext
c00000000045d000 T _etext
c000000000463ca8 t .isa_bridge_notify
c00000000063a000 T _sinittext
c00000000067c3bc T _einittext
c00000000071fd80 d isa_bridge_notify
--
David Woodhouse Open Source ...
| Aug 28, 7:23 am 2008 |
| Eric W. Biederman | Re: checkpoint/restart ABI
That and unless we get a lot of synergy from authors of debuggers
and debugging code it is a more general and slower interface for
Can we please describe this as the giant syscall approach. Instead
of a complete in-kernel solution. There are things like filesystems
that should be checkpointed separately, or not checkpointed at all.
However there is a large set of processes and process state that always
goes together and if you checkpoint a container you always want.
So building ...
| Aug 28, 4:40 pm 2008 |
| el es | Re: libata, Sound on same IRQ : flaky sound
If you don't want bloat AND you want a recent kernel AND lots to fiddle around
and figure out for yourself, install PLD Linux :) No, seriously. Last time I
tried, a usable graphic environment (GNOME that is, dunno about KDE) fitted in
300-500 MiB ON DISK. (without graphical env. fitted in 150MB ON DISK). Try that.
el es
--
| Aug 28, 12:57 am 2008 |
| Eric Van Hensbergen | Re: [PATCH 14/59] CRED: Wrap task credential accesses in ...
Reviewed-by: Eric Van Hensbergen <ericvh@gmail.com>
--
| Aug 28, 10:59 am 2008 |
| Eric Van Hensbergen | Re: [PATCH] 9p bug fix: return non-zero error value in p ...
I'm a bit confused about when this is even getting called -- O thought
all writes were following the p9_client_uwrite path?
Also, we do the bufoverflow check in p9_create_write -- so with your
patch aren't we doing this twice?
--
| Aug 28, 11:10 am 2008 |
| Frédéric Weisbecker | Re: [Patch] Tracing/ftrace: Adds a marker to allow user ...
Ok I will send a new patch on the next days...
--
| Aug 28, 9:03 am 2008 |
| Frédéric Weisbecker | Re: [Patch] Tracing/ftrace: Adds a marker to allow user ...
Hello Pekka,
I like your idea of a ftrace_vprintk wrapper.
But actually I'm questioning about the fact that the tracing api
itself is not generic enough.
At this time, a tracer has to put a function inside the tracing api
when it wants to add an entry into the list.
See __trace_mmiotrace_rw() for example.
Just imagine if one wants to implement a tracer by using a simple module.
The way seems to be simple at the beginning: you define your struct
tracer, implement your functions and ...
| Aug 28, 3:04 am 2008 |
| Greg Ungerer | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
But given you have hardware you can't change would you choose
to not run Linux, even with the limitations of non-MMU?
Hell no :-)
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg@snapgear.com
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: ...
| Aug 27, 5:11 pm 2008 |
| Greg Ungerer | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
And lots of things work in the usual way...
Of course the flip side is that for people who have platforms
without MMU they can run something more than the mostly "toy"
like operating systems typically available. There are plenty of
problem domains that the non-MMU limitations are not a problem for.
(Yours doesn't sound like one of them :-)
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: ...
| Aug 27, 5:06 pm 2008 |
| Greg Ungerer | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Yep, definitely true for m68knommu in my experience. I haven't had
any problems with 4k stacks recently. But yes the workloads do tend
to be constrained - and almost never use any of the more exotic
Indeed :-)
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg@snapgear.com
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, ...
| Aug 27, 6:05 pm 2008 |
| Gerhard Brauer | Re: 2.6.{26.2,27-rc} oops on virtualbox
nsleep isn't known here as a function, only references i found is maybe
in posix-timers.c.
msleep() is known, but each time i add for ex.
msleep(100);
in any place in text_poke and/or text_poke_early it get a kernel panic
on boot. Here's a screenie:
http://users.archlinux.de/~gerbra/tmp/2008-08-28-132337_724x456_scrot.png
I also tried to work with the isolated changes we have last made, but it
seems that only the 3 changes together work.
Also i tried to went back to older versions of ...
| Aug 28, 6:50 am 2008 |
| Greg KH | Re: [PATCH 5/7] FUSE: implement ioctl support
Why do we need ioctls? For CUSE? In that case, would we need to copy
the memory from userspace, into the kernel, and then back out into
userspace again? Can't we just have a "pass-through" type fixed ioctl
instead?
thanks,
greg k-h
--
| Aug 28, 10:51 am 2008 |
| Greg KH | Re: [PATCH 2/2] uevent: handle duplicate uevent_var keys ...
Hm, do you have any pointers to CUSE, that sounds interesting.
And how would this change interact with fake hotplug events?
thanks,
greg k-h
--
| Aug 28, 9:49 am 2008 |
| Greg KH | Re: [PATCH 2/2] uevent: handle duplicate uevent_var keys ...
Heh, nice, sounds interesting. I'll queue this patch up.
thanks,
greg k-h
--
| Aug 28, 10:33 am 2008 |
| Greg KH | Re: [ANNOUNCE] OSS Proxy using CUSE
Hm, why? It's a "fake" serial port as it is just a pass-through to the
USB device. No flow control or line settings work on the device, so the
kernel driver just silently eats them. But there is old, closed source
software that wants to talk to a serial port, so the kernel driver
remains. With this code, we could then use the more modern libusb code
instead.
I guess you could hook it up through a pty, and somehow create
For this type of USB device, that's not an issue ...
| Aug 28, 4:14 pm 2008 |
| Greg KH | Re: [PATCH 5/5] CUSE: implement CUSE - Character device ...
"traditionally" container_of() is used in #define, not a function call
as it is just pointer math that can be done at compile time.
thanks,
greg k-h
--
| Aug 28, 3:15 pm 2008 |
| Greg KH | Re: [PATCH 5/7] FUSE: implement ioctl support
No, I'm not worried about the performance, just that this should be
simple as we can just pass "arg" to userspace without touching it as it
just came from userspace, right?
Oh wait, there are process space issues at play here that I'm totally
forgetting about, right?
thanks,
greg k-h
--
| Aug 28, 11:14 am 2008 |
| Greg KH | Re: [ANNOUNCE] OSS Proxy using CUSE
Independant of that, I can see a number of uses for the CUSE code. One
would be emulating /dev/pilot for old palm pilot software that things it
wants to talk to a serial port, yet really a libusb userspace program
can handle all of the data to the USB device instead.
So don't think that just because this userspace-OSS implementation is
"not what should be done" that CUSE shouldn't be viable.
thanks,
greg k-h
--
| Aug 28, 3:18 pm 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driv ...
For splitting values up into the individual byte portions? I think this
I'll leave it (casting is just a big of a mess, this obviously shows
If so, then struct usb_device would be different, right? Oh, I see,
disconnect() using usbfs/sysfs. Bah, is it really something that
I'm not? Should I print an error and then just continue on? Would that
Will do. Then I need to lock the flag with a mutex, right?
thanks,
greg k-h
--
| Aug 28, 9:17 am 2008 |
| Greg KH | Re: [PATCH] USB: add USB test and measurement class driv ...
Yes, the old driver had a "control and debug " channel at minor 0, which
Hm, that's not good, something's wrong here.
Can you enable CONFIG_USB_DEBUG and rebuild the driver and send me the
Yeah, I would expect that to work as well. The debug information might
Good, how about the capability information? That should be in sysfs as
well, does that show the proper values?
thanks,
greg k-h
--
| Aug 28, 1:38 pm 2008 |
| Greg KH | Re: [PATCH RESEND] char_dev: add cdev->release() and con ...
Ick, I really don't want struct cdev to be used for lifecycle
management, as it is only for major:minor stuff. Why do you want to
make this change?
thanks,
greg k-h
--
| Aug 28, 9:47 am 2008 |
| Greg KH | Re: Fwd: Re: [PATCH] USB: add USB test and measurement c ...
Ok, thanks for letting us know, if they are self-powered, this shouldn't
be much of an issue. Let's focus on getting the current driver working
again :)
thanks,
greg k-h
--
| Aug 28, 1:35 pm 2008 |
| Greg KH | Re: [PATCH RESEND] char_dev: add cdev->release() and con ...
That's fine, it's just like a USB device that uses a cdev, right? Or a
PCI device, or any other type of device that can come and go independant
of the cdev or module lifespan.
So, you tie the cdev lifespan to the module lifespan with the
MODULE_OWNER in the file operations. As the cuse.ko module will own the
cdev, it can handle that reference, and it can not be removed as long as
userspace has the cdev open, right?
It really isn't any different from any other type of removable ...
| Aug 28, 10:48 am 2008 |
| Greg KH | Re: [PATCH RESEND] char_dev: add cdev->release() and con ...
Yes, but as you "normally" tie the cdev to the module itself, that
handles the lifetime rules.
Now I really dont' like the current cdev interface, it's a bit too
complex as it needed to support the old-style interfaces without any
build time changes, but I think your change isn't needed as somehow all
the current drivers that support dynamic devices don't need it.
Actually, the kobject in cdev shouldn't be an kobject, it's not used for
registering with sysfs at all, it should just be a ...
| Aug 28, 11:17 am 2008 |
| Greg KH | Re: [PATCH RESEND] char_dev: add cdev->release() and con ...
Hm, I thought Al covered that when he created the cdev interface, I
But CUSE should be it's own module, right? And it would "own" the cdev,
so the module and cdev count should be fine and matching. The userspace
code could go away but the CUSE code should handle that with a different
reference count. This is the way that hardware drivers handle the
issue.
thanks,
greg k-h
--
| Aug 28, 10:38 am 2008 |
| greg | [patch 00/03] USB-IP patches
Here's 3 patches that adds USB-IP functionality code to the kernel tree.
It is against 2.6.27-rc4, and has been added to the -staging tree. If
there are no major objections, I'll also queue it up in the usb tree for
submission into 2.6.28.
The code is based on Takahiro's great work that has been sitting outside
of the kernel for many many years now. Brian Merrell took the most
recent version of the code, cleaned it up and sent it to me. I did more
cleanup and split the patch into 3 pieces, ...
| Aug 28, 4:00 pm 2008 |
| greg | [patch 03/03] USB: USB/IP: add host driver
From: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
This adds the USB IP client driver
Brian Merrell cleaned up a lot of this code and submitted it for
inclusion. Greg also did a lot of cleanup.
Signed-off-by: Brian G. Merrell <bgmerrell@novell.com>
Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/ip/Kconfig | 10
drivers/usb/ip/Makefile | 3
drivers/usb/ip/stub.h | 95 ++++++
...
| Aug 28, 4:00 pm 2008 |
| greg | [patch 02/03] USB: USB/IP: add client driver
From: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
This adds the USB IP client driver
Brian Merrell cleaned up a lot of this code and submitted it for
inclusion. Greg also did a lot of cleanup.
Signed-off-by: Brian G. Merrell <bgmerrell@novell.com>
Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/ip/Kconfig | 10
drivers/usb/ip/Makefile | 3
drivers/usb/ip/vhci.h | 142 ++++
...
| Aug 28, 4:00 pm 2008 |
| greg | [patch 01/03] USB: USB/IP: add common functions needed
From: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
This adds the common functions needed by both the host and client side
of the USB/IP code.
Brian Merrell cleaned up a lot of this code and submitted it for
inclusion. Greg also did a lot of cleanup.
Signed-off-by: Brian G. Merrell <bgmerrell@novell.com>
Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/usb/Kconfig | 2
drivers/usb/Makefile ...
| Aug 28, 4:00 pm 2008 |
| Robert Hancock | Re: libata, Sound on same IRQ : flaky sound
That's an issue with the way the motherboard IRQ lines are wired.
There's nothing the kernel can do about it.
Normally I wouldn't expect that to make a big difference though..
You'd really have to try a newer kernel first in order to get much help,
though. That's a pretty ancient kernel. Quite likely the situation is
--
| Aug 28, 7:41 am 2008 |
| Harvey Harrison | Re: + rcu-fix-sparse-shadowed-variable-warning.patch add ...
It would be safe in this case to just remove the second declaration of flags
and reuse it as it is outside the local_irq_save/restore pair. I did it
this
way in case there are future changes that might mix up the use of flags.
Feel free to just remove the second flags declaration if you'd rather do
it
that way.
Cheers,
Harvey
--
| Aug 27, 8:51 pm 2008 |
| Christoph Hellwig | Re: [PATCH] block: kmalloc args reversed, small function ...
Umm, the gfp bit sounds like a clear 2.6.27 candidate.
--
| Aug 28, 7:19 am 2008 |
| Christoph Hellwig | Re: [PATCH] block: kmalloc args reversed, small function ...
Ah, okay. Makes sense then.
--
| Aug 28, 7:30 am 2008 |
| Christoph Hellwig | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
Actually both interfaces are a fscking disaster. The right things to
pass is neither and inode nor a file but a struct block_device. Al had
all this work done a while and it just needs rebasing to a current tree:
http://git.kernel.org/?p=linux/kernel/git/viro/bdev.git;a=summary
--
| Aug 28, 6:52 am 2008 |
| sHittmeyer | WLAN Stack for 2.6.23
I'm trying to get the actual mac80211 WLAN stack onto a 2.6.23 kernel
which is patched for a embedded Controller (Coldfire V4 M54455EVB).
Could anybody tell me where i can find the sources for the stack on
git.kernel.org and perhaps give me some hints how I can update my kernel?
I would also be happy about every link related to it that could been
given to me.
--
| Aug 28, 7:35 am 2008 |
| Henrique de Moraes H ... | Re: [PATCH] ACPI: thinkpad-acpi: wan radio control is no ...
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
I have queued it and since it is an one-liner with zero chance of
causing problems, I will ask Andi to merge it for 2.6.27. If he doesn't
agree, it will be merged for 2.6.28.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
| Aug 28, 6:39 am 2008 |
| Henrique de Moraes H ... | Re: /proc/acpi/ibm/wan stopped appearing
Anything that does it through HAL when HAL gets updated, I suppose.
I don't really care for the network management GUIs, I have never seen one
that worked properly, so I dropped them all for good. The UIs I use are
wpa-supplicant's config file, iproute and friends, and Debian's ifupdown
crap.
The only UI I trust enough to touch rfkill control on my machines is the
kernel itself (rfkill-input is an UI), so I guess you will have to ask
someone else about it normal user-level UIs and GUIs for ...
| Aug 27, 6:46 pm 2008 |
| H. Peter Anvin | Re: [ANNOUNCE] OSS Proxy using CUSE
I think that's probably another bad example... I would think serial port
emulation would be better handled by ptys, and/or a specific serial port
emulation module.
The big problem with using ptys for serial port emulation is that they
currently don't handle BREAK at all.
-hpa
--
| Aug 28, 4:05 pm 2008 |
| H. Peter Anvin | Re: [PATCH 5/7] FUSE: implement ioctl support
Uhm, no. You can still have it change underneath you as long as you
have any thread of execution with access to the same memory.
This is *hard* to get right, and we screw this up in the kernel with
painful regularity. The throught of having user-space processes, which
don't have access to the kernel locking primitives and functions like
copy_from_user() dealing with this stuff scares me crazy.
That is why I'm suggesting using an in-kernel linearizer.
-hpa
--
| Aug 28, 1:21 pm 2008 |
| H. Peter Anvin | Re: [PATCH 5/7] FUSE: implement ioctl support
Be careful -- there are some serious dragons there in the presence of
multiple threads.
-hpa
--
| Aug 28, 12:08 pm 2008 |
| H. Peter Anvin | Re: [PATCH 5/7] FUSE: implement ioctl support
Okay, I'm going to say it... wouldn't it be better to have some kind of
data structure description language which the userspace can register
with the kernel to linearize the data on a per-ioctl basis (kind of like
rpcgen)?
-hpa
--
| Aug 28, 11:20 am 2008 |
| H. Peter Anvin | Re: [ANNOUNCE] OSS Proxy using CUSE
Why? Because there is a lot of complexity in the tty layer, and there
is no point in replicating the entire tty layer with all its ioctls
through a fragile user-space emulator. For cases like this, a pty is
easier (your daemon opens /dev/ptmx, and then symlinks the appropriate
Indeed. It would be nice to fix, because it would make implementing
serial ports as ptys+userspace a much more capable replacement. It's
not trivial, though, because the interpretation of the BREAK has to be ...
| Aug 28, 4:38 pm 2008 |
| H. Peter Anvin | Re: [PATCH 5/7] FUSE: implement ioctl support
Memory changing underneath you. It can be dealt with by very careful
And then you get *no* privilege separation, for one thing, so why even
bother doing it in userspace?
-hpa
--
| Aug 28, 2:27 pm 2008 |
| H. Peter Anvin | Re: [PATCH] x86: split e820 reserved entries record to late
My thinking is that if we run into a region which is reserved in e820
but points to a real BAR, we would want to keep that BAR pinned, since a
legitimate BIOS might use this mechanism to indicate that the device
implemented by that BAR is used by SMM or ACPI. If not, in most cases
we will only have wasted some address space. The sucky case, of course,
would be an uninitialized BAR pointing into unusable address space which
happens to be reserved in e820. This seems very difficult to ...
| Aug 28, 1:29 pm 2008 |
| H. Peter Anvin | Re: Cleanup and updates of x86 CPU definitions
It was a dumb-ass thinko on my part (already fixed in tip:x86/cpu).
-hpa
--
| Aug 28, 1:22 pm 2008 |
| H. Peter Anvin | Cleanup and updates of x86 CPU definitions
Hi all,
I have just committed to tip:x86/cpu the following patch series:
H. Peter Anvin (3):
x86: generate names for /proc/cpuinfo from <asm/cpufeature.h>
x86: cpufeature: add Intel features from CPUID and AVX specs
x86: <asm/cpufeature.h>: clean up overlong lines, whitespace
The combined patch is below.
This changes the CPU feature naming code so that all that information
comes from <asm-x86/cpufeature.h>. In the past we have had a number of
problems with ...
| Aug 27, 9:30 pm 2008 |
| H. Peter Anvin | Re: [PATCH] x86: split e820 reserved entries record to late
I believe you are right.
I think the key bit here is that if the IO or MEM bit is enabled, it's
likely to be initialized. The PCI specs say that BARs should come out
of reset initialized to zero, but I know for a fact that at least
several Broadcom chips don't -- however, the combination of BAR and
enable bits should be enough of a sentry.
-hpa
--
| Aug 28, 1:45 pm 2008 |
| Peter Teoh | some problem with "git pull"
Issuing the following:
git pull git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
result in the following output:
remote: Counting objects: 354, done.
remote: Compressing objects: 100% (220/220), done.
remote: Total 354 (delta 173), reused 278 (delta 134)
Receiving objects: 100% (354/354), 603.00 KiB | 10 KiB/s, done.
Resolving deltas: 100% (173/173), done.
* non-commit: keep
a72c497614f3fec7453b826b33ab0303c3c087fc ...
| Aug 27, 10:38 pm 2008 |
| Hugh Dickins | Re: [PATCH] coredump_filter: add hugepage core dumping
This seems very reasonable to me
(though I've little use for coredumps or hugepages myself).
One caution though: how well does it behave when coredumping a large
area of hugepages which have not actually been instantiated prior to
the coredump? We have that funny FOLL_ANON ZERO_PAGE code in
follow_page() to avoid wasting memory on large uninstantiated anon
areas, but hugepages won't go that way. If the dump hangs waiting for
memory to be freed, or OOMkills other processes, that wouldn't ...
| Aug 28, 9:38 am 2008 |
| Ilpo Järvinen | Re: loaded router, excessive getnstimeofday in oprofile
You could always pull net-2.6 to Linus' tree by yourself.
...And about the workflow, net-2.6 isn't rebased, instead Linus just
pulls it in to his tree.
--
i.
--
| Aug 28, 12:01 pm 2008 |
| James Ausmus | Re: libata, Sound on same IRQ : flaky sound
On Wed, Aug 27, 2008 at 6:30 PM, Robert M. Stockmann <stock@stokkie.net> wrote:
Not to divert this into a distro discussion, but you should look into
Gentoo (http://www.gentoo.org) - it offers the kind of customization
and flexibility (as well as pick and choose update capabilities) that
it sounds like you are interested in.
--
| Aug 28, 9:33 am 2008 |
| Jari Aalto | Re: 2.6.25 DMA: Out of SW-IOMMU space - Asus M2N32 AMD 8 ...
REF: http://article.gmane.org/gmane.linux.kernel/725293 (thread start)
I regret to report that:
- Upgraded to kernel 2.6.26-1-amd64 (Debian/unstable 2.6.26-3)
$ grep -Ei 'iommu|agp' /boot/config-2.6.26-1-amd64
CONFIG_GART_IOMMU=y
CONFIG_CALGARY_IOMMU=y
CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
CONFIG_IOMMU_HELPER=y
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_AGP_INTEL=m
CONFIG_AGP_SIS=m
CONFIG_AGP_VIA=m
# CONFIG_IOMMU_DEBUG is not set
- Rebooted without 'iommu' parameter. dmesg:
[ ...
| Aug 28, 1:49 pm 2008 |
| jassi brar | Re: An idea .... with code
Cryptoloop? No, my code isn't the 'same' as loop.c and hence can't provide for cryptoloop. I lose, you win :)
Cryptoloop was designed so b'coz 'loop' feature was available, not the other way round. Had we not had '-o loop', developers would have devised mechanism for encrypting block devices rather than exploiting the -o loop hack. In retrospect, it seems Cryptoloop was a bad design based upon a hack.
Encryption? Yes, my code does provide a way for it. It supports better dm-crypt/LUKS off the ...
| Aug 27, 6:24 pm 2008 |
| Jesse Barnes | Re: [PATCH 2.6.27-rc4] irq: irq and pci_ids patch for In ...
Yeah, this has me confused now too. I remember specifically asking if the
other PCHs needed to be added to this list when the last patch was applied.
What happened? Can you give us some more background here, Seth? The
changelog should definitely include an explanation of why the IDs need to be
changed (i.e. why the old commit was wrong).
Thanks,
--
Jesse Barnes, Intel Open Source Technology Center
--
| Aug 28, 7:12 am 2008 |
| Jeff Garzik | Re: libata, Sound on same IRQ : flaky sound
What is the behavior of a recent kernel?
Is your SATA interface set to legacy mode in BIOS?
Jeff
--
| Aug 27, 5:59 pm 2008 |
| Jens Axboe | Re: [PATCH] block: kmalloc args reversed, small function ...
I would agree, except the bug is introduced by a patch in the 2.6.28
series :-)
--
Jens Axboe
--
| Aug 28, 7:28 am 2008 |
| Jens Axboe | Re: 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled(): ...
No, that's the guarentee of mempool_alloc() - as long as you have
__GFP_WAIT set, you'll never see a NULL return.
--
Jens Axboe
--
| Aug 28, 1:11 am 2008 |
| Jens Axboe | Re: 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled(): ...
Doh right, we of course can't block inside a RCU section. Then
bitmap.c:write_sb_page() wants fixing:
rcu_read_lock();
rdev_for_each_rcu(...)
md_super_write(...)
bio_alloc(GFP_NOIO, 1);
Neil?
--
Jens Axboe
--
| Aug 28, 12:48 am 2008 |
| Jens Axboe | Re: MTD kobject warnings due to block layer changes
Tomo? I don't see how this is happening. The queue is properly zeroed,
so no chance ->state_initialized being crap.
--
Jens Axboe
--
| Aug 28, 3:09 am 2008 |
| Jens Axboe | Re: 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled(): ...
That was my initial thought as well, but the problem there is that you
cannot prealloc > 1 bio without matching it with a submit_bio() as well,
or you'd violate the bio_alloc() restriction on having the previous in
flight before allocating a new one.
--
Jens Axboe
--
| Aug 28, 1:36 am 2008 |
| Jens Axboe | Re: 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled(): ...
Hmm, this just looks like a GFP_NOIO alloc inside rcu_read_lock(), I
don't see anything wrong with that?
--
Jens Axboe
--
| Aug 28, 12:33 am 2008 |
| Jens Axboe | Re: [PATCH] block: kmalloc args reversed, small function ...
Woops, that kmalloc() is nasty. Thanks a lot, applied to for-2.6.28.
--
Jens Axboe
--
| Aug 28, 12:26 am 2008 |
| Jeremy Fitzhardinge | Re: Cleanup and updates of x86 CPU definitions
Is this supposed to appear as "Safer" in /proc/cpuinfo? Or should this
be ``Safer''?
J
--
| Aug 28, 1:11 pm 2008 |
| Jeremy Fitzhardinge | Re: Definition of x86 _PAGE_SPECIAL and sharing _PAGE_UNUSED1
Yes, that was my plan, but without knowing how _SPECIAL is used, it's a
bit tricky. Is there a comment somewhere which describes who sets it
and when? From a quick look, it seems it's set on newly added user
pages which aren't COWed. Can they be shared file-backed pages?
It's only used in a couple of places, so giving it a longer name
wouldn't cost much. _PAGE_USER_UNCOUNTED? But ugh, a lot of cross-arch
churnpatch to do it.
J
--
| Aug 27, 5:47 pm 2008 |
| Jeremy Fitzhardinge | [PATCH RFC] x86: check for and defend against BIOS memor ...
Some BIOSes have been observed to corrupt memory in the low 64k. This
patch does two things:
- Reserves all memory which does not have to be in that area, to
prevent it from being used as general memory by the kernel. Things
like the SMP trampoline are still in the memory, however.
- Clears the reserved memory so we can observe changes to it.
- Adds a function check_for_bios_corruption() which checks and reports on
memory becoming unexpectedly non-zero. Currently it's called in ...
| Aug 28, 12:52 pm 2008 |
| Jeremy Fitzhardinge | [PATCH] ACPI: thinkpad-acpi: wan radio control is not ex ...
The WWAN radio control has been working well for over three years,
and is no longer experimental.
Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
---
Documentation/laptops/thinkpad-acpi.txt | 11 +++--------
drivers/misc/thinkpad_acpi.c | 1 -
2 files changed, 3 insertions(+), 9 deletions(-)
===================================================================
--- a/Documentation/laptops/thinkpad-acpi.txt
+++ b/Documentation/laptops/thinkpad-acpi.txt
@@ -44,7 +44,7 @@
...
| Aug 27, 9:04 pm 2008 |
| Jeremy Fitzhardinge | Re: [PATCH RFC 3/3] x86: use mwait for trigger API
Yeah, I have to admit I never tested this code (it was an RFC, after
all). And after Arjan said that mwait is unusable, I didn't spend any
Must have lost a line somewhere. It's supposed to clear the bit here,
before wait returns.
J
--
| Aug 28, 10:33 am 2008 |
| Jeremy Fitzhardinge | [PATCH] x86: make sure the CPA test code's use of _PAGE_ ...
The CPA test code uses _PAGE_UNUSED1, so make sure its obvious.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
arch/x86/mm/pageattr-test.c | 6 +++---
include/asm-x86/pgtable.h | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
===================================================================
--- a/arch/x86/mm/pageattr-test.c
+++ b/arch/x86/mm/pageattr-test.c
@@ -32,7 +32,7 @@
GPS = (1<<30)
};
-#define ...
| Aug 28, 1:58 pm 2008 |
| John Kacur | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
I'm rather surprised at this whole conversation. I think it is pretty
simple that.
1. The kernel should not set policy but provide capabilities.
a.) It would be more appropriate for a distro to set the policy -. but
even here, the default policy should match the expectation of what
SCHED_FIFO is and standards such as POSIX unless there is a really
really good reason to show why the standard is wrong. (and I haven't
heard it here)
b.) The fact that it is possible to change the settings is ...
| Aug 28, 10:22 am 2008 |
| Jiri Kosina | Re: SLES10 SP1 (x86_64): Hard-hang when using NFSv4 from HP-UX
In what sense? Do you think I am trying to direct as much bugs as possible
linux-kernel malinglist is focused on vanilla kernel development. i.e. all
the bugs that are present in the current version of the code are very
welcome to be reported here.
SLES10 is based on 2.6.16 kernel, which has little interest for vanilla
kernel developers. The bug you might be seeing could be caused by some
SLES-specific patch (which is not probable, there are not many out-of-tree
patches really), could ...
| Aug 28, 1:05 pm 2008 |
| Jiri Kosina | Re: SLES10 SP1 (x86_64): Hard-hang when using NFSv4 from HP-UX
Sorry, but this mailinglist would be appropriate only if this happens
still with current vanilla kernel.
Otherwise, you should report this problem to your vendor (Novell bugzilla
in this case).
--
Jiri Kosina
SUSE Labs
--
| Aug 28, 4:37 am 2008 |
| Joe Malicki | Re: loaded router, excessive getnstimeofday in oprofile
I've worked with systems where SO_TIMESTAMP has been used for
H.323 videoconferencing systems to synchronize audio and video
where remote systems' timestamps on the protocol streams proved
to be inaccurate (based off of different, unsynchronized clocks).
I can't see any other realistic use of this, but trying to get
timestamps for quasi-realtime protocols may be an important use
case - and in that case, you want the time when it hits the
interface, NOT when it hits the socket.
What ...
| Aug 27, 11:28 pm 2008 |
| James Morris | Re: [patch] file capabilities: Add no_file_caps switch
It's already in the next-creds branch, but it could be added to the next
branch (which will be pushed to Linus in the next merge window). Both
branches are in linux-next.
--
James Morris
<jmorris@namei.org>
--
| Aug 27, 6:57 pm 2008 |
| James Morris | Re: [patch] file capabilities: Add no_file_caps switch
Linus only pulled the PF_SUPERPRIV fix once the sys_capset change was
removed from the patch. It really does need to be a bugfix at this stage.
- James
--
James Morris
<jmorris@namei.org>
--
| Aug 27, 5:05 pm 2008 |
| James Morris | Re: [PATCH 1/1] selinux: add support for installing a du ...
Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next
--
James Morris
<jmorris@namei.org>
--
| Aug 27, 5:45 pm 2008 |
| James Morris | Re: [PATCH] securityfs: do not depend on CONFIG_SECURITY
Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next
--
James Morris
<jmorris@namei.org>
--
| Aug 27, 6:17 pm 2008 |
| Jochen Voß | Re: [PATCH] e1000: fix stack size
Hi,
^^^^^^^^^^^^^^
I hope this helps,
Jochen
--
http://seehuhn.de/
--
| Aug 28, 3:17 am 2008 |
| Joe Korty | Re: [PATCH] NFSv3: cached permissions subset enhancement, v2
Hi Trond,
I've tested the new patch with the test sequence mentioned in the
original customer bug report, and it seems to work.
Joe
--
| Aug 28, 1:57 pm 2008 |
| Joe Korty | Re: [PATCH] make poll_idle behave more like the other id ...
Believe it or not, it's a very old version of LTTng trace.
We have a guy that keeps dragging it forward (compatibility
reasons).
Joe
--
| Aug 28, 8:19 am 2008 |
| Joe Korty | [PATCH] NFSv3: cached permissions subset enhancement, v2
Is there any chance that the cached permissions are shared amoung
multiple open(2)'s of the same file? If sharing happens then we
really need to cache all of MAY_EXEC | MAY_WRITE | MAY_READ, rather
than just that subset asked for by the open(2) that happens to
be the one filling in the cache.
In any case, I've rewritten the patch per the above suggestion, and
in doing so noted an embarrasing bug in the original posting, one that
happened to touch all the values that it needed to, by ...
| Aug 28, 11:28 am 2008 |
| Joe Korty | Re: [PATCH] make poll_idle behave more like the other id ...
I saw the outer loop running continuously, from the old
trace patch which I had applied.
Nowdays the outer loop runs the NO_HZ stuff, which touches
quite a few memory locations. Having say two cpus in idle
and there is potential for cache thrashing to suck up a good
part of the local memory bus bandwidth.
And I suspect as time goes on cpu_idle will end up with
more work to do.
Joe
--
| Aug 28, 6:22 am 2008 |
| Jordan Crouse | Re: HPET regression in 2.6.26 versus 2.6.25 -- found ano ...
Hi Yinghai - sorry, I've been away from my email for a few days.
I know you resolved most of the problems, but a quirk patch to
get rid of the BAR all together would be a good idea. I'll send
something out following the US holiday.
Jordan
--
Jordan Crouse
Systems Software Development Engineer
Advanced Micro Devices, Inc.
--
| Aug 28, 3:52 pm 2008 |
| Jason Uhlenkott | Re: loaded router, excessive getnstimeofday in oprofile
It's a *socket* option. It's named SO_TIMESTAMP. Users of it ought
to *expect* that it records the time the packet hits the socket, not
the time the frame hits the device.
If banks want to know when frames are hitting their devices, that's
fine, but setsockopt() is the wrong layer for controlling that sort of
I don't agree that the tools are broken. Some of them may have
frivolous reasons for wanting timestamps, but they're asking for
something at the socket layer, with the scope of a ...
| Aug 27, 7:39 pm 2008 |
| Soeren Sonnenburg | Re: converting appletouch to usb autosuspend again...
Do you have an updated version of your patch that applies to
OK, indeed it never autosuspends... I guess this is this due to the
keyboard and the mice being on the same usb port and as the kbd part
Well reaching this line the touchpad is idling (hasn't been touched+no
button was pressed) - I somehow wanted to force it to suspend in this
My fault. I was still rmmod'ing appletouch before suspending. It works
perfectly + reliably the way it is.
Thanks,
Soeren
--
| Aug 28, 8:41 am 2008 |
| Kevin Diggs | Re: [PATCH 2/4] Add cpufreq driver for the IBM PowerPC 750GX
As you point out, there are three calls to complete().
The first is in the switch callback, in the idle_pll_off disabled branch.
This callback is triggered from the pll switch routine in pll_if. So that
means the call to _modify_PLL() in _target worked. So the complete() call
in _target will NOT be called. The complete() call in the lock callback
is only called in the idle_pll_off enabled branch.
As just mentioned, the second complete() call in the lock callback is
only called when ...
| Aug 28, 9:34 am 2008 |
| Jean Delvare | [GIT PULL] i2c fixes for 2.6.27
Hi Linus,
Please pull the i2c subsystem fixes for Linux 2.6.27 from:
git://jdelvare.pck.nerim.net/jdelvare-2.6 i2c-for-linus
drivers/i2c/i2c-core.c | 18 ++++++++++--------
include/linux/i2c.h | 12 ++++++++++++
2 files changed, 22 insertions(+), 8 deletions(-)
---------------
Jean Delvare (2):
i2c: Add missing kerneldoc descriptions
i2c: Prevent log spam on some DVB adapters
Marc Pignat (1):
i2c: Fix device_init_wakeup place
Thanks,
--
Jean ...
| Aug 28, 12:27 am 2008 |
| Jean Delvare | Re: [PATCH 2.6.27-rc4] irq: irq and pci_ids patch for In ...
Hi Seth,
Changing device ID definitions that way is really bad practice. It
BTW, what's the point of these defines? I get the idea of giving nice
names to device IDs if these names are explicit and really describe the
device. But the Intel south bridge device names are nothing more than
arbitrary numbers, so you are replacing a set of arbitrary numbers by
another set of arbitrary numbers. I see little benefit in doing this,
given the cost it has. For what it's worth, several subsystems ...
| Aug 28, 12:49 am 2008 |
| Jean Delvare | Re: [PATCH 2.6.27-rc4] irq: irq and pci_ids patch for In ...
So basically, you (Intel) have no clue what IDs will be used, and
instead of waiting until you have the information, you prefer to add a
bunch of device IDs to the Linux kernel, most of which will never
exist? This is making the kernel code bigger and slower. Not by much,
but still... That's bad engineering, really. Especially if you don't
clean up afterwards, as happens to be the case for the ICH10. I
compared the ICH10 datasheet with the IDs we have in the kernel and
only 3 of the 6 defined ...
| Aug 28, 8:30 am 2008 |
| Jean Delvare | Re: [alsa-devel] [PATCH 2/4] ASOC codec: add support for ...
Hi Bryan, Mark,
Sure, I can help with that if needed. OTOH, I've posted patches
converting 2 drivers already [1] [2], and apparently all the codec
drivers follow the same model so it shouldn't be too difficult for
driver authors to do the same on their code. But anyway I'll convert
the remaining drivers as my time permits. The plan is to have
everything converted for kernel 2.6.28 (at which point the old I2C API
will be deprecated.)
[1] ...
| Aug 28, 4:44 am 2008 |
| Jean Delvare | Re: [PATCH 2.6.27-rc4] i2c-i801: SMBus patch for Intel I ...
This is messy. I'm discarding this patch from my i2c tree for the time
being. When things have settled on the pci_ids.h front, I'll look into
applying it again.
Note that your patch is still missing a chunk to
Documentation/i2c/busses/i2c-i801. Originally I added it myself but if
you are going to resend the same patch with different IDs every now and
then, please add it on your side too, so that I don't have to fix it
manually every time.
--
Jean Delvare
--
| Aug 28, 12:53 am 2008 |
| Ravikiran G Thirumalai | 2.6.25/26/27 scheduler regression on NUMA configurations
Hi,
We are noticing a significant regression in performance with some test workloads on
x86_64 NUMA machines. The workload is multiple datatest processes
running in parallel. Each process is basically performing writes and
reads to disk backed files. More information about datatest can be found at:
http://home.comcast.net/~SCSIguy/SCSI_FAQ/RMiller_Tools/dt.html
To give an idea about the regression, on a plain vanilla 2.6.21 kernel, a test suite
running a bunch of datatest processes on ...
| Aug 28, 7:28 am 2008 |
| Marcel Janssen | Re: [PATCH] USB: add USB test and measurement class driv ...
I've just installed this version.
Here's what I see so far :
The driver inserts well and when I connect my device it shows /dev/usbtmc0
with major 180 and minor 176.
It only creates one device (Stefan's driver created two) but I'm not sure if
that has changed for a reason so just let you know.
When I disconnect my device, usbtmc0 will not be destroyed. After connecting
the device a couple of times I have a lot of /dev/usbtmc.. files.
I would expect the following to work :
echo ...
| Aug 28, 9:58 am 2008 |
| Marcel Janssen | Re: Fwd: Re: [PATCH] USB: add USB test and measurement c ...
Actually this is a good point.
The USB spec mentions that the device should suspend when a constant idle
state is detected for more than 3.0ms.
I either have not seen that happening before or I missed something when
writing my firmware. I'll keep an eye on my USB analyzer though :-)
Although it's a good thing to keep to the spec, I also believe that in the
case of a test and measurement device suspending the device may be an
unwanted behaviour but perhaps I do misinterpret this part of ...
| Aug 28, 11:22 am 2008 |
| KOSAKI Motohiro | Re: [PATCH] coredump_filter: add hugepage core dumping
Thank you, Adam!
Yes, libhugetlbfs user increased in these days.
--
| Aug 28, 7:59 am 2008 |
| KOSAKI Motohiro | Re: [PATCH] coredump_filter: add hugepage core dumping
I think hugepage reservation pages always exist when hugepage COW happend.
Then, hugepage access never cause try_to_free_pages() nor OOM.
Adam, if I talk lie, please tell us truth.
--
| Aug 28, 4:35 pm 2008 |
| KOSAKI Motohiro | [PATCH] coredump_filter: add hugepage core dumping
Now, hugepage's vma has VM_RESERVED flag because it cannot be swapped.
and VM_RESERVED vma isn't core dumped because its flag often be used for
kernel internal vma (e.g. vmalloc, sound related).
So, hugepage is never dumped and it indicate hugepages's program can't be debugged easily.
In these days, demand on making use of hugepage is increasing.
IMO, native support for coredump of hugepage is useful.
I think VM_RESERVED default dumping bahavior is good,
then I'd like to add ...
| Aug 27, 10:24 pm 2008 |
| kovlensky | mounting windows shares with path exactly like on windows
I'm sorry to be slightly off topic, when it comes to this list, but I have no clue where to look for that and I think it can be doe on kernel level only.
In short - I've got bunch of applications running both on windows and linux and these applications exchange links to files mounted on both sides. The problem is that these paths are different, i.e. like D:/dir/file on windows and /mountpoint/dir/file on Linux. What I need is unifying them. So my idea is to have path translator on anything on kernel ...
| Aug 28, 2:59 am 2008 |
| Abhishek Kulkarni | Re: [PATCH] 9p bug fix: return non-zero error value in p ...
Yes, this bug didn't come up to the surface since p9_create_twrite is
not even being called anywhere in v9fs. I tripped over it when using 9p
Yes, but then that makes the "check for error in return value" in
p9_create_twrite useless since memmove is not going to return an error
in any case.
Going with the existing convention however, I think the bufoverflow
check is unnecessary in p9_put_data and so is the check for error on
return.
I'll resubmit a patch.
--
| Aug 28, 11:35 am 2008 |
| Karen Xie | [PATCH 1/4 2.6.28] cxgb3 - manage a private ip address f ...
[PATCH 1/4 2.6.28] cxgb3 - manage a private ip address for iSCSI
From: Karen Xie <kxie@chelsio.com>
Create a per port sysfs entry to pass an IP address to the NIC driver, and a control call for the iSCSI driver to grab it.
The IP address is required in both drivers to manage ARP requests and connection set up.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
---
drivers/net/cxgb3/adapter.h | 1 +
drivers/net/cxgb3/cxgb3_ctl_defs.h | 7 +++++
drivers/net/cxgb3/cxgb3_main.c ...
| Aug 27, 9:21 pm 2008 |
| Karen Xie | [PATCH 0/4 2.6.28] cxgb3i iscsi initiator driver
Hi, everyone,
Please review our new version of the iSCSI Initiator drivers for Chelsio S3 adapters. We have updated the code with the feedbacks received, including getting rid of most of the __GFP_NOFAIL allocation.
The cxgb3i driver provides iscsi acceleration (PDU digest offload and payload direct-placement) to the open-iscsi initiator. It accesses the hardware through the cxgb3 module.
The accelerated iscsi traffic uses a private IP address which is unknown to the OS.
netdev list, please ...
| Aug 27, 9:21 pm 2008 |
| Karen Xie | [PATCH 4/4 2.6.28] cxgb3i - cxgb3i iscsi driver
[PATCH 4/4 2.6.28] cxgb3i - cxgb3i iscsi driver
From: Karen Xie <kxie@chelsio.com>
cxgb3i iSCSI driver.
Signed-off-by: Karen Xie <kxie@chelsio.com>
---
drivers/scsi/Kconfig | 2
drivers/scsi/Makefile | 1
drivers/scsi/cxgb3i/Kconfig | 7
drivers/scsi/cxgb3i/Makefile | 5
drivers/scsi/cxgb3i/cxgb3i.h | 177 +++
drivers/scsi/cxgb3i/cxgb3i_init.c | 109 ++
drivers/scsi/cxgb3i/cxgb3i_iscsi.c | 800 ...
| Aug 27, 9:22 pm 2008 |
| Karen Xie | [PATCH 2/4 2.6.28] cxgb3 - handle ARP replies for privat ...
[PATCH 2/4 2.6.28] cxgb3 - handle ARP replies for private iSCSI IP address
From: Karen Xie <kxie@chelsio.com>
The accelerated iSCSI traffic uses a private IP address unknown to the OS.
The driver has to reply to ARP requests dedicated to the private IP address.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
---
drivers/net/cxgb3/sge.c | 72 ++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 67 insertions(+), 5 deletions(-)
diff --git a/drivers/net/cxgb3/sge.c ...
| Aug 27, 9:21 pm 2008 |
| Karen Xie | [PATCH 3/4 2.6.28] open-iscsi - support for digest offlo ...
[PATCH 3/4 2.6.28] open-iscsi - support for digest offload and payload DDP.
From: Karen Xie <kxie@chelsio.com>
Added PDU digest offload and payload direct-placement support in
open-iscsi.
Signed-off-by: Karen Xie <kxie@chelsio.com>
---
drivers/scsi/iscsi_tcp.c | 56 ++++++++++++++++++++++++-----------
drivers/scsi/iscsi_tcp.h | 14 +++++++++
drivers/scsi/libiscsi.c | 54 +++++++++++++++++++++++++++-------
include/scsi/iscsi_if.h | ...
| Aug 27, 9:21 pm 2008 |
| Lai Jiangshan | Re: [PATCH] cgroup(fix critical bug): new handling for t ...
Yep, these are hard. Which method is your favorite?
My original purpose was to fix a bug as I described.
This bug and the problem that offering big enough array for a huge
cgroup are orthogonal!
Could you consider/test that is it a bug as I described(and is it as
critical as I described, maybe I was too nervous)?
And this is also a problem: opening a cgroup.tasks twice or will waste
a lot of _physical_ memory.
Thanks! Lai
--
| Aug 28, 5:09 am 2008 |
| Luiz Fernando N. Cap ... | Re: 2.6.{26.2,27-rc} oops on virtualbox
Em Wed, 27 Aug 2008 19:33:28 -0400
Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> escreveu:
| * Luiz Fernando N. Capitulino (lcapitulino@mandriva.com.br) wrote:
| > 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 :
| > | >
| > | > ...
| Aug 28, 6:30 am 2008 |
| Luiz Fernando N. Cap ... | PATCH: Kbuild: mkspec has to include /lib/firmware contents
We have to include the contents of /lib/firmware directory when building
the RPM package, otherwise the build will fail because of unpackaged
files.
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
---
scripts/package/mkspec | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/package/mkspec b/scripts/package/mkspec
index ffd61fe..4f5d8cd 100755
--- a/scripts/package/mkspec
+++ b/scripts/package/mkspec
@@ -92,5 +92,6 @@ echo "%files"
...
| Aug 28, 10:07 am 2008 |
| Luiz Fernando N. Cap ... | PATCH: Remove 8254 timer texts from Documentation
Commit ecd29476ae0143b1c3641edfa76c0fc3e9ad3021 removed the
"disable_8254_timer" and "enable_8254_timer" kernel parameters from
the kernel but did not remove the references to them from two
files in the Documentation directory: kernel-parameters.txt and
x86/x86_64/boot-options.txt.
This change completes the removal.
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
---
Documentation/kernel-parameters.txt | 6 ------
...
| Aug 28, 7:00 am 2008 |
| Li Yang | [PATCH] usb: add Freescale QE/CPM USB peripheral control ...
Some of Freescale SoC chips have a QE or CPM co-processor which
supports full speed USB. The driver adds device mode support
of both QE and CPM USB controller to Linux USB gadget. The
driver is tested with MPC8360 and MPC8272, and should work with
other models having QE/CPM given minor tweaks.
Signed-off-by: Xie Xiaobo <X.Xie@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
---
This is the second submission of the driver. This version addressed:
Comments from Anton Vorontsov.
A ...
| Aug 28, 2:43 am 2008 |
| Paul Mundt | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
In some cases, yes. In the CONFIG_DEBUG_STACKOVERFLOW case the check is
only performed from do_IRQ(), which is sporadic at best, especially on
tickless. While it catches some things, it's not a complete solution in
and of iteslf.
In addition to this, there are even fewer platforms that support it than
there are platforms that do 4k stacks. At first glance, it looks like
it's only m32r, powerpc, sh, x86, and xtensa. Others support the Kconfig
option, but don't seem to realize that it's not an ...
| Aug 27, 5:32 pm 2008 |
| Paul Mundt | Re: [Bug #11342] Linux 2.6.27-rc3: kernel BUG at mm/vmal ...
Thanks for the pointer, I'll take a look at it!
--
| Aug 27, 6:02 pm 2008 |
| Kasper Sandberg | Re: An idea .... with code
I disagree, as i recall, i stopped using cryptoloop and went directly to
In the case that i am correct above, it would appear that i did not
loose, given that the newer stuff has backwards compatibility (which i
am fairly certain it does)
also do not forget that i did say its unlikely that loop be removed due
--
| Aug 28, 2:41 am 2008 |
| Luis R. Rodriguez | Re: pull request: wireless-2.6 2008-08-26
I don't care about your work around, I was replying due to your insane
comments about considering removing IBSS merge support because your
Atheros hardware supports IBSS merge, please consider a proper work
around instead for hardware which does not support this.
Luis
--
| Aug 27, 6:30 pm 2008 |
| Andre Noll | Re: 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled(): ...
Also, md_super_write() does not check the return value of bio_alloc().
That probably needs fixing as well.
Andre
--=20
The only person who always got his work done by Friday was Robinson Crusoe
| Aug 28, 12:56 am 2008 |
| Andre Noll | Re: 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled(): ...
Ah, OK. Thanks for the clarification.
Andre
--=20
The only person who always got his work done by Friday was Robinson Crusoe
| Aug 28, 1:04 am 2008 |
| Maciej W. Rozycki | Re: PATCH: Remove 8254 timer texts from Documentation
Acked-by: Maciej W. Rozycki <macro@linux-mips.org>
Thanks for spotting this -- I didn't expect these were actually
documented. ;)
Maciej
--
| Aug 28, 9:09 am 2008 |
| Manuel Lauss | MTD kobject warnings due to block layer changes
Hello,
Todays -git spits out these wanings during boot, caused by
Commit abf5439370491dd6fbb4fe1a7939680d2a9bc9d4
( block: move cmdfilter from gendisk to request_queue ):
Using physmap partition information
Creating 3 MTD partitions on "physmap-flash":
0x00000000-0x01c00000 : "User FS"
0x01c00000-0x01c40000 : "booter"
kobject (8511c410): tried to init an initialized object, something is seriously wrong.
Call Trace:
[<8036644c>] dump_stack+0x8/0x34
[<8021f050>] ...
| Aug 28, 1:46 am 2008 |
| Mark Hounschell | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
More and more are wanting and now finding the Linux kernel to be more
RT capable. I seem to remember way back you saying it was one thing
you didn't really care much about one way or the other. Thats OK. But,
you _are_ the man. Put an end to this. Are you going to allow the long
understood meaning of SCHED_FIFO to change in the Linux kernel
just to protect a few _supposedly_ bad programmers???
Regards
Mark
--
| Aug 28, 11:16 am 2008 |
| Max Krasnyansky | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Please lets not break affinity :).
I'm going to submit patches (soonish) that convert drivers/etc to use
cancel_work_sync()/flush_work() instead of flush_scheduled_work().
That takes care of the
"machine getting stuck because workqueue thread is starved"
case.
Max
--
| Aug 28, 9:19 am 2008 |
| Max Krasnyansky | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
I cannot believe you guys are still arguing about this and calling each
other stupid/incompetent/braindead and such (not this particular email
but all the stuff before) :)
Seems to me like leaving RT throttling disabled by default is a
reasonable compromise. Several people suggested that and the advantage
is that it does not change the definition of SCHED_FIFO/RR by default.
I personally do not care that much what the default is. If Fedora, for
example, starts enabling it by default ...
| Aug 28, 9:33 am 2008 |
| Michael Buesch | Re: pull request: wireless-2.6 2008-08-26
Well, I was pretty sure the firmware did this for us.
I can recheck that later.
In any case, I will accept patches that are _well_ _tested_ to workaround this
issue. I don't have the time work work on IBSS by myself. My pile already is
big enough. :)
--
| Aug 28, 1:31 am 2008 |
| mark gross | Re: [PATCH RFC] pm_qos_requirement might sleep
From: John Kacur <jkacur at gmail dot com>
Patch to make PM_QOS and CPU_IDLE play nicer when ran with the
RT-Preempt kernel. CPU_IDLE polls the target_value's of some of the
pm_qos parameters from the idle loop causing sleeping locking
warnings. Changing the target_value to an atomic avoids this issue.
Signed-off-by: mark gross <mgross@linux.intel.com>
Thanks,
--mgross
Remove the spinlock in pm_qos_requirement by making target_value an atomic type.
This is necessary for real-time ...
| Aug 28, 12:44 pm 2008 |
| mark gross | Re: [PATCH RFC] pm_qos_requirement might sleep
looks good, its running without error on the non-rt kernel.
Signed-off-by: mark gross <mgross@linux.intel.com>
FWIW I'll send this as patch to Andrew in a moment.
--
| Aug 28, 12:38 pm 2008 |
| Masami Hiramatsu | Re: HELP! KProbes bug
Hi Marlow,
Why would you like to call scheduler from probe handler?
By design, kprobe handler MUST NOT call scheduling functions because it
checks recursive call by using per-cpu variable and scheduler might move
probed process to other cpu. Especially, since kretprobe uses a spinlock
(or hashed spinlocks on recently kernel), if the handler calls scheduler,
it will cause deadlock.
Anyway, if you read Documentation/kprobes.txt carefully, you can find
below paragraph;
---
5. Kprobes ...
| Aug 28, 10:03 am 2008 |
| Miklos Szeredi | Re: [PATCH 5/7] FUSE: implement ioctl support
On the contrary: playing VM games is going to be slow. I think this
approach is best suited for generic ioctl support because it
simplifies the kernel part. I'd hate to add all that complexity to
the kernel if not absolutely necessary.
Miklos
--
| Aug 28, 11:23 am 2008 |
| Miklos Szeredi | Re: [PATCHSET] FUSE: extend FUSE to support more operations
Guessing that CUSE stands for "Character Devices in Userspace"?
Is there a description of this? It's for sound device emulation,
right?
What is direct-lseek for? It doesn't sound like a feature needed by
char devices.
Thanks,
Miklos
--
| Aug 28, 11:20 am 2008 |
| Miklos Szeredi | Re: [PATCH 5/7] FUSE: implement ioctl support
I don't understand. No new vulnerabilities are introduced, since it
would just use existing infrastructure.
Why is it better if the kernel does the copying of memory regions
instructed by the userspace filesystem, than if the userspace
filesystem does that copying itself? I feel they are totally
equivalent, except that the latter needs more complexity in the
kernel.
Miklos
--
| Aug 28, 12:25 pm 2008 |
| Miklos Szeredi | Re: [PATCH 5/7] FUSE: implement ioctl support
Lots of complexity, ugh... Even Tejun's current scheme is better IMO.
Miklos
--
| Aug 28, 1:55 pm 2008 |
| Miklos Szeredi | Re: [PATCH 5/7] FUSE: implement ioctl support
OK, it should map /proc/pid/task/tid/mem. Or rather
/proc/tid/task/tid/mem, as the pid (tgid) of the caller is not
currently passed to the filesystem.
Miklos
--
| Aug 28, 12:18 pm 2008 |
| Miklos Szeredi | Re: [PATCH 5/7] FUSE: implement ioctl support
How about not copying anything in the kernel, just passing the virtual
address to the filesystem? It can get/modify the data of the calling
task by mapping /proc/pid/mem. Ugly, yes, but ioctls are inherently
ugly.
Miklos
--
| Aug 28, 11:13 am 2008 |
| Miklos Szeredi | Re: [PATCH 5/7] FUSE: implement ioctl support
OK, I grant this one. But then it's easy to protect against by
getting a ref on the task (or just the task ID, I don't know if that's
The same stupid mistakes can be done by giving the wrong instructions
to the kernel about what to modify, thus thrashing the calling
I don't see the difference. You have to be careful either way, it's
not possible to do ioctls safely as the rest of fuse unfortunately.
This obviously also means, that it's impossible to run the filesystem
as an unprivileged ...
| Aug 28, 1:02 pm 2008 |
| Milton Miller | Re: [BUG] linux-next: Tree for August 26 - Badness at ke ...
David Woodhouse dwmw2 at infradead.org
gitk -- arch/powerpc/kernel/vmlinux.S
e95c91821fa56b489d7beb74103a419466c5ec10
[POWERPC] Fix link errors for allyesconfig
An allyesconfig build creates a .text section that is so big that the
.text.init.refok and .fixup sections are too far away for the relocations
to be fixed up correctly. This patch fixes that by linking all the
relevent text sections for each file together.
Suggested by Paul Mackerras.
...
| Aug 28, 10:14 am 2008 |
| Ingo Molnar | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Wrong.
Even if the system has multiple CPUs, and even if just a single CPU is
fully utilized by an RT task, without the rt-limit the system will still
lock up in practice due to various other factors: workqueues and tasks
being 'stuck' on CPUs that host an RT hog. While there's obviously CPU
time available on other CPUs, you cannot run 'top', the desktop will
freeze, work flows of the system can be stuck, etc, etc..
With the rt limit in place, it's all pretty smooth and debuggable. ...
| Aug 28, 3:54 am 2008 |
| Ingo Molnar | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
yeah, that's nice - i tried the earlier iteration of your patch already.
It doesnt solve the UP case obviously, nor the case where all CPUs are
hogged by RT tasks, nor any other (or future) per CPU aspect of Linux
that we have in place currently.
Ingo
--
| Aug 28, 4:28 am 2008 |
| Ingo Molnar | Re: linux-next: Tree for August 27
ok, i've propagated those commits to auto-x86-next as well, so that
linux-next is fixed too.
Ingo
--
| Aug 28, 2:08 am 2008 |
| Ingo Molnar | Re: [PATCH] ftrace: remove direct reference to mcount in ...
applied to tip/tracing/ftrace - thanks Steve!
Ingo
--
| Aug 28, 12:50 am 2008 |
| Ingo Molnar | [git pull] core kernel fixes
Linus,
Please pull the latest core-fixes-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git core-fixes-for-linus
Thanks,
Ingo
------------------>
Joe Korty (2):
lockstat: fix numerical output rounding error
lockstat: repair erronous contention statistics
Steve VanDeBogart (1):
exit signals: use of uninitialized field notify_count
Zhu Yi (1):
lockdep: fix invalid list_del_rcu in zap_class
kernel/exit.c ...
| Aug 28, 4:44 am 2008 |
| Ingo Molnar | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
correct, breaking affinity is a rather stupid idea.
Ingo
--
| Aug 28, 9:25 am 2008 |
| Ingo Molnar | Re: x86: move dir es7000 to es7000_32.c
applied to tip/x86/core, thanks Yinghai!
Ingo
--
| Aug 28, 1:00 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: split e820 reserved entries record to late v2
great - i've done the revert of a2bd7274b471 and have applied your patch
and pushed it out into -tip. David, could you please test whether
tip/master works for you out of box?
Ingo
--
| Aug 28, 1:58 pm 2008 |
| Ingo Molnar | Re: [PATCH] shrink printk timestamp field
applied to tip/core/printk, thanks Joe.
Ingo
--
| Aug 28, 2:38 am 2008 |
| Ingo Molnar | Re: [PATCH] printk timestamp post-boot suppression, v2
i think the best approach is to write an initcall tracer - i think Arjan
has some ideas in that area.
that would be infinitely higher quality than anything printk based
anyway, as with ftrace you could see the reasons of why a boot delay
happens - which tasks context-switch, in which code path, etc.
Ingo
--
| Aug 28, 2:40 am 2008 |
| Ingo Molnar | Re: [PATCH] resource/x86: add sticky resource type
i fully agree with that principle, i just messed up implementing it.
'Sticky resources' tried to be exactly the kind of 'untrusted, possibly
wrong' resources, which should not prevent existing PCI resources from
being registered - they would at most prevent new PCI resources from
being allocated over them. (the free space is large enough for us to
take the small/untrusted hint from the BIOS where not to allocate to)
I missed the possibility of a sticky resource not being wide enough ...
| Aug 28, 1:17 pm 2008 |
| Ingo Molnar | Re: [PATCH] make poll_idle behave more like the other id ...
i'm wondering, what's the motivation, have you actually seen
anything bad/undesired happen due to that?
Ingo
--
| Aug 28, 2:00 am 2008 |
| Ingo Molnar | Re: [PATCH] make might_sleep() display the oopsing process
good idea - applied to tip/sched/devel - thanks Joe.
Ingo
--
| Aug 28, 2:36 am 2008 |
| Ingo Molnar | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
well, the reason i'm asking is that i cannot for anything in the world
imagine you being so upset about _anything_ but something that involves
benchmark runs ;-)
And what does SCHED_FIFO RT policy scheduling have to do with
performance and benchmarks? Nothing usually in the real world, except
for this little known fact: a common 'tuning' for TPC database
benchmarks is to run all DB threads as SCHED_FIFO to squeeze the last
0.1% of performance out of the setup.
So - and i'm taking ...
| Aug 28, 6:07 am 2008 |
| Ingo Molnar | Re: [RFC PATCH] ftrace stack tracer
i've created a new, -git based topic for this: tip/tracing/stack-tracer,
applied your new stacktrace plugin and started testing it.
Ingo
--
| Aug 28, 12:46 am 2008 |
| Ingo Molnar | Re: [PATCH] ftrace: remove warning of old objcopy and lo ...
applied to tip/tracing/ftrace, thanks!
Ingo
--
| Aug 28, 12:52 am 2008 |
| Ingo Molnar | Re: [PATCH] x86: split e820 reserved entries record to late v2
Here we have the problem of overlap i outlined earlier: if there's a
partial overlap at this stage (as i think it can happen in the hpet case
on David's box), we wont insert the E820_RESERVED resource.
The hpet hang will be solved, because we dont reprogram the BAR, but we
now keep the formerly e820-reserved area as 'free' - which the PCI code
could allocate new resources into - which could cause other problems
(hangs, non-working devices, etc.) down the line.
Which most likely wont ...
| Aug 28, 2:16 pm 2008 |
| Ingo Molnar | Re: [RFC PATCH] ftrace stack tracer
very nice!
This is even more efficient in practice i think than 'make stackcheck'
type of analysis, because it measures the stack footprint in practice.
That way we can prove/disprove theories whether a regression was caused
by stack overflow or not.
We can also do practical profiling of worst-case stack footprint - much
like the latency tracer works. (just in a different 'space' of
'latency'.)
A couple of suggestions:
- could we somehow include the per stacktrace line stack ...
| Aug 28, 12:39 am 2008 |
| Ingo Molnar | Re: [Patch] Tracing/ftrace: Adds a marker to allow user ...
we can certainly include and test Frédéric's patch in tip/tracing/ftrace
- i'll wait for v2 as i guess he will implement the modifications
suggested by you?
Ingo
--
| Aug 28, 2:44 am 2008 |
| Ingo Molnar | Re: [patch] sched: call resched_task() conditionally fro ...
well spotted - applied to tip/sched/devel, thanks Bharata.
Ingo
--
| Aug 28, 2:25 am 2008 |
| Ingo Molnar | Re: [PATCH] resource/x86: add sticky resource type
very nice patch! I've split your patch into two, and applied the
kernel/resource.c and include/linux/ioresource.h core bits to the
tip/core/resources topic branch - see the first patch below. (i renamed
the new API to check_sticky_resource())
Then i've merged this topic branch into irq/sparseirq and applied the
x86 bits that use this new facility to irq/sparseirq [on which it has
many dependencies, io_apic.c and apic.c got unified, etc.]. See the
second patch below.
Especially the ...
| Aug 28, 1:21 am 2008 |
| Ingo Molnar | Re: SLUB/debugobjects locking (Re: 2.6.27-rc4-git1: Repo ...
could you resend the final patch please? It's a candidate for .27, if it
works out fine.
Ingo
--
| Aug 28, 6:56 am 2008 |
| Ingo Molnar | Re: [PATCH] ftrace: disable tracing for hibernation
applied it to tip/tracing/urgent - thanks Rafael!
Ingo
--
| Aug 28, 5:42 am 2008 |
| Ingo Molnar | Re: PATCH: Remove 8254 timer texts from Documentation
applied to tip/x86/doc - thanks!
Ingo
--
| Aug 28, 9:20 am 2008 |
| Ingo Molnar | [git pull] scheduler fixes
Linus,
Please pull the latest sched-fixes-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git sched-fixes-for-linus
Thanks,
Ingo
------------------>
John Blackwood (1):
sched: fix sched_rt_rq_enqueue() resched idle
Peter Zijlstra (1):
sched: rt-bandwidth accounting fix
kernel/sched_rt.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index ...
| Aug 28, 4:43 am 2008 |
| Ingo Molnar | [git pull] tracing fixes
Linus,
Please pull the latest tracing-fixes-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git tracing-fixes-for-linus
Thanks,
Ingo
------------------>
Rafael J. Wysocki (1):
ftrace: disable tracing for hibernation
kernel/power/disk.c | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/kernel/power/disk.c b/kernel/power/disk.c
index f011e08..bbd85c6 100644
--- a/kernel/power/disk.c
+++ ...
| Aug 28, 6:31 am 2008 |
| Ingo Molnar | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
yeah, agreed, this is a reasonable suggestion. Peter, do you agree?
Ingo
--
| Aug 28, 7:30 am 2008 |
| Ingo Molnar | [git pull] x86 fixes
Linus,
Please pull the latest x86-fixes-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git x86-fixes-for-linus
The MSR and SMP function call error path changes are to address various
CPU hotplug related races that Peter found and fixed. It has one piece
of generic impact:
out-of-topic modifications in x86-fixes-for-linus:
--------------------------------------------------
kernel/smp.c # f73be6d: smp: have ...
| Aug 28, 4:41 am 2008 |
| Ingo Molnar | Re: [PATCH] make poll_idle behave more like the other id ...
agreed.
Ingo
--
| Aug 28, 6:33 am 2008 |
| Marlow Weston | HELP! KProbes bug
Hello persons in the current kernel maintainers file under KProbes:
I can't find this bug reported anywhere nor somewhere useful for
reporting it, so I chose that location to find people to write. If
there is somewhere else I should be sending this to, please tell me and
I will redirect it there.
I think I have found a KProbes bug when I turn on the KProbes via a proc
file call instead of via the init code. The stack trace is attached and
seems to indicate a locking issue. Also ...
| Aug 28, 9:20 am 2008 |
| Matthew Garrett | Re: [ANNOUNCE] ACPI BIOS Guideline for Linux
A documented WMI interface is easier to use than an entirely custom
documented interface, and reduces the amount of work the vendor has to
do in Windows. To be honest, I think it's the sort of thing we should be
encouraging.
--
Matthew Garrett | mjg59@srcf.ucam.org
--
| Aug 28, 3:56 am 2008 |
| Matthew Garrett | Re: [ANNOUNCE] ACPI BIOS Guideline for Linux
Little. But what advantage do we get in the same functionality being
The HP wlan button is a hardware event. There's no need for it to be
sent via the keyboard controller. Some of the other keys would be easier
to deal with if they were sent via the keyboard controller, yes, but
that's not the full set of what the WMI functionality gives us. How do
you want kill switches to be controlled? I'd be happier with it being
Some vendors do, and I agree that it's preferable.
--
Matthew ...
| Aug 28, 5:22 am 2008 |
| Andrew G. Morgan | Re: [patch] file capabilities: Add no_file_caps switch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sorry to get to this late.
I very much prefer this patch over the resuscitation of the cap_set_pg()
code.
[I would also like to advocate we combine it with making
CONFIG_SECURITY_FILE_CAPABILITIES=y the default config option.]
Cheers
Andrew
Serge E. Hallyn wrote:
| 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 ...
| Aug 28, 8:35 am 2008 |
| Markku Savela | Re: Frustrated with capabilities..
I think this is wrong. Normal executables inherit uid/gid and
supplementary groups by default. Why should capabilities be any
different?
IMHO, even with file system capabilities, the default should be
inherit, if nothing else is specified.
--
| Aug 28, 7:45 am 2008 |
| Miklos Szeredi | Re: Linux Kernel Splice Race Condition with page invalidation
Thanks, forwarding to mailing lists.
Since you are in a better position to test (already have the
installation and configuration set up) I'm not going to try to reproduce
this until you tried 2.6.26.
Thanks,
Miklos
--
| Aug 28, 9:15 am 2008 |
| Neil Brown | Re: 2.6.27-rc4: lots of 'in_atomic():1, irqs_disabled(): ...
Yes......
And not only can't I call bio_alloc inside the rcu_read_lock, I also
cannot call submit_bio, as that can do a mempool alloc for a request
structure.
I can get around that by putting the bios on the ->biolist that
md_super_wait will resubmit requests from. But I still need to
allocate those bios.
Maybe I can count how many there need to be, then allocate them and
make a list, then pass them down into md_super_write.
It's a bit ugly but it should work.
I think I'll have to ...
| Aug 28, 1:27 am 2008 |
| Nick Piggin | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
BTW. this is funny that you just decide you can somehow "weaken"
my technical arguments because of some of my personal attribute
you believe about me.
You don't know why I am arguing? I'll put it very simply one more
time.
- This behaviour has changed the kernel's userspace API in a way
that can break existing applications.
That is my primary point. If you think it gets somehow weaker
because you don't think I have ever locked up my workstation with
an RT task, then I give up arguing ...
| Aug 28, 5:29 am 2008 |
| Nick Piggin | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Seems reasonable. But I still think it should be disabled by default
(it might not get caught in testing for example).
--
| Aug 28, 7:36 am 2008 |
| Nick Piggin | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
;) Well yes as you know I'm not actively doing much scheduler work for
a while now. Luckily there are a lot of really good people who probably
do a better job on it than me anyway, so on the whole I'm quite happy
with it.
But ironically that's also why I hadn't raised my concerns earlier... I
simply was not aware of the change. So I wish I had participated in the
To address this concern: no, it is not tpc ;) Actually I don't know a
thing about how tpc except what scant information can ...
| Aug 28, 6:45 am 2008 |
| Nick Piggin | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
There only one sane default, as far as I can see.
Before anybody attacks me again because I haven't got my brain together or
am an annoying standards nitpicker:
I'm very well aware of the consequences of unlimited hogging of the CPU.
And I know exactly why people might want rt throttling. But just think for
a minute the _negative_ consequences of changing the API and remember that
is close to the #1 rule of Linux development to not break user API.
And put it this way: the sysctl is right ...
| Aug 28, 8:34 am 2008 |
| Nick Piggin | Re: Definition of x86 _PAGE_SPECIAL and sharing _PAGE_UNUSED1
They'll tend to be device pages. XIP filesystem mappings can set it too.
They won't be set on anonymous pages, or on normally mmap()ed pagecache
pages (although best not to take the latter as a strict rule because
Right. But they could nearly have clashed without ever being set on
kernel ptes -- if we ever _tested_ kernel ptes for that bit (gup.c
has other safeguards that should keep us away from kernel pages, but
it could in theory be implemented on x86 by only testing _PTE_SPECIAL
if we ...
| Aug 27, 6:00 pm 2008 |
| Nick Piggin | Re: loaded router, excessive getnstimeofday in oprofile
Dang, that was a really badly quoted. I was reading the thread and
got to the end and just fired off my reply from there...
Sorry -- what I meant to ask was, would it make sense to have a new
option to enable time stamp measuring in the socket receive layer
as in the patchset that Andi referenced, but without removing existing
support for early timestamping?
--
| Aug 27, 6:07 pm 2008 |
| Nick Piggin | Re: loaded router, excessive getnstimeofday in oprofile
Would it make sense to make a new option for these socket timestamps
and encourage some apps move over to it?
--
| Aug 27, 5:45 pm 2008 |
| Nick Piggin | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
No, it is right. With caveats. Because you can pretty well isolate a
CPU from running kernel threads or work. At any rate, I don't think it
When I write rt apps, I run a watchdog thread which detects a hang
Of course I have and of course I know what it does if you run a
for (;;) rt thread on an ordinary Linux desktop system. Trying to
You're continually ignoring all of my arguments and instead raising
irrelvant things like this.
You ignored others in this thread who replied with real ...
| Aug 28, 5:03 am 2008 |
| Nick Piggin | Re: [PATCH -V3 01/11] percpu_counters: make fbc->count r ...
Weighed against register save/restore, compiler barrier, and function
call cost of uninlined. These can add up to 10s of cycles per call I've
seen, so if it is called several times between each icache miss it can
easily be worth inlining. Basically, measurement is required, and if it
isn't important enough to measure policy tends to default to uninline if
that saves space.
--
| Aug 28, 7:19 am 2008 |
| Nick Piggin | Re: Definition of x86 _PAGE_SPECIAL and sharing _PAGE_UNUSED1
I don't feel strongly about it. But you should put your definition in
I thought it was about on par with its counterpart, which is "normal".
Either way, I don't think a casual reader would get an adequate idea
of how it works in one word. normal ~= refcounted, special ~= !refcounted
I guess, but it is slightly more than that and besides, normal was there
first, and I think Linus coined it... if you can convince him to change
it then you have my blessing to change special into whatever you ...
| Aug 27, 5:32 pm 2008 |
| Nick Piggin | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
It is actually possible (with fairly little work, last time I looked,
maybe it is already integrated in the kernel) to avoid all this kind of
thing from isolated CPUs.
But even then, note that the types of programs using the CPU for long
periods are obviously not going to be run on an average desktop system.
So the responsiveness argument is laughable. Responsive as defined how?
And in relation to what type of systems?
--
| Aug 28, 5:18 am 2008 |
| Nick Piggin | Re: [PATCH] Export kmap_atomic_pfn for DRM-GEM.
It would help verify and improve the new vmap code, and it would be
"doing the right thing" to begin with. It would avoid some nasty
ifdefery in your driver too. And what about 64 bit x86 that doesn't
It can cut the cost quite significantly on normal vmap/vunmap loads I
tested. Whether it will work as well on your workload, I don't know
but I would have liked to find out. I raised this issue quite a while
back, so I'm disappointed it had not been tried...
--
| Aug 27, 5:22 pm 2008 |
| Nick Piggin | [rfc][patch] queueing spinlocks?
I've implemented a sort of spin local, queueing MCS lock that uses per-cpu
nodes that can be shared by multiple locks. I guess it is preferable to
remove global locks, but some don't seem to be going anywhere soon.
The only issue is that only one set of nodes can be actively used for a lock
at once, so if we want to nest these locks, we have to use different
sets for each one. This shouldn't be much of a problem because we don't have
too many "big" locks, and yet fewer ones that are nested in ...
| Aug 28, 12:34 am 2008 |
| Oleg Nesterov | Re: [PATCH] exit signals: use of uninitialized field not ...
I'd suggest to make 2 patches. The first one adds "->notify_count = 0"
to copy_signal() and removes "->group_exit_task != NULL" checks. The
second one changes copy_signal() to use zalloc.
BTW, I forgot to mention that you can kill the "thread_group_leader()"
check in exit_notify() too.
Oleg.
--
| Aug 28, 5:58 am 2008 |
| Oleg Nesterov | Re: [RFC] [Patch 1/1] [Self Ptrace] System call notifica ...
Sorry, can't understand the text above :(
OK, let's suppose the application does
ptrace(PTRACE_SELF_ON);
...
syscall();
This "syscall()" above should trigger the handler for SIGSYS.
But what if another signal (with handler) comes in between?
In that case handle_signal() clears PT_SELF/TIF_SYSCALL_TRACE,
this syscall() (or any other) doesn't send SIGSYS.
Oleg.
--
| Aug 28, 5:32 am 2008 |
| Oliver Neukum | Re: [PATCH] USB: add USB test and measurement class driv ...
This and usbtmc_read() need a test for disconnection. Open() and disconnect
are guarded in usbcore, read & write are not. By reference count you've made
error case?
memory leak
smp_rmb(); /* must hit RAM after the terminator */ \
There are subtle penalties to avoiding ioctl(). Among them is the loss
of atomicity.
You must set a flag for read, write and ioctl.
Regards
Oliver
--
| Aug 28, 3:10 am 2008 |
| Oliver Neukum | Re: [linux-pm] 2.6.27-rc2 USB suspend regression
The attached patch is reported to make the problem go away for
a user of btusb. He might be able to use it for narrowing down causes.
Regards
Oliver
| Aug 28, 12:14 am 2008 |
| Oliver Neukum | Re: [PATCH] USB: add USB test and measurement class driv ...
No. Kernel code does not exist to show how to do endianness conversion.
There is no such thing as an ignorable race. On second thought
Yes. You can set the intf pointer to NULL. That's sort of idiomatic.
And you should NULL intfdata.
Regards
Oliver
--
| Aug 28, 2:29 pm 2008 |
| Oliver Neukum | Re: autosuspend for SCSI devices
I am afraid this is not true.
Regards
Oliver
/**
* scsi_block_when_processing_errors - Prevent cmds from being queued.
* @sdev: Device on which we are performing recovery.
*
* Description:
* We block until the host is out of error recovery, and then check to
* see whether the host or the device is offline.
*
* Return value:
* 0 when dev was taken offline by error recovery. 1 OK to proceed.
*/
int scsi_block_when_processing_errors(struct scsi_device ...
| Aug 28, 2:17 pm 2008 |
| Paul E. McKenney | Re: [PATCH 00/59] Introduce credentials
Makes sense to me, given that we should not expect real-time determinism
out of alter_credentials(). ;-)
Thanx, Paul
--
| Aug 28, 1:28 pm 2008 |
| Pavel Machek | Re: autosuspend for SCSI devices
Well, they have to handle other commands while bus has problems,
anyway, right? So I'm not creating any _new_ problems for them.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 28, 1:04 am 2008 |
| Pavel Machek | Re: [PATCH] ftrace: disable tracing for suspend to ram
So this is going to be reverted after 2.6.27? Okay, then.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 28, 12:28 am 2008 |
| Pavel Machek | Re: Frustrated with capabilities..
Yes, you need upcoming filesystem capabilities. Binary may not
inherit capabilities unless filesystem flags permit that.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
| Aug 28, 7:18 am 2008 |
| Pekka Enberg | Re: [RFC][PATCH] bitfields API
Hi Alexey,
Heh, heh, one alternative is to have a kmemcheck_memset() thingy that
unconditionally zeroes bit fields and maybe is a no-op when kmemcheck is
disabled.
--
| Aug 28, 11:40 am 2008 |
| Pekka Enberg | Re: [RFC][PATCH] bitfields API
Hi Alexey,
Uhm, I'm not sure how that would work out. I mean, we'd need to see if
parts of the loaded byte are used or not... Doesn't sound practical or
too pretty.
Pekka
--
| Aug 28, 12:07 pm 2008 |
| Pekka Enberg | Re: [RFC][PATCH] bitfields API
Yeah, I suppose. The problem doing that unconditionally is that it
increases kernel text slightly on some architectures (e.g. sparc).
However, as long as you use the KMEMCHECK_BIT_FIELD annotation only in
places that give you false positives, it's we should be safe.
Pekka
--
| Aug 28, 1:54 pm 2008 |
| Pekka J Enberg | Re: [RFC][PATCH] bitfields API
Why not do something like this (as suggested by Ingo, I think)? Yeah, the
macro should go into kmemcheck.h but I don't have a tree handy...
Pekka
Index: linux-2.6/include/linux/bitfield.h
===================================================================
--- /dev/null
+++ linux-2.6/include/linux/bitfield.h
@@ -0,0 +1,10 @@
+#ifndef __LINUX_BITFIELD_H
+#define __LINUX_BITFIELD_H
+
+#ifdef CONFIG_KMEMCHECK
+#define KMEMCHECK_BIT_FIELD(field) do { field = 0; } while ...
| Aug 28, 12:02 pm 2008 |
| Paul Jackson | Re: [regression?] [resend] Memory zone info seems incomp ...
I suppose that for smaller systems, such as what would be a normal
size 32 bit system these days, it's a bit of preference, but for
larger systems, such as 64 bit systems or future "normal" systems,
it weighs more heavily toward the hex format.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.940.382.4214
--
| Aug 28, 11:16 am 2008 |
| Pierre Morel | Re: [RFC] [Patch 1/1] [Self Ptrace] System call notifica ...
If the tracing application catches all signals before delivering
them to the instrumented original handler there is no problem,
the catching code can reset PTRACE_SELF_ON before calling the
instrumented application's original handler.
The instrumented code will then bounce as expected.
I see this more like a security, the "bouncing" feature
is only enabled until next syscall or signal, never more.
This instrumentation method allows with this little patch to do
all the syscall and signal ...
| Aug 28, 5:03 am 2008 |
| Pierre Morel | Re: [RFC] [Patch 1/1] [Self Ptrace] System call notifica ...
May be, but very high compared to the operation to just
clear a flag in the task struct.
ok, please read "set PTRACE_SELF_ON"
where I wrote "reset PTRACE_SELF_ON" above.
Now, suppose the application does the following:
sigsys_handler(sig)
{
....
ptrace(PTRACE_SELF_ON);
}
sigx_handler(sig)
{
....
ptrace(PTRACE_SELF_ON);
if (sig_has_a_handler)
call_the_handler()
ptrace(PTRACE_SELF_OFF);
...
ptrace(PTRACE_SELF_ON);
}
main(){
...
signal(SIGSYS, sigsys_handler);
for(i=0; ...
| Aug 28, 6:24 am 2008 |
| Pekka Paalanen | Re: [Patch] Tracing/ftrace: Adds a marker to allow user ...
On Thu, 28 Aug 2008 11:04:36 +0100
I think making it more modular would be nice, but I'm not really working
Yes, but the atmosphere is that if there are no users in-tree, the feature
gets kicked, out-of-tree users or no. That's the reason mmiotrace went
in-tree in the first place. So, to get that stuff exported, we might need
in-tree users, I believe.
Thanks.
--
Pekka Paalanen
http://www.iki.fi/pq/
--
| Aug 28, 11:42 am 2008 |
| Randy.Dunlap | Re: [PATCH] Disable partition scan
It's also missing an update to Documentation/kernel-parameters.txt ....
Please add that.
Thanks,
--
~Randy
--
| Aug 28, 5:00 am 2008 |
| Rick Jones | Re: loaded router, excessive getnstimeofday in oprofile
The earliest time the application could have been expected to start
processing the request. Until it hits the socket, it might as well be
somewhere in the cloud. By that reasoning of course, one could argue
that a gettimeofday() call immediately following recv() would suffice.
Earlier in the thread mention was made of financial services types. If
someone has knowledge of the (probably) arcane rules under which they
must operate it would be great to hear more. Does some entity like the ...
| Aug 28, 11:00 am 2008 |
| Rick Jones | Re: loaded router, excessive getnstimeofday in oprofile
Must be my DC upbringing. I figured that if the logic wasn't 100%
But that is the very crux of the question - exactly where is "in order"
to be determined? Is it supposed to be arrival time at the NIC HW,
initial notice by the driver, or initial notice by the trading application?
Given that there are no guarantees that a packet arriving on NIC 1 and
timestamped either by the NIC HW or the driver will actually hit the
application before a packet arriving on NIC2, just how long are ...
| Aug 28, 1:45 pm 2008 |
| Rick Jones | Re: loaded router, excessive getnstimeofday in oprofile
Has the request "hit the trading system" when it hits the NIC, or when
it hits the application executing the trade? If the SEC calls for when
it hits the NIC, then none of what is done today is really
accurate/correct and one would need to start using NIC HW timestamps,
synchronized with the host and the other NICs in the system no?
The way things are today, there really isn't much guarantee that hitting
NIC 1 before NIC 2 will result in a driver-generated timestamp for the
NIC 1 ...
| Aug 28, 1:29 pm 2008 |
| Rafael J. Wysocki | Regression: SATA disk double spin-off during hibernation ...
Hi,
It appears that the "double spin-off" problem described in
http://bugzilla.kernel.org/show_bug.cgi?id=8855
has recently started to appear during hibernation as well as during shutdown.
It didn't appear during hibernation on my hp nx6325 with 2.6.26, so this is a
recent regression.
I have prepared the appended patch that fixes the problem for me, based on the
earlier Tejun's patch at
http://bugzilla.kernel.org/attachment.cgi?id=15441&action=view
but I'm not really sure if this ...
| Aug 28, 3:02 pm 2008 |
| Rafael J. Wysocki | Re: resume from ram hangs on 2.6.26+ kernels on thinkpad z60m
Hm, cifsd. It is kind of known to have problems.
How reproducible is this?
Rafael
--
| Aug 28, 12:22 pm 2008 |
| Rafael J. Wysocki | [PATCH] ftrace: disable tracing for hibernation
From: Rafael J. Wysocki <rjw@sisk.pl>
ftrace: disable tracing for hibernation
In accordance with commit f42ac38c59e0a03d6da0c24a63fb211393f484b0
("ftrace: disable tracing for suspend to ram"), disable tracing
around the suspend code in hibernation code paths.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
kernel/power/disk.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Index: ...
| Aug 28, 5:39 am 2008 |
| Roni Feldman | Too many stupid questions about the block layer
Hello list,
This is pretty long -- I sure hope this is the right place to ask these :)
First of all, I have a board with a NAND flash device, to which I have
a 8k-wide PCI interface.
I've been wondering about these:
1. I would prefer if the block layer always passed me 8k long
segments, even though the hard sector size is 2k. I tried using
blk_queue_hardsect_size() and set it to 8k, but for some reason I get
a panic. Is it possible that hardsect cannot be larger than PAGE_SIZE
(makes some ...
| Aug 28, 1:38 pm 2008 |
| Steven Rostedt | Re: [PATCH] ftrace: disable tracing for hibernation
Looks good to me, Thanks Rafael!
Acked-by: Steven Rostedt <srostedt@redhat.com>
-- Steve
--
| Aug 28, 5:44 am 2008 |
| Steven Rostedt | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
My biggest concern about adding a limit to FIFO is that an RT developer
would spend weeks trying to debug their system wondering why their
planned CPU RT hog, is being preempted by a non-RT task.
For this, if this time limit does kick in, we should at the very least
print something out to let the user know this happened. After all, this
is more of a safety net anyway, and if we are hitting the limit, the
user should be notified. Perhaps even tell the user that if this
behaviour is expected, ...
| Aug 28, 7:15 am 2008 |
| Steven Rostedt | [RFC PATCH] ftrace stack tracer
This is another tracer using the ftrace infrastructure, that examines
at each function call the size of the stack. If the stack use is greater
than the previous max it is recorded.
You can always see (and set) the max stack size seen. By setting it
to zero will start the recording again. The backtrace is also available.
For example:
# cat /debug/tracing/stack_max_size
1856
# cat /debug/tracing/stack_trace
[<c027764d>] stack_trace_call+0x8f/0x101
[<c021b966>] ...
| Aug 27, 8:31 pm 2008 |
| Steven Rostedt | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
I guess the reason that this is getting so much noise over other default
policies, is that this default policy is changing a well known definition:
The meaning of FIFO.
By making the default policy limit the time an RT task runs, we have, in
essence, changed a user API. Applications that expect to be able to run
uninterrupted by SCHED_OTHER tasks, will now break.
No one is arguing that this new feature is not useful. The argument is,
should the kernel set the default policy of an old ...
| Aug 28, 11:04 am 2008 |
| Steven Rostedt | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Does this mean, if I have 100 RT tasks, that will together run for 10secs
secs, they will only run for 9.5secs?
This looks like an even bigger issue. Now we don't have one RT FIFO CPU
hog, we are now hitting 100 RT FIFO tasks that try to get a bunch done in
10 secs.
-- Steve
--
| Aug 28, 9:15 am 2008 |
| Steven Rostedt | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
Perhaps we should default it to 1sec, that way it would be hit more often,
and educate the users of this now feature.
-- Steve
--
| Aug 28, 8:12 am 2008 |
| Steven Rostedt | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
The issue here is where to place the policy of protecting the user. Is it
in the kernel, or is it up to the distro.
I've always thought that the policy settings belong in the distro, and the
kernel should never enforce a policy (by setting this as default, it is
enforcing a policy, even though an RT user can change it).
I've recently been told that the kernel has of recent, has indeed been
starting to set policies. With protection of memory and such. If this is
the case, that the ...
| Aug 28, 8:50 am 2008 |
| Steven Rostedt | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
The fact that it actually limits a SCHED_FIFO task group, over a single
task thread does bother me a little.
But that said, I and others have made our complaints known, and will
forever be documented in the halls of the Internet abyss. Thus, the
verdict has been laid. Seems the default shall be something other than
infinite.
I will now remain silent.
-- Steve
--
| Aug 28, 11:53 am 2008 |
| Steven Rostedt | [PATCH] ftrace: remove direct reference to mcount in tra ...
The mcount record method of ftrace scans objdump for references to mcount.
Using mcount as the reference to test if the calls to mcount being replaced
are indeed calls to mcount, this use of mcount was also caught as a
location to change. Using a variable that points to the mcount address
moves this reference into the data section that is not scanned, and
we do not use a false location to try and modify.
The warn on code was what was used to detect this bug.
Signed-off-by: Steven Rostedt ...
| Aug 27, 8:24 pm 2008 |
| Scott Wood | Re: [PATCH] usb: add Freescale QE/CPM USB peripheral con ...
How can you say "m" to something that is not a tristate?
-Scott
--
| Aug 28, 9:39 am 2008 |
| Scott Wood | Re: [PATCH] usb: add Freescale QE/CPM USB peripheral con ...
Does building a kernel image that can run on different hardware without
rebuilding also violate the "relevant standards"?
And who's to say that there aren't multiple USB devices on a single
board, that just happen to share a CPU and memory? :-)
-Scott
--
| Aug 28, 10:53 am 2008 |
| Serge E. Hallyn | Re: [patch] file capabilities: Add no_file_caps switch
Ok, sorry, of course that makes sense. I was just confused about where
the patch was originally heading.
Would it be appropriate to put the capset neutering patch in your
security-testing tree, James, or does that feed straight into
linux-next?
thanks,
-serge
--
| Aug 27, 5:48 pm 2008 |
| Serge E. Hallyn | Re: [patch] file capabilities: Add no_file_caps switch
I certainly don't mind that, but I would expect complaints about this
unless the default boot option were 'n'.
Do you think it's worth sending as a separate trivial patch? Then if
people object to one both changes won't be held up.
(Anyway that's what I'll do right now)
-serge
--
| Aug 28, 10:09 am 2008 |
| Serge E. Hallyn | Re: [PATCH 1/3] user namespaces: introduce user_struct-> ...
Sorry, will do with the rebase.
Thanks, Andrew.
-serge
--
| Aug 27, 5:52 pm 2008 |
| Serge Hallyn | [PATCH 2/2] file capabilities: turn on by default
Now that file capabilities can be turned off at boot, go ahead
and compile them into the kernel by default by making
CONFIG_SECURITY_FILE_CAPABILITIES=y the default.
Note that the boot flag no_file_caps must be specified to turn
file capabilities off, as by default they are on. So the
default behavior is in fact changed.
Signed-off-by: Serge Hallyn <serue@us.ibm.com>
---
security/Kconfig | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/security/Kconfig ...
| Aug 28, 12:54 pm 2008 |
| Serge Hallyn | [PATCH 1/2] file capabilities: add no_file_caps switch (v2)
Add a no_file_caps boot option when file capabilities are
compiled into the kernel (CONFIG_SECURITY_FILE_CAPABILITIES=y).
This allows distributions to ship a kernel with file capabilities
compiled in, without forcing users to use (and understand and
trust) them.
When no_file_caps is specified at boot, then when a process executes
a file, any file capabilities stored with that file will not be
used in the calculation of the process' new capability sets.
This means that booting with the ...
| Aug 28, 12:54 pm 2008 |
| Heasley, Seth | RE: [PATCH 2.6.27-rc4] irq: irq and pci_ids patch for In ...
I can't speak to the engineering, although I agree that blocking out 32 IDs is strange. I don't believe it's a matter of not knowing what will be used but rather that the firmware has the flexibility to change the ID in that range.
I have no history here, but I'm inclined to agree it's a strange naming scheme.
-Seth
--
| Aug 28, 8:40 am 2008 |
| Heasley, Seth | RE: [PATCH 2.6.27-rc4] irq: irq and pci_ids patch for In ...
I'm not sure what's "messy," given that I changed what was required to be changed, then added the new IDs. These IDs are as follows:
LPC Controller: 3b00-3b1f (final ID set in Firmware, but 32 possibilities)
SMBus: 3b30
In terms of the irq stuff, I'm adding only the LPC Controller IDs there. There are just a lot of them. Normally we have a handful of IDs, but in this case the list is longer.
I suppose what "messy" means is, I should have kept the existing defines and only added the new? ...
| Aug 28, 8:18 am 2008 |
| Seth Heasley | [PATCH 2.6.27-rc4][RESEND] irq: irq and pci_ids patch fo ...
This patch updates the Intel Ibex Peak (PCH) LPC and SMBus Controller DeviceIDs.
The LPC Controller ID is set by Firmware within the range of 0x3b00-3b1f. This range is included in pci_ids.h using min and max values, and irq.c now has code to handle the range (in lieu of 32 additions to a SWITCH statement).
The SMBus Controller ID is a fixed-value and will not change.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6/include/linux/pci_ids.h.orig 2008-08-27 ...
| Aug 28, 3:40 pm 2008 |
| Seth Heasley | [PATCH 2.6.27-rc4][RESEND] i2c-i801: SMBus patch for Int ...
This patch adds the Intel Ibex Peak (PCH) SMBus Controller DeviceIDs.
Changes are reflected in i2c-i801.c in response to updates to pci_ids.h. The SMBus Controller is now referred to as PCI_DEVICE_ID_INTEL_PCH_SMBUS, a change to the old naming convention of PCI_DEVICE_ID_INTEL_PCH_x.
Signed-off-by: Seth Heasley <seth.heasley@intel.com>
--- linux-2.6/Documentation/i2c/busses/i2c-i801.orig 2008-08-28 10:11:27.000000000 -0700
+++ linux-2.6/Documentation/i2c/busses/i2c-i801 2008-08-28 ...
| Aug 28, 3:43 pm 2008 |
| Stephen Rothwell | Re: sparc build failure
Hi Dave,
On Wed, 27 Aug 2008 20:03:50 -0700 (PDT) David Miller <davem@davemloft.net>=
I have applied this to linux-next today as well.
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 28, 12:58 am 2008 |
| Stephen Rothwell | sparc build failure
Hi Dave,
Linus' tree fails to build for sparc32 allmodconfig:
kernel/relay.c:701: undefined reference to `smp_call_function_single'
This is because it has CONFIG_SMP but not CONFIG_USE_GENERIC_SMP_HELPERS.
I am not sure what to do about this.
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 27, 6:46 pm 2008 |
| Stephen Rothwell | Re: [PATCH] hotplug/rpaphp: remove unused error path code
Hi Jesse,
On Wed, 27 Aug 2008 16:34:03 -0700 Jesse Barnes <jbarnes@virtuousgeek.org> =
I has also been applied to the powerpc next tree, but that is ok.
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 27, 8:16 pm 2008 |
| Stephen Rothwell | Re: linux-next: Tree for August 27
Hi Bart,
On Wed, 27 Aug 2008 16:57:18 +0200 "Bartlomiej Zolnierkiewicz" <bzolnier@gm=
Thanks for finding this, I will apply it to today's linux-next.
--=20
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
| Aug 27, 6:25 pm 2008 |
| Stephen Rothwell | linux-next: Tree for August 28
Hi all,
Changes since next-20080827:
The hid tree lost a conflict.
The net tree gained a conflict against the net-current tree.
The block tree gained 3 conflicts against Linus' tree (2 trivial and
unreported).
The firmware tree gained 2 conflicts against the sound tree.
The creds tree gained a conflict against the net-current tree.
I have also applied the following patches for known problems:
ftrace: protect the definition of ftrace_release
revert BUILD_BUG_ON ...
| Aug 28, 1:33 am 2008 |
| Stephen Hemminger | Re: loaded router, excessive getnstimeofday in oprofile
On Fri, 22 Aug 2008 04:57:40 +0300
What kernel version is this? There was a fix to AF_PACKET about a year ago
to reduce this.
--
| Aug 27, 8:35 pm 2008 |
| Peter Staubach | Re: [PATCH] NFSv3: cached permissions subset enhancement, v2
It would also be good to pursue getting that NFS server fixed.
It is not protocol compliant. That's not the way that the
ACCESS operation is specified to work. The server explicitly
should not return NFS3ERR_ACCESS when access is denied. The
status portion of the return is supposed to indicate the success
or failure of the ACCESS operation itself, not the access
rights that a process may have w.r.t. a file. The bitmask is
to be used for that.
ps
--
| Aug 28, 3:00 pm 2008 |
| Stefani Seibold | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
I started this discussion last week with an apparent bug in the new CFS.
As it turns out, it was not a bug, it was an feature, a (undocumented?)
feature.
In the world of embeded device and real time programming it is not a
hard job to compile the kernel right for the desired usage und fix the
startup script to use the desired policy.
Getting back the old behaviour would be nice and in my opinion the right
way, because the new one breaks with POSIX. But I have a working
solution and that is ...
| Aug 28, 12:39 pm 2008 |
| Jack Steiner | [PATCH] - GRU driver, minor updates
A few minor updates for the GRU driver.
- documentation changes found in code reviews
- changes to #ifdefs to make them recognized by "unifdef"
(used in simulator testing)
- change GRU context load/unload to prefetch data
Signed-off-by: Jack Steiner <steiner@sgi.com>
---
drivers/misc/sgi-gru/gru.h | 4 ++--
drivers/misc/sgi-gru/gru_instructions.h | 10 ++++++----
drivers/misc/sgi-gru/grufault.c | 11 ++++++-----
drivers/misc/sgi-gru/grufile.c | ...
| Aug 28, 7:46 am 2008 |
| Alan Stern | Re: [PATCH] usb: add Freescale QE/CPM USB peripheral con ...
This was done deliberately. The relevant standards state that a USB
device can have no more than one peripheral interface.
Now, I don't claim to fully support this decision. But there is a
reason behind it; it's not just a case of bad design.
Alan Stern
--
| Aug 28, 10:22 am 2008 |
| Alan Stern | Re: [PATCH] usb: add Freescale QE/CPM USB peripheral con ...
No. That isn't what Arnd was concerned about. He noted that even if
you did build multiple modules, only one of them could be loaded at any
That's why I don't fully support this decision. But I wanted to point
out that there _was_ a conscious decision, as opposed to bad
programming through sheer carelessness.
Alan Stern
--
| Aug 28, 1:16 pm 2008 |
| Robert M. Stockmann | Re: libata, Sound on same IRQ : flaky sound
the BIOS supports raid0, but the sata disks are running standalone
as /dev/sda /dev/sdb etc.
installing a recent kernel is not that easy, as the required
upgrade of udev will break the initscripts and a lot of installed
services and even the functionality of the KDE desktop. Installing
a recent distro is not desirable as they resemble me only
of a Open Source Vista distro, where it takes months to clean
up the unwanted garbage and bloat inside. Its preposterous that
a upgrade to a recent ...
| Aug 27, 6:30 pm 2008 |
| Robert M. Stockmann | Re: libata, Sound on same IRQ : flaky sound
That sounds rather strange to me, as IRQ line 16 is a virtual
fact is that when copying a iso from one SATA disk to the
other results in flaky sound when playing online internet radio.
Even starting firefox for the 1st time after booting results
I sure would like todo that. But why doesn't the linux-kernel community
know howto pull virtual IRQ lines apart, as part of configuring
a linux kernel? In the days of 386/486 cpu's, IRQ's of several
add-on cards could be adjusted manually by ...
| Aug 28, 10:27 am 2008 |
| Robert M. Stockmann | libata, Sound on same IRQ : flaky sound
Hi,
I have a couple of AMD64 machines with onboard sound devices running
and they all have one thing in common : flaky sound when one is
doing some heavy disk I/O on the SATA disks. Interesting enough
/proc/interrupts shows that libata is using the same IRQ as the sound
devices :
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
stepping : 3
cpu MHz : 3014.679
cache size : 1024 KB
# cat /proc/interrupts
CPU0 CPU1
0: ...
| Aug 27, 5:06 pm 2008 |
| Thomas Gleixner | Re: [PATCH] make poll_idle behave more like the other id ...
Hmm, two observations:
1) I think Joe is right that idle_poll should behave like any other
idle function.
2) I wonder whether the work you observe is something we should
investigate. The only code which does work in the idle loop is
rcu_check_callbacks(). What kind of work load scenario do you have
which makes the rcu_check_callbacks() called ?
Thanks,
tglx
--
| Aug 28, 3:40 am 2008 |
| Thomas Graf | Re: [PATCH] IPROUTE: correct nla nested message generate ...
So we remove nla_parsed_nested_compat() just to add it again under
a different name since netem is still going to use that piece of
code. That certainly makes sense. Fixing prio and rr in stable is
a one liner.
--
| Aug 28, 3:18 am 2008 |
| Thomas Graf | [PATCH 2.6.26.y] sch_prio: Fix nla_parse_nested_compat() ...
nla_parse_nested_compat() was used to parse two different message
formats in the netem and prio qdisc, when it was "fixed" to work
with netem, it broke the multi queue support in the prio qdisc.
Since the prio qdisc code in question is already removed in the
development tree, this patch only fixes the regression in the
stable tree.
Based on original patch from Alexander H Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Index: ...
| Aug 28, 6:03 am 2008 |
| Takashi Iwai | Re: [alsa-devel] [PATCH 3/4] ASOC: WM8731 codec: add SPI ...
At Thu, 28 Aug 2008 11:14:35 +0100,
For me, it's easier when they come from you all together ;)
I still postponed to merge Jean's latest patches. Care to check that
don't conflict your work and send them together?
thanks,
Takashi
--
| Aug 28, 5:47 am 2008 |
| Takashi Iwai | Re: [PATCH 4/4] ALSA: add dummy function to support shar ...
At Wed, 27 Aug 2008 17:39:28 +0800,
I don't think adding this dummy get_unmapped_area unconditionally for
every driver is good. This overrides the default
mm->get_unmaped_area.
Takashi
--
| Aug 28, 5:44 am 2008 |
| Tejun Heo | [PATCH 1/2] uevent: don't pass envp_ext[] as format stri ...
kobject_uevent_env() uses envp_ext[] as verbatim format string which
can cause problems ranging from unexpectedly mangled string to oops if
a string in envp_ext[] contains substring which can be interpreted as
format. Fix it.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
lib/kobject_uevent.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 3f91472..ca215bc 100644
--- a/lib/kobject_uevent.c
+++ ...
| Aug 28, 9:30 am 2008 |
| Tejun Heo | Re: [PATCH 5/7] FUSE: implement ioctl support
For simple ones, that's how it's gonna be handled. Those copying in and
out kicks in when the @arg is pointer or worse data structure which can
Thanks.
--
tejun
--
| Aug 28, 11:25 am 2008 |
| Tejun Heo | [PATCH RESEND] char_dev: add cdev->release() and convert ...
Add cdev->release() so that cdev can be considered in more involved
object lifetime management. cdev_alloc() used a separate ktype for
auto-free release(). This patch converts it to use cdev->release() so
that there's no need for separate ktype and cdev_init() can be used
for auto-free variant too.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
This one is also for CUSE. Oops, forgot lkml. Resending. Thanks.
fs/char_dev.c | 30 +++++++++++++-----------------
...
| Aug 28, 9:36 am 2008 |
| Tejun Heo | [ANNOUNCE] OSS Proxy using CUSE
Hello again,
So, after all the fuss, here's the state-of-the-art standard-compliant
cloud-computing web-3.0-beta web page for OSS emulation using CUSE.
http://userweb.kernel.org/~tj/ossp/
It works pretty well here. :-)
Thanks.
--
tejun
--
| Aug 28, 12:05 pm 2008 |
| Tejun Heo | [PATCH 1/7] FUSE: add include protectors
Add include protectors to include/linux/fuse.h and fs/fuse/fuse_i.h.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
fs/fuse/fuse_i.h | 5 +++++
include/linux/fuse.h | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 3a87607..e2b3b72 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -6,6 +6,9 @@
See the file COPYING.
*/
+#ifndef __FS_FUSE_I_H
+#define __FS_FUSE_I_H
+
#include <linux/fuse.h>
...
| Aug 28, 10:40 am 2008 |
| Tejun Heo | [PATCH 4/5] FUSE: add fuse_conn->release()
Add fuse_conn->release() so that fuse_conn can be embedded in other
structures. If unspecified, the original action - kfree() - is done.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
fs/fuse/fuse_i.h | 3 +++
fs/fuse/inode.c | 6 +++++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 4795264..67f33e8 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -465,6 +465,9 @@ struct fuse_conn {
/** Version counter for ...
| Aug 28, 11:19 am 2008 |
| Tejun Heo | [PATCHSET] FUSE: extend FUSE to support more operations
This patchset extends FUSE such that it supports more file operations
and is consisted of the following seven patches.
0001-FUSE-add-include-protectors.patch
0002-FUSE-pass-nonblock-flag-to-client.patch
0003-FUSE-implement-nonseekable-open.patch
0004-FUSE-implement-direct-lseek-support.patch
0005-FUSE-implement-ioctl-support.patch
0006-FUSE-implement-unsolicited-notification.patch
0007-FUSE-implement-poll-support.patch
The added features will be used primarily for CUSE but can ...
| Aug 28, 10:40 am 2008 |
| Tejun Heo | [PATCH 7/7] FUSE: implement poll support
Implement poll support. Polled files are indexed using fh in a RB
tree rooted at fuse_conn->polled_files. All pollable files should
have unique fh as that's how notifications are matched to files. If
duplicate fhs are detected, FUSE spits out warning message. Poll will
malfunction but otherwise it will work fine.
Client should send FUSE_NOTIFY_POLL notification once after processing
FUSE_POLL which has FUSE_POLL_SCHEDULE_NOTIFY set. Sending
notification unconditionally after the latest ...
| Aug 28, 10:41 am 2008 |
| Tejun Heo | Re: [PATCH 5/7] FUSE: implement ioctl support
Ah.... funky. If this retry thing is too repulsive, I guess the best
alternative would be directly accessing caller's memory as Miklos suggested.
Thanks.
--
tejun
--
| Aug 28, 11:28 am 2008 |
| Tejun Heo | Re: [PATCH 5/7] FUSE: implement ioctl support
Hmmm... I was trying to stay within similar operation mechanics as other
ops. Directly accessing the caller's memory has performance benefits
but that benefit can also be used by reads and writes. So, if we're
gonna do direct memory access, maybe doing it in more generic way is a
better idea?
Thanks.
--
tejun
--
| Aug 28, 11:17 am 2008 |
| Tejun Heo | Re: [PATCH 5/7] FUSE: implement ioctl support
If you're worried about the double copying due to performance reasons,
what we can do is implementing userspace to userspace copying. I just
took easier path of copying twice as u-u copy can't be done using the
existing FUSE mechanics, but frankly, at this point, I think that would
be an premature optimization.
--
tejun
--
| Aug 28, 11:02 am 2008 |
| Tejun Heo | Re: [PATCH 2/2] uevent: handle duplicate uevent_var keys ...
CUSE creates actual devices but those devices are all cuse class
devices. To play nicely with sysfs/hal, the ADD/REMOVE uevents should
have about the same variables as the actual device including the
SUBSYSTEM, so that's where the overriding comes in. CUSE client tells
CUSE that it needs to set such such envs for uevents and CUSE overrides
uevents before sending it out so that sysfs/hal can be fooled.
Thanks.
--
tejun
--
| Aug 28, 10:00 am 2008 |
| Tejun Heo | Re: [PATCH 5/7] FUSE: implement ioctl support
I'm no security expert but it feels pretty dangerous to me. First of
all, there are cases where the calling process can exit before the
userland FUSE is finished with an operation, so it might not be always
possible for the FUSE client to tell the PID it got is the correct one.
Another thing is that as it currently stands, the kernel side FUSE
implementation forms a nice safety net taking responsibility of most
security concerns and insulating the mistakes the client may make.
Letting ...
| Aug 28, 12:42 pm 2008 |
| Tejun Heo | [PATCHSET] CUSE: implement CUSE
This patchset implements CUSE - Character device in Userspace. Except
for initialization sequence and creation of character device instead
of a mount, CUSE isn't very different from FUSE.
This patchset is consisted of the following five patches.
0001-FUSE-add-fuse_-prefix-to-several-functions.patch
0002-FUSE-export-symbols-to-be-used-by-CUSE.patch
0003-FUSE-separate-out-fuse_conn_init-from-new_conn.patch
0004-FUSE-add-fuse_conn-release.patch
...
| Aug 28, 11:18 am 2008 |
| Tejun Heo | Re: [PATCH RESEND] char_dev: add cdev->release() and con ...
Well, as cdev can be referenced from userspace, ->release is required
for most purposes. The reason why devices have been getting by without
it is because most chardevs are created on module load and destroyed on
module unload and in the meantime cdev refcount virtually equals module
refcnt, but I'm fairly sure we have cases where cdev can be destroyed
for other reasons then module unloading and it's very likely those cases
are buggy in the current code (backing structure gone bug cdev ...
| Aug 28, 9:56 am 2008 |
| Tejun Heo | Re: [PATCHSET] FUSE: extend FUSE to support more operations
I did it for OSS emulation but it can be used for anything. Hmm... I'm
still in the process of pushing out patches, so please wait just a bit.
The libfuse changes include simple examples so that should make things
Sound device just sets nonseekable. The direct lseek bit is for API
completeness as there are chardevs which have special semantics
regarding lseek.
Thanks.
--
tejun
--
| Aug 28, 11:23 am 2008 |
| Tejun Heo | Re: [PATCH RESEND] char_dev: add cdev->release() and con ...
Hmmm.... I've never actually audited the code so... it could be that no
The problem is not the device to talk to CUSE (/dev/cuse as in
/dev/fuse), for which module refcount and device refcount match fine.
But the whole point of CUSE is allowing CUSE clients to create arbitrary
character devices, so in addition to /dev/cuse which clients use to talk
to CUSE, CUSE hosts character devices for its clients and they come and
go dynamically and thus requires proper lifetime ...
| Aug 28, 10:44 am 2008 |
| Tejun Heo | Re: [PATCH 5/7] FUSE: implement ioctl support
Can you elaborate a bit? How the fixed ioctl would know how much to
copy in and out and from where?
Thanks.
--
tejun
--
| Aug 28, 10:59 am 2008 |
| Tejun Heo | [PATCH 2/2] uevent: handle duplicate uevent_var keys properly
add_uevent_var() appends the specified variable whether the new entry
has duplicate key or not. This patch makes add_uevent_var() to
override the existing entry if an entry with the same key is added
later. This will be used by CUSE (character device in userland) to
fake hotplug events.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
lib/kobject_uevent.c | 33 ++++++++++++++++++++++-----------
1 files changed, 22 insertions(+), 11 deletions(-)
diff --git a/lib/kobject_uevent.c ...
| Aug 28, 9:31 am 2008 |
| Tejun Heo | Re: [PATCH 5/7] FUSE: implement ioctl support
Well, it's only 240 lines with good amount of comments and iovec copying
function. The ioctl itself isn't too complex. I'm a bit skeptical
about direct access. It can easily introduce security vulnerabilities
as there really is no way to hold a pid.
Thanks.
--
tejun
--
| Aug 28, 11:34 am 2008 |
| Tejun Heo | [PATCH 2/5] FUSE: export symbols to be used by CUSE
Export the following symbols for CUSE.
fuse_conn_put()
fuse_conn_get()
fuse_get_root_inode()
fuse_super_operations
fuse_send_init()
fuse_flush()
fuse_fsync()
fuse_direct_io()
fuse_file_lock()
fuse_file_flock()
fuse_file_llseek()
fuse_file_ioctl()
fuse_file_compat_ioctl()
fuse_file_poll()
Signed-off-by: Tejun Heo <tj@kernel.org>
---
fs/fuse/dev.c | 9 ++++++++-
fs/fuse/file.c | 30 ++++++++++++++++++++----------
fs/fuse/fuse_i.h | 29 +++++++++++++++++++++++++++++
...
| Aug 28, 11:19 am 2008 |
| Tejun Heo | [PATCH 6/7] FUSE: implement unsolicited notification
Clients always used to write only in response to read requests. To
implement poll efficiently, clients should be able to issue
unsolicited notifications. This patch implements basic notification
support.
Zero fuse_out_header.unique is now accepted and considered unsolicited
notification and the error field contains notification code. This
patch doesn't implement any actual notification.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
fs/fuse/dev.c | 34 ...
| Aug 28, 10:41 am 2008 |
| Tejun Heo | Re: [PATCH RESEND] char_dev: add cdev->release() and con ...
Ah.. right, but taking cdev refcount out of the picture requires adding
'severing' operation on cdev f_ops, which certainly is doable but isn't
it just cleaner to make cdev follow the usual lifetime management rules?
An object which is referenced counted requires ->release if it's gonna
be used in any non-simplistic way.
Thanks.
--
tejun
--
| Aug 28, 10:55 am 2008 |
| Tejun Heo | [PATCH 5/7] FUSE: implement ioctl support
ioctl support is tricky to implement because only the ioctl
implementation itself knows which memory regions need to be read
and/or written. To support this, fuse client can request retry of
ioctl specifying memory regions to read and write. Deep copying
(nested pointers) can be implemented by retrying multiple times
resolving one depth of dereference at a time.
Plese read the comment on top of fs/fuse/file.c::fuse_file_do_ioctl()
for more information.
Signed-off-by: Tejun Heo ...
| Aug 28, 10:41 am 2008 |
| Tejun Heo | Re: [PATCH 5/7] FUSE: implement ioctl support
If you're worried about the double copying due to performance reasons,
what we can do is implementing userspace to userspace copying. I just
took easier path of copying twice as u-u copy can't be done using the
existing FUSE mechanics.
--
tejun
--
| Aug 28, 11:01 am 2008 |
| Tejun Heo | [PATCH 2/7] FUSE: pass nonblock flag to client
Pass O_NONBLOCK to client on reads and writes using FUSE_READ_NONBLOCK
and FUSE_WRITE_NONBLOCK respectively.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
fs/fuse/file.c | 10 +++++++---
include/linux/fuse.h | 3 +++
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 2bada6b..d405865 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -386,14 +386,15 @@ static size_t fuse_send_read(struct fuse_req *req, struct file *file,
...
| Aug 28, 10:40 am 2008 |
| Tejun Heo | [PATCH 4/7] FUSE: implement direct lseek support
Allow clients to implement private lseek. The feature is negotiated
using FUSE_DIRECT_LSEEK flag during INIT. If the client doesn't
request direct lseek, the original implicit lseek is used.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
fs/fuse/file.c | 52 ++++++++++++++++++++++++++++++++++++++++++-------
fs/fuse/fuse_i.h | 3 ++
fs/fuse/inode.c | 4 ++-
include/linux/fuse.h | 14 +++++++++++++
4 files changed, 64 insertions(+), 9 deletions(-)
diff --git ...
| Aug 28, 10:41 am 2008 |
| Tejun Heo | [PATCH 3/5] FUSE: separate out fuse_conn_init() from new ...
Separate out fuse_conn_init() from new_conn() and while at it
initialize fuse_conn->entry during conn initialization.
This will be used by CUSE.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
fs/fuse/fuse_i.h | 5 ++
fs/fuse/inode.c | 116 +++++++++++++++++++++++++++++------------------------
2 files changed, 68 insertions(+), 53 deletions(-)
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index bc55f6d..4795264 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -679,6 ...
| Aug 28, 11:19 am 2008 |
| Tejun Heo | [PATCH 5/5] CUSE: implement CUSE - Character device in U ...
CUSE enables implementing character devices in userspace. With recent
additions of nonblock, lseek, ioctl and poll support, FUSE already has
most of what's necessary to implement character devices. All CUSE has
to do is bonding all those components - FUSE, chardev and the driver
model - nicely.
Due to the number of different objects involved and many ways an
instance can fail, object lifetime rules are a tad bit complex.
Please take a look at the comment on top of fs/fuse/cuse.c ...
| Aug 28, 11:19 am 2008 |
| Tejun Heo | [PATCH 3/7] FUSE: implement nonseekable open
Let the client request nonseekable open using FOPEN_NONSEEKABLE and
call nonseekable_open() on the file if requested.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
fs/fuse/file.c | 2 ++
include/linux/fuse.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index d405865..9c44f9c 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -101,6 +101,8 @@ void fuse_finish_open(struct inode *inode, struct file *file,
file->f_op = ...
| Aug 28, 10:40 am 2008 |
| Tejun Heo | [PATCH 1/5] FUSE: add fuse_ prefix to several functions
Add fuse_ prefix to request_send*() and get_root_inode() as some of
those functions will be exported for CUSE. With or without CUSE
export, having the function names scoped is a good idea for
debuggability.
Signed-off-by: Tejun Heo <tj@kernel.org>
---
fs/fuse/dev.c | 23 ++++++++++++-----------
fs/fuse/dir.c | 34 +++++++++++++++++-----------------
fs/fuse/file.c | 30 +++++++++++++++---------------
fs/fuse/fuse_i.h | 9 +++++----
fs/fuse/inode.c | 12 ++++++------
5 ...
| Aug 28, 11:19 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
On Thu, Aug 28, 2008 at 2:31 AM, Luis R. Rodriguez
I prefer to be able transfer files over blindly following spec. This
This is w/a in the specific driver not in the mac so this is de facto
what you have suggested. This patch is marked as W/A and should have
probably
I'm all for following spec and we've tried really hard to make it work.
Anyhow I'm not sure what you call real IBSS. nobody has checked it for
1.5 year this patch is in and now is suddenly so important...
b43 was effected and ...
| Aug 27, 5:19 pm 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
On Thu, Aug 28, 2008 at 4:30 AM, Luis R. Rodriguez
So how do set TSF from the beacon, I'm asking because there is
currently no interface from mac80211 to driver do that.
Thanks
Tomas
--
| Aug 28, 12:59 am 2008 |
| Tomas Winkler | Re: pull request: wireless-2.6 2008-08-26
recently i briefly tested IBSS,
There is another IBSS bug that was introduced connected to rates maybe
this is also your problem.. we have something in the pipe that should
Sure but if TSF is not adopted correctly and that's the case probably
of most of the drivers under mac80211 then it makes
Thanks
Tomas
--
| Aug 28, 3:52 am 2008 |
| Linus Torvalds | Re: [PATCH] resource/x86: add sticky resource type
As far as I can see, THIS IS TOTALLY BROKEN.
There's a reason why we add the broken resources LATE. There's a reason we
_have_ to add them late.
Trying to come up with these braindamaged schemes to avoid doing it right
is wrong. Don't do it.
The reason? Those bogus resources that the BIOS reports are simply NOT
TRUSTWORTHY. They may actually be in all the wrong places, including
covering a resource half-way, or crossing two real resources.
Yes, it's rare. But it happens. Which ...
| Aug 28, 10:20 am 2008 |
| Linus Torvalds | Re: [PATCH] x86: split e820 reserved entries record to late
Yeah, well, the good news is that it should be fairly rare. Any sane PCI
device will come out of reset with IO and MEM disabled, and even if some
crazy BIOS enables IO/MEM on it and activates the BAR's with some random
content, I'm not seeing how that would work well with Windows either if it
really was overlapping with some critical real other piece of hardware.
So I'd _assume_ that something like that would break Windows too, and thus
not actually make it into a real ...
| Aug 28, 1:38 pm 2008 |
| Linus Torvalds | Linux 2.6.27-rc5
Another week (my weeks do seem to be eight days, don't they? Very odd),
another -rc.
The dirstat pretty much says it all:
43.0% arch/arm/configs/
43.9% arch/arm/
25.5% arch/powerpc/configs/
26.8% arch/powerpc/
73.9% arch/
4.4% drivers/usb/musb/
5.4% drivers/usb/
4.0% drivers/watchdog/
16.0% drivers/
3.5% fs/
yeah, the bulk of it is all config updates, and with arm and powerpc
leading the pack.
But seriously, while the config updates amount to about ...
| Aug 28, 4:26 pm 2008 |
| Linus Torvalds | Re: [PATCH] x86: split e820 reserved entries record to late
Well, I'm not sure whether PnP or e820 should be first, as long as any
"real hardware" probing takes precedence over either. I _suspect_ that
e820 is more trustworthy, which implies that PnP should probably be added
last. It would be good to have some idea what Windows does, since usually
all the firmware bugs are essentially hidden by whatever that other OS
happens to do.
The basic rule really should be: "What do we trust most?" and probe things
in that order.
So e820 is fairly ...
| Aug 28, 1:05 pm 2008 |
| Linus Torvalds | Re: [PATCH] x86: split e820 reserved entries record to late v2
Looks ok by me. Now it just needs testing ;)
Does it actually fix the HPET regression on that odd machine (without the
special hacks to recognize HPET explicitly)?
Linus
--
| Aug 28, 1:40 pm 2008 |
| Linus Torvalds | Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26
What the hell. Here's a test patch. A largish part of it was generated
through a stupid script that basically did a number of grep + 'sed' on a
lot of files, and then the rest was fixed up manually after running "make
allmodconfig".
I'm not going to guarantee anything, but it gets close. A starting point
for somebody else, and considering that it is
208 files changed, 370 insertions(+), 376 deletions(-)
this is definitely linux-next material.
The extra deletions are mainly ...
| Aug 27, 5:35 pm 2008 |
| Linus Torvalds | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
The kernel has always done a certain amount of "default policy".
What do you think things like "swappiness" etc are? Or things like
oevrcommit settings? They're all policies, and there is always a default
one. So in that sense the kernel always has - and fundamentally _must_ -
set some kind of policy.
And the default policy should generally be the one that makes sense for
most people. Quite frankly, if it's an issue where all normal distros
would basically be expected to set a ...
| Aug 28, 10:26 am 2008 |
| Linus Torvalds | Re: [PATCH 6/6] sched: disabled rt-bandwidth by default
The thing is, the reason I dislike RT is that so many people have so
different understanding of what RT means.
Quite frankly, I think that the people who are complaining (like you)
think that RT means "hard realtime". You think about literally specialized
devices.
A lot of _other_ people think that RT means "good audio latency", where it
really is a lot softer.
And neither camp seems to ever admit that they are just a small camp, and
that the other camp exists or is even ...
| Aug 28, 11:42 am 2008 |
| Thomas Renninger | Re: [ANNOUNCE] ACPI BIOS Guideline for Linux
They can use their own devices.
There is a section about if you provide your own device, document it, etc.:
2 Vendor specific ACPI implementations
...
2. If new devices or functions are introduced, document how to use them. A
short specification or a request for comments (RFC) can form the basis of
a new standard which follows your needs.
But yes, it could be pointed out clearer.
I'll look closer at it when I touch it the next time.
Text snippets/suggestions are also ...
| Aug 28, 2:41 am 2008 |
| Thomas Renninger | Re: [ANNOUNCE] ACPI BIOS Guideline for Linux
IMO WMI should not exist.
A lot laptop BIOSes do not use it at all, unfortunately it seems to get
more common again.
What advantage do you get on Linux using WMI?
For example HP is using WMI to export a WLAN (or bluetooth?) button on
some machines.
They should not do that, right?
AFAIK most vendors tend to send an ordinary key event again for most
extra buttons. Is this the way to go for the future? This probably
should also be mentioned then.
Thomas
--
| Aug 28, 5:16 am 2008 |
| Theodore Tso | Re: Frustrated with capabilities..
Well, because that's not the what the POSIX draft specification (and
the rest of the Unix industry who were striving to meet the US
Department of Defense's "B2 by '92" initiative) ended up implementing.
The reason for that was to avoid bugs where a program that wasn't
expecting to be setuid (or just written by a stupid progammer) exec's
some program which wasn't expecting to have root privileges then bad
things happen. The classic example of this was running the mail
program, which was ...
| Aug 28, 10:48 am 2008 |
| Ulrich Windl | SLES10 SP1 (x86_64): Hard-hang when using NFSv4 from HP-UX
Hello,
I'm fighting for a while with using NFSv4 provided by HP-UX 11.31 (ONCplus
B.11.31.04 (ONC+ 2.3)) on a SLES10 SP1 (x86_64) client. HP's NFS is basically that
from Sun. The problems are:
Mounting the filesystems as NFSv3 causes no problems at all, using NFSv4 makes
every file open() attempt to hang hard. I must "kill -9" the processes. Even
"umount -vat nfs4" hangs on umount().
The only messages I get when trying an open is
kernel: Error: state recovery failed on NFSv4 server ...
| Aug 28, 3:41 am 2008 |
| Ulrich Windl | Re: SLES10 SP1 (x86_64): Hard-hang when using NFSv4 from HP-UX
Hi!
(ingoring the fact your opinion may be influenced by SUSE/Novell)
Are you saying that SUSE/Novell added bugs regarding NFS4 that are not present in
the vanilla kernel, or are you saying that the vanilla kernel may have fixed NFSv4
bugs that SUSE/Novell did not fix? Why shouldn't anybody be interested in the fact
that there are problems?
Regards,
Ulrich
--
| Aug 28, 8:23 am 2008 |
| Steve VanDeBogart | Re: [PATCH] exit signals: use of uninitialized field not ...
Thanks. Yes, I am running Valgrind on UML. I revisited the previous
patches that allowed it and tried to remove any unnecessary changes.
The patches and a recipe on how to make it work can be found on the
UML wiki: http://uml.jfdi.org/uml/Wiki.jsp?page=ValgrindingUML
I'll stir up trouble by posting the kernel patches on lkml after a
little more cleanup.
--
Steve
--
| Aug 27, 5:27 pm 2008 |
| Steve VanDeBogart | Re: [PATCH] exit signals: use of uninitialized field not ...
It looks like that would work. Seems that
sig->count == 0 && sig->group_exit_task != NULL can never be true.
If it does work, a lot of initialization in copy_signal() can be
removed and it would reduce the chances that a similar problem would be
reintroduced. I would submit a patch, but I'm not sure how to trigger
those code paths in order to test it.
--
Steve
--
| Aug 27, 5:58 pm 2008 |
| Vegard Nossum | Re: [RFC][PATCH] bitfields API
You are correct :-)
Almost all the possible solutions (at least the feasible ones) are
trade-offs between false-positives and false-negatives.
So here we are trading a bunch of false-positive errors (a couple of
thousand for transferring a 1M file over ssh :-)) for detecting any
code that uses an uninitialized flag in struct skbuff. So in this case
it is more useful to hide reports about this single bit-field.
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in ...
| Aug 28, 1:59 pm 2008 |
| Vegard Nossum | Re: [RFC][PATCH] bitfields API
Ok, that's constructive :-P
Can we skip the type and always assume that it should be __u8/uint8_t?
I read somewhere that bitfields should anyway always be 1 byte wide if
the bitfield should be "portable". Would it help (to make this less
horrible) to omit the type declaration and have just the bitfield
members as arguments to the macro?
Thanks,
Vegard
--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest ...
| Aug 28, 11:46 am 2008 |
| Vegard Nossum | Re: [RFC][PATCH] bitfields API
That looks good to me. If the extra lines are okay with net people, we
can put this in the fixlets branch and make it the norm for dealing
with bitfields in kmemcheck.
One thing to keep in mind that if the members of the bitfield does not
span the entire width of the bitfield, the remaining bits must also be
assigned (as an extra "filler" member), otherwise GCC will not
optimize it to a single store. But that is not an issue in this
particular case since all the bits are ...
| Aug 28, 12:38 pm 2008 |
| Vegard Nossum | Re: SLUB/debugobjects locking (Re: 2.6.27-rc4-git1: Repo ...
On Wed, Aug 27, 2008 at 12:14 AM, Daniel J Blueman
Hm. Is this with my first patch + the one in the e-mail you replied
to? It was intended to be a delta patch on top of my first one.
That would be the one in
http://marc.info/?l=linux-kernel&m=121946972307110&w=4
plus the one in
http://marc.info/?l=linux-kernel&m=121969394110327&w=1
Thanks for testing and sorry for the confusion. (Maybe I just confused
myself. Please let me know either way.)
Vegard
--
"The animistic ...
| Aug 28, 6:42 am 2008 |
| Vegard Nossum | [RFC][PATCH] bitfields API
Hi,
kmemcheck is the kernel patch that detects use of uninitialized memory.
kmemcheck reports eagerly, that is, any load of uninitialized memory
will be reported, even though the bits in question will be thrown away
later (before they are used in making a decision).
One problem that we have encountered (which generates a false positive
report) is that of bitfield accesses. In particular, whenever a bit of
a bitfield is set (or cleared), the whole byte may be loaded before the
specific bit ...
| Aug 28, 11:32 am 2008 |
| Vegard Nossum | Re: [RFC][PATCH] bitfields API
I think we have different opinions of what exactly constitutes "horrible" :-P
Your suggestion would have made sense if I was a company of 10
developers who could import all of valgrind source code (including
opcode decoder and instruction emulator) into the kernel. But I only
writing kmemcheck in my free time, so this will never happen. Or.. at
least I will not do it. Of course, kmemcheck, valgrind/memcheck, and
indeed the kernel itself are all open source, so anybody could do it.
In the ...
| Aug 28, 12:18 pm 2008 |
| Vegard Nossum | [PATCH] debugobjects: fix lockdep warning #2
Here is the combined patch. I've tested it only briefly, and I am
unsure of whether it still produces lockdep warnings for Daniel or
not. I wish it would not be applied anywhere unless it was
officially Reviewed-by: someone. In particular, I'm not quite
steady with the irq-safe locking (Thomas might want to have a look).
Thanks :)
Vegard
From 977cf583b79be7308d5e310711fe6038c8af96a4 Mon Sep 17 00:00:00 2001
From: Vegard Nossum <vegard.nossum@gmail.com>
Date: Thu, 28 Aug 2008 ...
| Aug 28, 8:32 am 2008 |
| Al Viro | Re: [PATCH] afs: fsclient.c sparse endian annotations of ...
It's not just "must be evaluated at compile time"; it's "must be C constant
expressions", which is much stricter. And no, in the case quoted above
__constant_ form is not needed. Just use htonl()...
--
| Aug 27, 7:22 pm 2008 |
| Yinghai Lu | Re: 2.6.25 DMA: Out of SW-IOMMU space - Asus M2N32 AMD 8 ...
can you send out whole boot log? with "debug initcall_debug"
http://people.redhat.com/mingo/tip.git/readme.txt
YH
--
| Aug 28, 1:59 pm 2008 |
| Yinghai Lu | Re: [PATCH] x86: split e820 reserved entries record to late v2
On Thu, Aug 28, 2008 at 1:40 PM, Linus Torvalds
David,
can you test attached patch?
also you may try to revert the old patch.
YH
| Aug 28, 1:52 pm 2008 |
| Yinghai Lu | [PATCH] resource/x86: add sticky resource type
Ingo suggest to use sticky resource type to record fixed resource.
so could check that BAR and avoid update it after request_resource failed.
and we could remove tricky code about insert some resource with late_initcall.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/acpi/boot.c | 17 +-----------
arch/x86/kernel/apic.c | 30 +++++----------------
arch/x86/kernel/io_apic.c | 26 +-----------------
arch/x86/pci/i386.c | 38 ...
| Aug 27, 6:56 pm 2008 |
| Yinghai Lu | Re: [PATCH] x86: split e820 reserved entries record to late
On Thu, Aug 28, 2008 at 1:05 PM, Linus Torvalds
ok, will move e820_reserve_resource_late to pcibios_resource_survey(),
so it is called vi pci_subsys_init before pnp_system_init
YH
--
| Aug 28, 1:19 pm 2008 |
| Yinghai Lu | [PATCH] x86: split e820 reserved entries record to late v2
so could let BAR res register at first, or even pnp?
v2: insert e820 reserve resources before pnp_system_init
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/e820.c | 20 ++++++++++++++++++--
arch/x86/pci/i386.c | 3 +++
include/asm-x86/e820.h | 1 +
3 files changed, 22 insertions(+), 2 deletions(-)
Index: linux-2.6/arch/x86/kernel/e820.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/e820.c
+++ ...
| Aug 28, 1:34 pm 2008 |
| Yinghai Lu | [PATCH] x86: split e820 reserved entries record to late
so could let BAR res register at first, or even pnp?
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/kernel/e820.c | 20 ++++++++++++++++++--
arch/x86/pci/i386.c | 3 +++
include/asm-x86/e820.h | 1 +
3 files changed, 22 insertions(+), 2 deletions(-)
Index: linux-2.6/arch/x86/kernel/e820.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/e820.c
+++ linux-2.6/arch/x86/kernel/e820.c
@@ -1271,13 +1271,15 @@ ...
| Aug 28, 12:39 pm 2008 |
| Yinghai Lu | Re: [PATCH] pci: Fix printk warnings in probe.c
you must use 32 bit with !64bit_resource..
can we just make resource_t to be ull to 32bit unconditionally?
YH
--
| Aug 28, 3:33 pm 2008 |
| Yinghai Lu | x86: move dir es7000 to es7000_32.c
to be aligned to numaq, summit
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
---
arch/x86/es7000/Makefile | 5
arch/x86/es7000/es7000.h | 114 -------------
arch/x86/es7000/es7000plat.c | 262 -------------------------------
arch/x86/kernel/Makefile | 1
arch/x86/kernel/es7000_32.c | 345 +++++++++++++++++++++++++++++++++++++++++
arch/x86/mach-generic/Makefile | 1
6 files changed, 346 insertions(+), 382 deletions(-)
Index: ...
| Aug 27, 11:01 pm 2008 |
| previous day | today | next day |
|---|---|---|
| August 27, 2008 | August 28, 2008 | August 29, 2008 |
