Ananiev, Leonid I would like to recall the message, [PATCH] aio: fix kernel
bug when page is temporally busy.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Ananiev, Leonid I would like to recall the message, [PATCH] aio: fix kernel
bug when page is temporally busy.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Andrew,
You wrote on Friday, February 09, 2007 8:53 AM
invalidate_inode_pages2() has other callers. I suspect with this
change
we'll end up leaking EIOCBRETRY back to userspace.
The path is modified so that invalidate_inode_pages2() returns EIO as
earlier.
could you consider modified patch
The
Hi,
Here's my attempt to document the requirements with respect to the basic PM
support in drivers and the testing of that. Comments welcome.
Greetings,
Rafael
---
Documentation/SubmittingDrivers | 10 ++
Documentation/power/drivers-testing.txt | 119
Martin A. Fink wrote:
I have to store big amounts of data coming from 2 digital cameras to disk.
Thus I have to write blocks of around 1 MB at 30 to 50 frames per second for
a long period of time. So it is important for me that the harddisk drive is
reliable in the sense of if it is capable
This changes VMSPLIT_2G to really mean 2G, adding VMSPLIT_2G_OPT for the
1920/2176 split. It also prevents either _OPT setting being used when PAE is
enabled (http://lkml.org/lkml/2006/12/1/44 - there doesn't appear to be any
patches/commits which allow non-1GB boundary VMSPLIT with PAE yet).
following are 9 patches from Bruce Fields for the NFSv4 server,
mostly ACL related.
Suitable for 2.6.21.
Thanks,
NeilBrown
[PATCH 001 of 9] knfsd: nfsd4: fix non-terminated string
[PATCH 002 of 9] knfsd: nfsd4: relax checking of ACL inheritance bits
[PATCH 003 of 9] knfsd: nfsd4: simplify
From: J. Bruce Fields [EMAIL PROTECTED]
The server name is expected to be a null-terminated string, so we can't
pass in the raw client identifier.
What's more, the client identifier is just a binary, not necessarily
printable, blob. Let's just use the ip address instead. The server
name
From: J. Bruce Fields [EMAIL PROTECTED]
The rfc allows us to be more permissive about the ACL inheritance bits we
accept:
If the server supports a single inherit ACE flag that applies to
both files and directories, the server may reject the request
(i.e., requiring the
From: J. Bruce Fields [EMAIL PROTECTED]
The wrong pointer is being kfree'd in savemem() when defer_free
returns with an error.
Signed-off-by: Benny Halevy [EMAIL PROTECTED]
Signed-off-by: J. Bruce Fields [EMAIL PROTECTED]
Signed-off-by: Neil Brown [EMAIL PROTECTED]
### Diffstat output
From: J. Bruce Fields [EMAIL PROTECTED]
Simplify the memory management and code a bit by representing acls with an
array instead of a linked list.
Signed-off-by: J. Bruce Fields [EMAIL PROTECTED]
Signed-off-by: Neil Brown [EMAIL PROTECTED]
### Diffstat output
./fs/nfsd/nfs4acl.c| 153
From: J. Bruce Fields [EMAIL PROTECTED]
We should be returning ATTRNOTSUPP, not NOTSUPP, when acls are unsupported.
Also fix a comment.
Signed-off-by: J. Bruce Fields [EMAIL PROTECTED]
Signed-off-by: Neil Brown [EMAIL PROTECTED]
### Diffstat output
./fs/nfsd/nfs4xdr.c |2 +-
From: J. Bruce Fields [EMAIL PROTECTED]
The code that splits an incoming nfsv4 ACL into inheritable and effective parts
can be combined with the the code that translates each to a posix acl,
resulting in simpler code that requires one less pass through the ACL.
Signed-off-by: J. Bruce Fields
From: J. Bruce Fields [EMAIL PROTECTED]
When setting an ACL that lacks inheritable ACEs on a directory, we
should set a default ACL of zero length, not a default ACL with all bits
denied.
Signed-off-by: J. Bruce Fields [EMAIL PROTECTED]
Signed-off-by: Neil Brown [EMAIL PROTECTED]
### Diffstat
From: J. Bruce Fields [EMAIL PROTECTED]
Return just the effective permissions, and forget about the mask. It isn't
worth the complexity.
WARNING: This breaks backwards compatibility with overly-picky nfsv4-posix acl
translation, as may has been included in some patched versions of libacl. To
From: J. Bruce Fields [EMAIL PROTECTED]
We're inserting deny's between some ACEs in order to enforce posix draft
acl semantics which prevent permissions from accumulating across entries
in an acl.
That's fine, but we're doing that by inserting a deny after *every* allow,
which is overkill. We
On 12/02/07 20:16, Dave Jones wrote:
On Mon, Feb 12, 2007 at 02:14:41PM -0500, Kyle McMartin wrote:
On Mon, Feb 12, 2007 at 06:37:38PM +0100, Mark de Vries wrote:
I've been googeling for about an hour now and can't find an answer to:
What type of CPU should I select when compiling a
Now that most of the sizeof(array)/sizeof(array[0])
conversions have been done (there are about 800 done
and about another 130 left), perhaps it could be
useful to change the code to use a define similar
to the list_for_each
#define list_for_each(pos, head) \
for (pos = (head)-next;
Hi.
On Tue, 2007-02-13 at 00:23 +0100, Rafael J. Wysocki wrote:
Hi,
Here's my attempt to document the requirements with respect to the basic PM
support in drivers and the testing of that. Comments welcome.
Greetings,
Rafael
---
Documentation/SubmittingDrivers | 10 ++
On Mon, Feb 12, 2007 at 11:46:46PM +, Simon Arlott wrote:
MVIAC3_2 doesn't enable X86_GOOD_APIC
which is pretty irrelevant unless you have a dual C7.
, try M686 (Pentium-Pro) - but that won't enable MMX and SSE (via
-march=c3-2).
If gcc generated SSE/MMX instructions that would be a
On Tue, 30 Jan 2007, Martin MOKREJ wrote:
Hi,
is this a known issue? Should I bother to upgrade to 2.6.19.2 if it
contains the fix?
Thank you any help. It might be related to NFS. The machine in question is
NFSv3 client,
udp. And used for computations. The process which died is from
The VIA C7 is a 686 (with TSC) that supports MMX, SSE and SSE2, it also has a
cache line length of 64 according to
http://www.digit-life.com/articles2/cpu/rmma-via-c7.html. This patch sets gcc
to -march=686 and selects the correct cache shift.
Signed-off-by: Simon Arlott [EMAIL PROTECTED]
---
On Mon, Feb 12, 2007 at 11:36:23PM +0100, Andi Kleen wrote:
True, that seems to be missing.
I agree that the patch seems to consist mostly of renaming doesn't make
it any easier to read.
And it's worrying that it doesn't handle the hotplug case at all.
This patch is mostly a cleanup patch
Joe Perches wrote:
Now that most of the sizeof(array)/sizeof(array[0])
conversions have been done (there are about 800 done
and about another 130 left), perhaps it could be
useful to change the code to use a define similar
to the list_for_each
#define list_for_each(pos, head) \
for (pos
On Mon, Feb 12, 2007 at 02:53:29PM -0800, Linus Torvalds wrote:
Hallo.
On Mon, 12 Feb 2007, Tony Luck wrote:
Git bisect fingers this patch (which is in Linus' tree as commit
76c329563c5b8663ef27eb1bd195885ab826cbd0) as the culprit
for double adding the contents of the localversion
On Mon, Feb 12, 2007 at 04:10:44PM -0700, Eric W. Biederman wrote:
Basically as I commented in genapic_flat, that at least on hyperthreading
cpus the destination mask is not always honored, and so if you only
allow one hyperthread I have seen the irq show up on the other hyperthread.
Which
oops. CONFIG_SWAP=n, I assume?
Yes, sorry. Full config attached.
metooSame breakage on make allnoconfig for ia64/metoo
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
Hi,
Until recently I was using the 2.6.18 kernel. I have a SATA hard drive
that was detected by the kernel, using the PIIX driver. But after
updating to 2.6.20, the hard drive is no longer detected by the kernel.
I used make oldconfig to create the 2.6.20 config file, and I noticed a
new option
The VIA C7 is a 686 (with TSC) that supports MMX, SSE and SSE2, it also has a
cache line length of 64 according to
http://www.digit-life.com/articles2/cpu/rmma-via-c7.html. This patch sets gcc
to -march=686 and selects the correct cache shift.
This version adds it to include/asm-i386/module.h
On Fri, 2 Feb 2007, Andi Kleen wrote:
I've threatened to just disable RDTSC for ring 3 before, but it'll likely
never happen because too many programs use it.
Those programs are aware that they are fiddling around with low level
material but with this patchset we are going to have a non
On Mon, 12 Feb 2007 17:30:38 -0700 Joseph Cosby wrote:
Hi,
Until recently I was using the 2.6.18 kernel. I have a SATA hard drive
that was detected by the kernel, using the PIIX driver. But after
updating to 2.6.20, the hard drive is no longer detected by the kernel.
I used make oldconfig to
Joseph Cosby wrote:
Hi,
Until recently I was using the 2.6.18 kernel. I have a SATA hard drive
that was detected by the kernel, using the PIIX driver. But after
updating to 2.6.20, the hard drive is no longer detected by the kernel.
I used make oldconfig to create the 2.6.20 config file, and I
--- Pierre Ossman [EMAIL PROTECTED] wrote:
Alex Dubov wrote:
I removed that line altogether (it does not really needed as mmc host will
not be accessed
anymore). The problem is more elaborate. Here, the card fails,
mmc_host_remove is called
without
sleep beforehand, and after
On Tue, 2007-02-13 at 11:20 +1100, Ben Nizette wrote:
#define array_for_each(element, array) \
for (int __idx = 0; __idx ARRAY_SIZE((array)); \
__idx++, (element) = (array[__idx]))
This requires all interior loop code be changed.
-
To unsubscribe from this list: send
This patch is meant to remove the calls to check_region, a now
deprecated function in order to get rid of compilation warning. This
was done by finding all calls to check_region and replacing them with
calls to request_region. check_region essentially was a wrapper around
request_region, and was
On Mon, Feb 12, 2007 at 04:27:04PM -0800, Michael Clay wrote:
This patch is meant to remove the calls to check_region, a now
deprecated function in order to get rid of compilation warning. This
was done by finding all calls to check_region and replacing them with
calls to request_region.
2.6.20-git8 fails compile:
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
net/built-in.o: In function `svc_udp_recvfrom':
svcsock.c:(.text+0x61be4): undefined reference to `__ipv6_addr_type'
make: ***
On Mon, Feb 12, 2007 at 10:39:25AM -0800, Venkatesh Pallipadi wrote:
Introducing 'cpuidle', a new CPU power management infrastructure to manage
idle CPUs in a clean and efficient manner.
cpuidle separates out the drivers that can provide support for multiple types
of idle states and
Joseph Cosby wrote:
Thanks.
Now having enabled the new ATA config options, the vendor-id shows up in
my modules pci list. But the hard drive still isn't detected by the kernel.
Is there more that needs to be enabled for this to work?
Please be more explicit about which options you enabled.
2007/2/12, Jiri Slaby [EMAIL PROTECTED]:
Config seems to be fine. Please post
lspci -vvvxx
Attached.
and lines from your boot loader.
title Fedora Core (2.6.20)
root (hd0,1)
kernel /vmlinuz-2.6.20 ro root=LABEL=/ vga=0x31B
initrd /initrd-2.6.20.img
And I have the
Andrew Morton wrote:
That's a bit surprising - the initcall levels don't affect modules.
Presumably something went wrong in core kernel which later caused yenta
and/or 8139too to fail.
Have you tried diffing the before- and after-dmesgs to see if that particular
commit has caused any
Andrew Morton wrote:
On Mon, 12 Feb 2007 14:50:40 -0800 Randy Dunlap [EMAIL PROTECTED] wrote:
2.6.20-git8 on x86_64:
LD init/built-in.o
LD .tmp_vmlinux1
mm/built-in.o: In function `sys_mincore':
(.text+0xe584): undefined reference to `swapper_space'
make: *** [.tmp_vmlinux1] Error
On Mon, Feb 12, 2007 at 07:22:09AM +0100, Jens Axboe wrote:
On Sun, Feb 11 2007, Paul E. McKenney wrote:
This patch optimizes the quick RCU update-side fastpath, so that in the
absence of readers, synchronize_qrcu() does four non-atomic comparisons
and three memory barriers, eliminating the
I have the same problem with 2.6.20.
My host is dell PE850: pemtiumD 2.8G X1, MEM 1G X4, SATA 73G X1.
albcamus wrote:
2007/2/9, Jiri Slaby [EMAIL PROTECTED]:
Reg Clemens napsal(a):
Why can't I build a running Kernel?
I have in the past, but since some time in the 2.6.19 series,
I have
Am 12.02.2007 19:47 schrieb Greg KH:
+static void gigaset_device_release(struct device *dev)
+{
+ //FIXME anything to do? cf. platform_device_release()
+}
The memory of the platform device itself needs to be freed here,
otherwise, to do it earlier would cause race conditions and oopses.
I
On Sat, 10 Feb 2007 12:27:42 -0600 James Bottomley [EMAIL PROTECTED] wrote:
When discussion about TRUE and FALSE came up a long time a go in the
context of the mid layer we agreed to strip the defined constants out of
that code and just go with 1 and 0 inline ... because the code was
pretty
from Damian Minkov
Fix audio input source for capturing(playing) audio on AverTv Go 007 cards.
Signed-off-by: Damian Minkov [EMAIL PROTECTED]
---
diff -upr a/linux/drivers/media/video/saa7134/saa7134-cards.c
b/linux/drivers/media/video/saa7134/saa7134-cards.c
---
On Mon, 2007-02-12 at 14:57 +0100, Olivier Galibert wrote:
On Mon, Feb 12, 2007 at 03:43:14PM +0900, Ian Kent wrote:
On Thu, 2007-02-08 at 11:33 +0900, Ian Kent wrote:
On Wed, 2007-02-07 at 19:18 +0100, Olivier Galibert wrote:
On Thu, Feb 08, 2007 at 03:07:41AM +0900, Ian Kent wrote:
On Mon, 12 Feb 2007, David Miller wrote:
Thus, below is the patch I will use to fix this bug:
1) Calling xfrm_audit_log() with a NULL object is a BUG()
2) Setting result based upon NULL'ness of the object makes no
sense, either set it to 1 in these cases or use an appropriate
error
On Mon, Feb 05, 2007 at 05:23:36PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED])
wrote:
On Thu, Feb 01, 2007 at 01:12:30PM +0300, Evgeniy Polyakov ([EMAIL
PROTECTED]) wrote:
Generic event handling mechanism.
Kevent is a generic subsytem which allows to handle event notifications.
It
Pipe notifications.
diff --git a/fs/pipe.c b/fs/pipe.c
index 68090e8..0c75bf1 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -16,6 +16,7 @@
#include linux/uio.h
#include linux/highmem.h
#include linux/pagemap.h
+#include linux/kevent.h
#include asm/uaccess.h
#include asm/ioctls.h
@@ -313,6
Description.
diff --git a/Documentation/kevent.txt b/Documentation/kevent.txt
new file mode 100644
index 000..d6e126f
--- /dev/null
+++ b/Documentation/kevent.txt
@@ -0,0 +1,271 @@
+Description.
+
+int kevent_init(struct kevent_ring *ring, unsigned int ring_size,
+ unsigned int
poll/select() notifications.
This patch includes generic poll/select notifications.
kevent_poll works simialr to epoll and has the same issues (callback
is invoked not from internal state machine of the caller, but through
process awake, a lot of allocations and so on).
Signed-off-by: Evgeniy
Signal notifications.
This type of notifications allows to deliver signals through kevent queue.
One can find example application signal.c on project homepage.
If KEVENT_SIGNAL_NOMASK bit is set in raw_u64 id then signal will be
delivered only through queue, otherwise both delivery types are
Kevent based generic AIO.
This patch only implements network AIO, which is _COMPLETELY_
impossible and broken in _ANY_ micro-thread design. For details
and test consider following link:
http://tservice.net.ru/~s0mbre/blog/2007/02/10#2007_02_10
Designing AIO without network in mind can only be
Private userspace notifications.
Allows to register notifications of any private userspace
events over kevent. Events can be marked as ready using
kevent_ctl(KEVENT_READY) command.
Signed-off-by: Evgeniy Polyakov [EMAIL PROTECTED]
diff --git a/kernel/kevent/kevent_unotify.c
Kevent posix timer notifications.
Simple extension to POSIX timers which allows
to deliver notification of the timer expiration
through kevent queue.
Example application posix_timer.c can be found
in archive on project homepage.
Signed-off-by: Evgeniy Polyakov [EMAIL PROTECTED]
diff --git
Socket notifications.
This patch includes socket send/recv/accept notifications.
Signed-off-by: Evgeniy Polyakov [EMAIL PROTECTED]
diff --git a/fs/inode.c b/fs/inode.c
index bf21dc6..82817b1 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -21,6 +21,7 @@
#include linux/cdev.h
#include
Timer notifications.
Timer notifications can be used for fine grained per-process time
management, since interval timers are very inconvenient to use,
and they are limited.
This subsystem uses high-resolution timers.
id.raw[0] is used as number of seconds
id.raw[1] is used as number of
Evgeniy Polyakov [EMAIL PROTECTED] writes:
aio_sendfile_path() is essentially aio_sendfile(), except that it takes
source filename as parameter, has a pointer to private header
and its size (which allows to send header and file's content in one syscall
instead of three (open, send, sendfile)
On Mon, Feb 12, 2007 at 02:08:10PM +0100, Andi Kleen ([EMAIL PROTECTED]) wrote:
Evgeniy Polyakov [EMAIL PROTECTED] writes:
aio_sendfile_path() is essentially aio_sendfile(), except that it takes
source filename as parameter, has a pointer to private header
and its size (which allows to
I'm sure others would want them then for their favourite system call combo
too. If they were really useful it might make more sense to have a batch()
system call that works for arbitary calls, but I'm not convinced yet
it's even needed. It would be certainly ugly.
batch() would possibly make
On Mon, Feb 12, 2007 at 01:12:57PM +, Alan ([EMAIL PROTECTED]) wrote:
I'm sure others would want them then for their favourite system call combo
too. If they were really useful it might make more sense to have a batch()
system call that works for arbitary calls, but I'm not convinced
Evgeniy Polyakov wrote:
I think that mean that everybody is happy with APi, design and set of
features.
No comment means that I still have not been able to test anything since
regardless of what version I tried, it failed to build.
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧
Hesse, Christian wrote:
On Saturday 10 February 2007 14:23, Hesse, Christian wrote:
On Friday 09 February 2007 22:12, James Ketrenos wrote:
We are pleased to announce the availability of a new driver for the
Intel PRO/Wireless 3945ABG Network Connection adapter.
Wow, great news
On Mon, 12 Feb 2007 13:35:10 +0300 Evgeniy Polyakov [EMAIL PROTECTED] wrote:
Andrew, do you consider kevent for inclusion or declining?
I haven't had time to think about it in the past month or two, sorry.
However we might as well get it back in there for review-and-test - please
send a new
Hesse, Christian wrote:
On Saturday 10 February 2007 14:23, Hesse, Christian wrote:
On Friday 09 February 2007 22:12, James Ketrenos wrote:
We are pleased to announce the availability of a new driver for the
Intel PRO/Wireless 3945ABG Network Connection adapter.
...
Oh, I forgot one note:
I have created a list for discussing issues and announcing test versions
of the skge and sky2 drivers. There are many people with problems and
several vendors are using the hardware as well, therefore I want to be
able to make sure everyone can see the information without having to
be distracted
On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [EMAIL PROTECTED]
wrote:
2.6.20-git8 fails compile:
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
net/built-in.o: In function
In article [EMAIL PROTECTED] (at Mon, 12 Feb 2007 18:12:16 -0800), Andrew
Morton [EMAIL PROTECTED] says:
On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [EMAIL PROTECTED]
wrote:
2.6.20-git8 fails compile:
CHK include/linux/compile.h
UPD include/linux/compile.h
Quoting YOSHIFUJIHideaki/=?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?=
In article [EMAIL PROTECTED] (at Mon, 12 Feb 2007 18:12:16 -0800), Andrew
Morton [EMAIL PROTECTED] says:
On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [EMAIL
PROTECTED] wrote:
2.6.20-git8 fails compile:
On Monday February 12, [EMAIL PROTECTED] wrote:
Quoting YOSHIFUJIHideaki/=?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?=
In article [EMAIL PROTECTED] (at Mon, 12 Feb 2007 18:12:16 -0800),
Andrew Morton [EMAIL PROTECTED] says:
On Mon, 12 Feb 2007 20:10:13 -0500 (EST) Pete Clements [EMAIL
In article [EMAIL PROTECTED] (at Mon, 12 Feb 2007 21:35:59 -0500 (EST)), Pete
Clements [EMAIL PROTECTED] says:
Quoting YOSHIFUJIHideaki/=?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?=
In article [EMAIL PROTECTED] (at Mon, 12 Feb 2007 18:12:16 -0800),
Andrew Morton [EMAIL PROTECTED] says:
We're aware of two regressions compared to mainline if ptrace is utrace:
Thanks very much for bringing these to my attention.
1) zero holes for PTRACE_PEEKUSR vanished.
I've fixed this in the current patches.
2. The following proggie renders box unusable in ~10 seconds (but not
mainline
Patched, compiles.
--
Pete Clements
Quoting YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?=
Ah, this is because of new ipv6 support in sunrpc code.
Enable it if it is statically compiled.
Alternatively, we could
- export __ipv6_addr_type in new
On 2/12/07, Sam Vilain [EMAIL PROTECTED] wrote:
I know I'm a bit out of touch, but AIUI the NSProxy *is* the container.
We decided a long time ago that a container was basically just a set of
namespaces, which includes all of the subsystems you mention.
You may have done that, but the
On 2/12/07, Serge E. Hallyn [EMAIL PROTECTED] wrote:
Well it's an unfortunate conflict, but I don't see where we have any
standing to make Paul change his terminology :)
I have no huge problem with changing my terminology in the interest of
wider adoption. Container seems like an appropriate
Paul Menage wrote:
I know I'm a bit out of touch, but AIUI the NSProxy *is* the container.
We decided a long time ago that a container was basically just a set of
namespaces, which includes all of the subsystems you mention.
You may have done that, but the CKRM/ResGroups independently
On 2/12/07, Sam Vilain [EMAIL PROTECTED] wrote:
Ask yourself this - what do you need the container structure for so
badly, that virtualising the individual resources does not provide for?
Primarily, that otherwise every module that wants to affect/monitor
behaviour of a group of associated
Paul Menage wrote:
Ask yourself this - what do you need the container structure for so
badly, that virtualising the individual resources does not provide for?
Primarily, that otherwise every module that wants to affect/monitor
behaviour of a group of associated processes has to implement
On 2/12/07, Sam Vilain [EMAIL PROTECTED] wrote:
Not every module, you just make them on sensible, planned groupings.
The danger is that the container group becomes a fallback grouping for
things when people can't be bothered thinking about it properly, and
everything including the kitchen sink
On Mon, Feb 12, 2007 at 12:15:22AM -0800, [EMAIL PROTECTED] wrote:
+void container_fork(struct task_struct *child)
+{
+ task_lock(current);
Can't this be just rcu_read_lock()?
+ child-container = current-container;
+ atomic_inc(child-container-count);
+
On Mon, Feb 12, 2007 at 12:15:24AM -0800, [EMAIL PROTECTED] wrote:
+/*
+ * Call css_get() to hold a reference on the container; following a
+ * return of 0, this container subsystem state object is guaranteed
+ * not to be destroyed until css_put() is called on it. A non-zero
+ * return code
On Mon, Feb 12, 2007 at 12:15:27AM -0800, [EMAIL PROTECTED] wrote:
This patch implements the BeanCounter resource control abstraction
over generic process containers.
Forgive my confusion, but do we really need two-levels of resource control
abstraction here? Why can't resource controllers
On 2/12/07, Srivatsa Vaddagiri [EMAIL PROTECTED] wrote:
On Mon, Feb 12, 2007 at 12:15:24AM -0800, [EMAIL PROTECTED] wrote:
+/*
+ * Call css_get() to hold a reference on the container; following a
+ * return of 0, this container subsystem state object is guaranteed
+ * not to be destroyed
On 2/12/07, Srivatsa Vaddagiri [EMAIL PROTECTED] wrote:
On Mon, Feb 12, 2007 at 12:15:27AM -0800, [EMAIL PROTECTED] wrote:
This patch implements the BeanCounter resource control abstraction
over generic process containers.
Forgive my confusion, but do we really need two-levels of resource
On 2/12/07, Srivatsa Vaddagiri [EMAIL PROTECTED] wrote:
On Mon, Feb 12, 2007 at 12:15:22AM -0800, [EMAIL PROTECTED] wrote:
+void container_fork(struct task_struct *child)
+{
+ task_lock(current);
Can't this be just rcu_read_lock()?
In this particular patch (which is an almost verbatim
On 2/12/07, Paul Menage [EMAIL PROTECTED] wrote:
reaches zero. RCU is still fine for reading the container_group
pointers, but it's no good for updating them, since by the time you
update it it may no longer be your container_group structure, and may
instead be about to be deleted as soon as the
Joe Perches wrote:
On Tue, 2007-02-13 at 11:20 +1100, Ben Nizette wrote:
#define array_for_each(element, array) \
for (int __idx = 0; __idx ARRAY_SIZE((array)); \
__idx++, (element) = (array[__idx]))
This requires all interior loop code be changed.
Ben is right
In addition
This problem is not appear on another PC host with the same
hardware(CPU,HD) except MEM is 2G.
OS is origin RHEL4 without updates.
Tony.Ho wrote:
I have the same problem with 2.6.20.
My host is dell PE850: pemtiumD 2.8G X1, MEM 1G X4, SATA 73G X1.
albcamus wrote:
From: Pete Clements [EMAIL PROTECTED]
Date: Mon, 12 Feb 2007 20:10:13 -0500 (EST)
2.6.20-git8 fails compile:
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
net/built-in.o: In function
[]
The old code did the same thing, but with the make $(sort ..) function,
which apparently removes duplicates. We should use sort -u here.
Heh. Why one ever going to bloat $(srctree) to add more dontdiff and
such, where build is supporting dirty output?
I mean, all by-hand modifications
On Fri, 09 Feb 2007 14:53:37 -0800 Dave Hansen [EMAIL PROTECTED] wrote:
diff -puN fs/file_table.c~14-24-tricky-elevate-write-count-files-are-open-ed
fs/file_table.c
--- lxc/fs/file_table.c~14-24-tricky-elevate-write-count-files-are-open-ed
2007-02-09 14:26:54.0 -0800
+++
On Sat, 10 Feb 2007 20:51:23 +0100 Miguel Ojeda [EMAIL PROTECTED] wrote:
Andrew, Daniel who reported the crash has tested this patch and says that it
works fine avoiding it, so you can merge.
drivers-add-lcd-support-fix-crash-when-built-in-and-no-parport-present.patch
Signed-off-by: Miguel
Sascha Sommer wrote:
I still consider this driver experimental, but without documentation this is
probably not going to change anytime soon.
The question is now what I should do with the driver?
Is it worth to be included in the kernel? If yes where and against what
kernelversion should I
You can apply my previous patch on 2.6.20 by changing
-#define VM_PURE_PRIVATE0x0400 /* Is the vma is only belonging
to a mm,
to
+#define VM_PURE_PRIVATE0x0800 /* Is the vma is only belonging
to a mm,
New revision is based on 2.6.20 with my previous patch,
On Sat, Feb 10, 2007 at 11:44:55PM +0100, Martin Schwidefsky wrote:
On Sat, 2007-02-10 at 03:31 +0100, Nick Piggin wrote:
SetNewPageUptodate does not do the S390 page_test_and_clear_dirty, so
I'd like to make sure that's OK.
An I/O operation on s390 will set the dirty bit for a page. That
On Monday 12 February 2007 13:45, Ismail Dönmez wrote:
Hi all,
After latest ACPI merge /proc/acpi/ac_adapter/AC has gone fishing :
[~] ls -al /proc/acpi/ac_adapter/
dr-xr-xr-x 2 root root 0 Şub 12 20:44 ADP1
[~] ls -al /proc/acpi/ac_adapter/ADP1
-r--r--r-- 1 root root 0 Şub 12 20:44
Another nfsd patch for 2.6.21...
### Comments for Changeset
When NFSD receives a write request, the data is typically in a number
of 1448 byte segments and writev is used to collect them together.
Unfortunately, generic_file_buffered_write passes these to the filesystem
one at a time, so an
Hi,
Just tinkering around with this and got something working, so I'll see
if anyone else wants to try it.
Not proposing for inclusion, but I'd be interested in comments or results.
Thanks,
Nick
--
Page-based NUMA pagecache replication.
This is a scheme for page replication replicates
701 - 800 of 840 matches
Mail list logo