| From | Subject | Date |
|---|---|---|
| Rolf Eike Beer | [PATCH] Typo: depricated -> deprecated
Typo: depricated -> deprecated
Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
---
commit b7ec07d26c9fd915fd32b759aa05a1ead8c432f5
tree 6f6dafac4072fddd670a97f68cbd64bf505d0408
parent 43dcafe3f7bfc07bdaf55d353fd4c5112c5f2be6
author Rolf Eike Beer <eike-kernel@sf-tec.de> Sun, 07 Oct 2007 10:29:39 +0200
committer Rolf Eike Beer <eike-kernel@sf-tec.de> Sun, 07 Oct 2007 10:29:39 +0200
drivers/acpi/Kconfig | 2 +-
drivers/net/natsemi.c | 2 +-
...
| Oct 7, 4:35 am 2007 |
| David Chinner | Re: [PATCH] remove throttle_vm_writeout()
Careful. kswapd is much less efficient at writeout than pdflush
because it does not do low->high offset writeback per address space.
It just flushes the pages in LRU order and that turns writeback into
a non-sequential mess. I/O sizes decrease substantially and
throughput falls through the floor.
So if you want kswapd to take over all the writeback, it needs to do
writeback in the same manner as the background flushes. i.e. by
grabbing page->mapping and flushing that in sequential order ra...
| Oct 7, 7:54 pm 2007 |
| Fengguang Wu | Re: [PATCH] remove throttle_vm_writeout()
Ah, indeed. That means introducing a new "really congested" threshold
for kswapd is *dangerous*. I realized this later on, and am now
heading for another direction.
The basic idea is to
- rotate pdflush issued writeback pages for kswapd;
- use the more precise zone_rotate_wait() to throttle kswapd.
The code is a quick hack and not tested yet.
Early comments are more than welcome.
Fengguang
---
include/linux/mmzone.h | 1 +
mm/filemap.c | 5 ++++-
mm/page_alloc.c |...
| Oct 7, 8:33 pm 2007 |
| Johannes Weiner | dtc_setup() used anywhere?
Hi,
The compiler warned me that dtc_setup() is unused in drivers/scsi/dtc.c:182.
I do not see a call to it anywhere and no __setup() near to it. Am I missing
something?
Hannes
--
3BD8 AF56 11AF 205C 9DB6 B10F 76F1 0634 71A4 DCA0
-
| Oct 7, 5:41 pm 2007 |
| Andi Kleen | [PATCH] [0/6] Some scheduler changes for sched-devel
- Various source code cleanups (no functional changes)
- Shrink binary size by refactoring some code
- One K8 optimization that is unfortunately not measurable.
But it sounded good in theory! @)
(if you have a better scheduling latency benchmark than
lmbench3 it would be cool to try)
- One real bug fix for a obscure problem
All against the sched-devel git tree with
d024f67c652f7f0519d2a1906b646286abbb2e48 head.
Future wishlist: someone document all the magic numbers
in the load balancer c...
| Oct 7, 4:59 pm 2007 |
| Andi Kleen | [PATCH] [5/6] scheduler: Protect important kernel threads ag...
Not only the migration thread, but also softlockup and stop machine
need to be protected against normalize_rt(). Instead of checking
for them all I added a new process flag for this.
This was the last available bit in 32bit task->flags, sorry for that.
This removes the is_migration_thread macro added in the last patch
again because it is not needed anymore.
Signed-off-by: Andi Kleen <ak@suse.de>
Index: linux-2.6-sched-devel/include/linux/sched.h
==================================...
| Oct 7, 4:59 pm 2007 |
| Andi Kleen | [PATCH] [4/6] scheduler: Refactor normalize_rt_tasks
Replace a particularly ugly ifdef with an inline and a new macro.
Also split up the function to be easier readable.
Signed-off-by: Andi Kleen <ak@suse.de>
Index: linux-2.6-sched-devel/kernel/sched.c
===================================================================
--- linux-2.6-sched-devel.orig/kernel/sched.c
+++ linux-2.6-sched-devel/kernel/sched.c
@@ -74,6 +74,12 @@ unsigned long long __attribute__((weak))
return (unsigned long long)jiffies * (1000000000 / HZ);
}
+#ifdef CONF...
| Oct 7, 4:59 pm 2007 |
| Andi Kleen | [PATCH] [6/6] scheduler: Remove bogus comment in sched_group...
Function never returns -EINVAL.
Signed-off-by: Andi Kleen <ak@suse.de>
Index: linux-2.6-sched-devel/kernel/sched.c
===================================================================
--- linux-2.6-sched-devel.orig/kernel/sched.c
+++ linux-2.6-sched-devel/kernel/sched.c
@@ -6814,8 +6814,6 @@ int sched_group_set_shares(struct task_g
if (tg->shares == shares)
return 0;
- /* return -EINVAL if the new value is not sane */
-
tg->shares = shares;
for_each_possible_cpu(i)
...
| Oct 7, 4:59 pm 2007 |
| Andi Kleen | [PATCH] [2/6] scheduler: Refactor common code of sleep_on / ...
These functions were largely cut'n'pasted. This moves
the common code into single helpers instead. Advantage
is about 1k less code on x86-64 and 91 lines of code removed.
It adds one function call to the non timeout version of
the functions; i don't expect this to be measurable.
Signed-off-by: Andi Kleen <ak@suse.de>
Index: linux-2.6-sched-devel/kernel/sched.c
===================================================================
--- linux-2.6-sched-devel.orig/kernel/sched.c
+++ linux-2.6...
| Oct 7, 4:59 pm 2007 |
| Andi Kleen | Re: [PATCH] [2/6] scheduler: Refactor common code of sleep_o...
Here's a replacement patch fixing a minor problem:
sleep_on_common wasn't marked __sched and ended up in the
wrong section; breaking the WCHAN backtracing.
-Andi
Refactor common code of sleep_on / wait_for_completion
These functions were largely cut'n'pasted. This moves
the common code into single helpers instead. Advantage
is about 1k less code on x86-64 and 91 lines of code removed.
It adds one function call to the non timeout version of
the functions; i don't expect this to be measura...
| Oct 7, 6:22 pm 2007 |
| Andi Kleen | [PATCH] [3/6] scheduler: Do devirtualization for sched_fair
Some CPUs like K8 cannot predict indirect calls. A common
optimization in object oriented languages is to check
for the most common call target and then call it directly;
otherwise do an indirect call. This patch does this manually
for sched_fair calls in sched.c
In theory -- it doesn't seem to happen currently -- this
would allow the compiler to even inline parts of sched_fair.c
into the callers.
I only did it only for fast paths (wake up and schedule) because the
generated code is little ...
| Oct 7, 4:59 pm 2007 |
| Andi Kleen | [PATCH] [1/6] scheduler: Remove some unnecessary gotos in sc...
No need to be more spagetti than absolutely necessary.
Replace loops implemented with gotos with real loops.
Replace err = ...; goto x; x: return err; with return ...;
No functional changes.
Signed-off-by: Andi Kleen <ak@suse.de>
Index: linux-2.6-sched-devel/kernel/sched.c
===================================================================
--- linux-2.6-sched-devel.orig/kernel/sched.c
+++ linux-2.6-sched-devel/kernel/sched.c
@@ -555,16 +555,13 @@ static inline void finish_lock_swit...
| Oct 7, 4:59 pm 2007 |
| Rafael J. Wysocki | Bug #4580: hda: lost interrupt when resuming from S3 - Sony ...
Hi,
IDE/ATA wizzards are kindly requested to have a look at:
http://bugzilla.kernel.org/show_bug.cgi?id=4580#c21
as I have no idea of what we can do about the "hard drive password vs suspend"
problem, if anything.
Greetings,
Rafael
-
| Oct 7, 4:17 pm 2007 |
| Alan Cox | Re: Bug #4580: hda: lost interrupt when resuming from S3 - S...
On Sun, 7 Oct 2007 22:17:06 +0200
libata supports the acpi interfaces but has them off by default. Turn
them on and it ought to just work assuming the BIOS does the right thing
and the BIOS knows the password.
-
| Oct 7, 6:13 pm 2007 |
| Jeff Garzik | Re: Bug #4580: hda: lost interrupt when resuming from S3 - S...
FWIW, ACPI is turned on in libata-dev.git#upstream, and as soon as
Andrew does his next update, it should be turned on there too. (it
might even be in his last -mm update, not sure)
Jeff
-
| Oct 7, 6:20 pm 2007 |
| Pekka J Enberg | Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to userl...
Hi Erez,
[snip]
On 10/7/07, Erez Zadok <ezk@cs.sunysb.edu> wrote:
> Is this a bug indeed, or are user programs supposed to handle
| Oct 7, 3:58 pm 2007 |
| Ryan Finnie | Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to userl...
Doesn't appear to be enough. I can't figure out why (since it appears
write_cache_pages bubbles up directly to sys_msync), but with that
patch applied, in my test case[1], msync returns -1 EIO. However,
with the exact same kernel without that patch applied, msync returns
524288 (AOP_WRITEPAGE_ACTIVATE). But as your patch specifically flips
524288 to 0, I can't figure out how it eventually returns -1 EIO.
Ryan
[1] "apt-get check" on a unionfs2 mount backed by tmpfs over cdrom,
standard live...
| Oct 7, 9:58 pm 2007 |
| Rafael J. Wysocki | 2.6.23-rc9-git5: Known regressions from 2.6.22
This message contains a list of some known regressions from 2.6.22 for which
there are no fixes in the mainline that I know of. If any of them have been fixed
already, please let me know.
If you know of any other unresolved regressions from 2.6.22, please let me know
either and I'll add them to the list.
Subject: zd1211 device is no longer configured
Submitter: Oliver Neukum <oliver@neukum.org>
References: http://marc.info/?l=linux-usb-devel&m=118854967709322&w=2
[ message continues ] " title="http://bugzi...">http://bugzi... | Oct 7, 4:02 pm 2007 |
| Johannes Weiner | [TRIVIAL PATCH] Remove unused variable in drivers/dma/ioatdm...
Hi,
I found this in an `allyesconfig' build:
CC drivers/dma/ioatdma.o
drivers/dma/ioatdma.c: In function #ioat_dma_free_chan_resources#:
drivers/dma/ioatdma.c:247: warning: unused variable #chanctrl#
Hannes
Signed-off-by: Johannes Weiner <hannes-kernel@saeurebad.de>
diff --git a/drivers/dma/ioatdma.c b/drivers/dma/ioatdma.c
index 41b18c5..d9db64b 100644
--- a/drivers/dma/ioatdma.c
+++ b/drivers/dma/ioatdma.c
@@ -244,7 +244,6 @@ static void ioat_dma_free_chan_resources(...
| Oct 7, 3:18 pm 2007 |
| David Miller | Re: [TRIVIAL PATCH] Remove unused variable in drivers/dma/io...
From: Johannes Weiner <hannes-kernel@saeurebad.de>
This exists as a patch in -mm for what seems like months.
I can't believe this one-liner hasn't been merged yet, it's
silly.
I was even chastised at one point for merging it into my net-2.6.24
tree :-)
-
| Oct 7, 5:05 pm 2007 |
| Erez Zadok | msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to userland
According to vfs.txt, ->writepage() may return AOP_WRITEPAGE_ACTIVATE back
to the VFS/VM. Indeed some filesystems such as tmpfs can return
AOP_WRITEPAGE_ACTIVATE; and stackable file systems (e.g., Unionfs) also
return AOP_WRITEPAGE_ACTIVATE if the lower f/s returned it.
Anyway, some Ubuntu users of Unionfs reported that msync(2) sometimes
returns AOP_WRITEPAGE_ACTIVATE (decimal 524288) back to userland.
Therefore, some user programs fail, esp. if they're written such as this:
err = msync...
| Oct 7, 3:20 pm 2007 |
| Andrey Borzenkov | [PATCH] Fix Oops in toshiba_acpi error return path
--Boundary-01=_q7QCH7Yru47PWvM
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
This fixes oops when registering backlight device fails. Attached as I stil=
l=20
cannot convince kmail to not mangle long lines ...
=2Dandrey
--Boundary-01=_q7QCH7Yru47PWvM
Content-Type: text/x-diff;
charset="us-ascii";
name="toshiba_acpi-oops"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
filename="toshiba...
| Oct 7, 12:52 pm 2007 |
| Dmitry Torokhov | Re: [PATCH] Fix Oops in toshiba_acpi error return path
Re: kmail - it usually behaves well with the patches as long as
you turn off word wrapping and use "Insert file..." to insert
them.
--
Dmitry
-
| Oct 7, 2:54 pm 2007 |
| Malte | Strange network related data corruption
--MP_/gbekJIm8bJITx.Ku1==4rPs
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hello,
I am encountering some strange data corruption when transferring
data from one of my PCs that I use as a file-server.
on the server:
FILE=3D<large file>; | cut -d" " -f1 | nc -lp5000 -q0; while nc
-lp5000 -q0 < $FILE; do : ; done
on the client:
H=3D<server>; SUM=3D$(nc -q0 $H 5000);sleep 1s; while nc -q0 $H 5000 |
sha1sum | (gre...
| Oct 7, 12:47 pm 2007 |
| Adrian Bunk | Linux 2.6.16.55-rc1
Security fixes since 2.6.16.54:
- CVE-2005-0504: fix buffer overflow in the moxa driver
- CVE-2007-2453: random fixes
- CVE-2007-3104: store sysfs inode nrs in s_ino to avoid readdir oopses
- CVE-2007-3105: random: fix bound check ordering
- CVE-2007-3848: Reset current->pdeath_signal on SUID binary execution
- CVE-2007-4571: Convert snd-page-alloc proc file to use seq_file
- CVE-2007-4573: x86_64: Zero extend all registers after ptrace in 32bit entry path
Location:
[ message continues ] " title="ftp://ftp.kernel.org/pub/...">ftp://ftp.kernel.org/pub/... | Oct 7, 12:35 pm 2007 |
| Adrian Bunk | Linux 2.6.16.54
Location:
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/
git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.16.y.git
RSS feed of the git tree:
http://www.kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.16.y.git;a=rss
Changes since 2.6.16.53:
Adrian Bunk (2):
Linux 2.6.16.54-rc1
Linux 2.6.16.54
Alexander Shmelev (1):
[SPARC32]: Fix bug in sparc optimized memset.
David S. Miller (1):
[MATH-EMU]: Fix underflow exception reporting.
Ilp...
| Oct 7, 12:31 pm 2007 |
| Dmitry Torokhov | [PATCH for 2.6.23] Driver core: fix regression with SYSFS_DE...
Subject: Driver core: fix SYSF_DEPRECATED breakage for nested classdevs
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
We should only reparent to a class former class devices that
form the base of class hierarchy. Nested devices should still
grow from their real parents.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Tested-by: Andrey Borzenkov <arvidjaar@mail.ru>
Tested-by: Anssi Hannula <anssi.hannula@gmail.com>
---
Linus,
Please consider applying this patch bef...
| Oct 7, 12:22 pm 2007 |
| Jeff Garzik | [NET] IPv6 oops bisected
The commit
commit 5f5dace1ce001b24fb8286e09ffd3c4d2b547e09
Author: Denis V. Lunev <den@openvz.org>
Date: Thu Sep 27 12:41:26 2007 -0700
[NET]: Various dst_ifdown routines to catch refcounting bugs
causes a 100% reproducible oops in net-2.6.24.git, in ip6_route_add().
Platform: x86-64 Fedora 7
Config and lspci attached.
| Oct 7, 8:52 am 2007 |
| Jeff Garzik | Re: [NET] IPv6 oops bisected
And indeed, reverting this commit with 'patch -R' makes things work again.
Jeff
-
| Oct 7, 9:33 am 2007 |
| Denis V. Lunev | Re: [NET] IPv6 oops bisected
Can you me command to execute to reproduce the problem? and oops if
possible.
Regards,
Den
-
| Oct 7, 9:49 am 2007 |
| Jeff Garzik | Re: [NET] IPv6 oops bisected
The command is Fedora 7 initscripts...
(typing in by hand)
/etc/sysconfig/network-scripts/network-functions-ipv6: line 246: 1760 Killed
LC_ALL=C /sbin/ip $options
NULL pointer dereference at 0x000003f8
rtnetlink_rcv_msg
inet6_rtm_newroute
netlink_run_queue
rtnetlink_rcv
netlink_data_ready
netlink_sendskb
netlink_sendmsg
sock_send_msg
mntput_no_expire
autoremove_wake_function
find_lock_page
zone_statistics
get_page_from_freelist
__alloc_pages
move_addr_to_kernel
verify_iovec
...
| Oct 7, 10:56 am 2007 |
| Stefan Richter | [GIT PULL] last minute FireWire update
Linus, please pull from the for-linus branch at
git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6.git for-linus
to receive the following simple but hopefully effective update.
drivers/firewire/Kconfig | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit a1134dd48d59e532b801659163539bf01cae7673
Author: Stefan Richter <stefanr@s5r6.in-berlin.de>
Date: Sun Oct 7 12:31:22 2007 +0200
firewire: point to migration document
Signed-off-b...
| Oct 7, 8:02 am 2007 |
| Jun WANG | Re:Sleeping in RCU list traversal
>}
In Document/RCU/whatisRCU.txt
Note that the value returned by rcu_dereference() is valid
only within the enclosing RCU read-side critical section.
For example, the following is -not- legal:
rcu_read_lock();
p = rcu_dereference(head.next);
rcu_read_unlock();
x = p->address;
rcu_read_lock();
y = p->data;
rcu_read_unlock();
Holding a reference from one RCU read-side critical section
to another is just as illegal as holding a reference from
one lock-based critic...
| Oct 7, 3:11 pm 2007 |
| Tetsuo Handa | Re: Sleeping in RCU list traversal
Hello.
Thank you for pointing out.
Excuse me, but I think "p" is used only between rcu_read_lock() and rcu_read_unlock().
Is it illegal to use "ptr" after rcu_read_unlock() if "ptr" is obtained before rcu_read_unlock() ?
Regards.
-
| Oct 7, 9:26 am 2007 |
| Jun WANG | Re: Sleeping in RCU list traversal
I'm sorry,I think I got your idea, if you do not need ptr in
my_task_that_may_sleep(), why you need to grab a reference to "ptr". If
it is ok to use "ptr" after rcu_read_ulock(). The basic idea behind RCU
is to split updates into "removal" and "reclamation" phases. If you
memory region pointed by "ptr" will not "reclamation" in sleep, it is ok
Regards.
-
| Oct 7, 6:37 pm 2007 |
| Tetsuo Handa | Re: Sleeping in RCU list traversal
Hello.
I need "ptr" in my_task_that_may_sleep(), but regarding my case,
memory region pointed by "ptr" will never be kfree()ed.
So, I don't need to grab a reference to "ptr"
because memory region pointed by "ptr" will never be kfree()ed.
And it is legal to use "ptr" after rcu_read_unlock()
because memory region pointed by "ptr" will never be kfree()ed.
Thank you.
-
| Oct 7, 12:56 pm 2007 |
| Peter Zijlstra | Re: Sleeping in RCU list traversal
Still think that is a very BAD (tm) idea. Esp since with the help of RCU
there is hardly any performance loss of not doing proper deletes.
-
| Oct 7, 2:33 pm 2007 |
| Tetsuo Handa | Re: Sleeping in RCU list traversal
Hello.
Elements I keep in RCU list are policy table for access control
that are referred throughout the lifetime of the kernel.
So, there is hardly any needs to delete these elements.
Honestly speaking, I don't need to use RCU list at all.
Just using a singly linked list that doesn't support deletion is enough.
But James Morris advises me to use the existing API
( http://lkml.org/lkml/2007/10/2/156 http://lkml.org/lkml/2007/10/3/124 ).
Thank you.
-
| Oct 7, 3:56 pm 2007 |
| Stefan Richter | [PATCH] firewire: point to migration document
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
drivers/firewire/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux/drivers/firewire/Kconfig
===================================================================
--- linux.orig/drivers/firewire/Kconfig
+++ linux/drivers/firewire/Kconfig
@@ -11,7 +11,8 @@ config FIREWIRE
This is the "Juju" FireWire stack, a new alternative implementation
designed for robustness and simplicity. You can build e...
| Oct 7, 6:31 am 2007 |
| Geert Uytterhoeven | libertas and endianness
Somehow (haven't found out why it suddenly got compiled, no .config
changes) this showed up in the list of warnings in 2.6.23-rc9 compared
to -rc8 on one of my m68k builds:
| drivers/net/wireless/libertas/cmd.c:189: warning: large integer implicitly truncated to unsigned type
| drivers/net/wireless/libertas/cmd.c:195: warning: large integer implicitly truncated to unsigned type
The offending lines are:
| wep->keytype[i] = cpu_to_le16(cmd_type_wep_40_bit);
| wep->keytype[i] = cpu_to_le16(c...
| Oct 7, 6:15 am 2007 |
| David Miller | OHCI root_port_reset() deadly loop...
When root_port_reset() in ohci-hub.c polls for the end of the reset,
it puts no limit on the loop and will only exit the loop when either
the RH_PS_PRS bit clears or the register returns all 1's (the latter
condition is a recent addition).
If for some reason the bit never clears, we sit here forever and never
exit the loop.
I actually hit this on one of my machines, and I'm trying to track
down what's happening.
Regardless of why my machine is doing this, there absolutely should be
some upp...
| Oct 7, 2:53 am 2007 |
| David Brownell | Re: OHCI root_port_reset() deadly loop...
The all-ones typically indicating something like CardBus eject
Sounds like a hardware issue -- unless something else is trashing
controller state. We've not observed that specific hardware failure
before, for what it's worth.
Is this SPARC, or is ACPI potentially in play? PCI, or non-PCI?
Are the other ports still behaving? Is EHCI maybe trying to switch
ownership of that port? Is maybe the (newish) autosuspend stuff
kicking in?
The OHCI spec requires the controller to stop the reset its...
| Oct 7, 3:31 am 2007 |
| David Miller | Re: OHCI root_port_reset() deadly loop...
From: David Brownell <david-b@pacbell.net>
I'm 700 patches deep with an additionally large backlog of
patches to apply for the networking and sparc64 tree.
I don't have the time, which is why I reported the problem
to the OHCI maintainer instead of letting it slip through
At a minimum you should exit the loop and print out a warning
messages and try to continue even without trying to reset the
whole controller if that will take some developer effort.
Anything is better than just ha...
| Oct 7, 3:51 am 2007 |
| Jeremy Fitzhardinge | lockdep: how to tell it multiple pte locks is OK?
I'm writing some code which is doing some batch processing on pte pages,
and so wants to hold multiple pte locks at once. This seems OK, but
lockdep is giving me the warning:
=============================================
[ INFO: possible recursive locking detected ]
2.6.23-rc9-paravirt #1673
---------------------------------------------
init/1 is trying to acquire lock:
(__pte_lockptr(new)){--..}, at: [<c0102d85>] lock_pte+0x10/0x15
but task is already holding lock:
(__pte_lockptr(new...
| Oct 7, 2:31 am 2007 |
| Arjan van de Ven | Re: lockdep: how to tell it multiple pte locks is OK?
I'm not sure that's a valid assumption in light of things like sharing
pagetables between processes etc etc..
(granted, that one is out of tree right now but I still hope it'll go
in some day:)
-
| Oct 7, 12:58 pm 2007 |
| Jeremy Fitzhardinge | Re: lockdep: how to tell it multiple pte locks is OK?
Well, yes, but that will take some thought about how split pte locks
will work anyway (or more specifically, fork will probably just end
up reusing the pte pages and avoid the need to do any cross-pagetable
pte locking anyway, though I guess that will be deferred to COW
handling).
So are you saying I should pass up the opportunity to optimise a
relatively hot path (fork/exec/exit) because it will need some
further thought if/when shared ptes get implemented? Doesn't seem
like a ...
| Oct 7, 1:17 pm 2007 |
| Arjan van de Ven | Re: lockdep: how to tell it multiple pte locks is OK?
On Sun, 7 Oct 2007 10:17:47 -0700
s/implemented/merged/ :)
IN fact shared pagetables are already there for hugepages.
no I'm not saying that. I'm just saying that I'm worried about the
locking robustness of your trick in general.
-
| Oct 7, 1:46 pm 2007 |
| Peter Zijlstra | Re: lockdep: how to tell it multiple pte locks is OK?
Yeah, the typical way is to use spin_lock_nested(lock, nesting_level),
this allows one to annotate these nestings. However, nesting_level must
not be larger than 8, so if your batch is larger than that, we have a
I'm quite sure copy_pte_range() could be used so that it violates that
order.
-
| Oct 7, 4:29 am 2007 |
| Jeremy Fitzhardinge | Re: lockdep: how to tell it multiple pte locks is OK?
Good point. It's not a problem for me because they're two ptes in
different pagetables, whereas my multiple ptes are always within the
same pagetable. Someone wanting to lock multiple ptes from multiple
pagetables would have a more complex locking order problem.
(Or if we end up sharing ptes between pagetables it might get tricky.)
J
-
| Oct 7, 11:06 am 2007 |
| Valdis.Kletnieks | 2.6.23-rc8-mm[12] - the amazing disappearing MSI IRQ
Dell Latitude D820, T7200 processor, x86_64 kernel. The MSI IRQs for
HDA-Intel evaporate fairly consistently some time after boot. On a few
occasions, the MSI IRQ for the ethernet interface also has dropped.
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752 Gigabit Ethernet PCI Express (rev 02)
A while after boot I have this in /proc/interrupts:
Sat Oct 6 22:25:19 EDT 2007
...
| Oct 7, 12:51 am 2007 |
| previous day | today | next day |
|---|---|---|
| October 6, 2007 | October 7, 2007 | October 8, 2007 |
| Max Krasnyansky | Re: Inquiry: Should we remove "isolcpus= kernel boot option? (may have realtime us... |
| Jeremy Allison | Re: [RFC] Heads up on sys_fallocate() |
| Randy Dunlap | Re: -mm merge plans for 2.6.23 (pcmcia) |
| Damien Wyart | ACPI power off regression in 2.6.23-rc8 (NOT in rc7) |
git: | |
| Josip Rodin | Re: bnx2_poll panicking kernel |
| Linus Torvalds | Re: [GIT]: Networking |
| Denys Fedoryshchenko | thousands of classes, e1000 TX unit hang |
