* Ingo Molnar [EMAIL PROTECTED] wrote:
sorry, i was a bit imprecise here. There is a case where CFS can give
out a 'loan' to tasks. The scheduler tick has a low resolution, so it
is fundamentally inevitable [*] that tasks will run a bit more than
they should, and at a heavy
Il giorno lun, 23/04/2007 alle 14.38 -0400, Gerhard Mack ha scritto:
On Mon, 23 Apr 2007, Roberto De Ioris wrote:
Hi all,
this is a very simple module that allows bind() to tcp/udp port (=1024)
only for the uids defined in a configfs tree.
It is a first version, it only works for
The find_or_create function calls alloc_page with a local gfp mask instead
of using page_cache_alloc. This means that the page allocation will not
obey cpuset memory spreading and page allocation will not properly use the
gfp flags in the address space. Highmem is not set correctly.
It turns out
Suparna Bhattacharya wrote:
Could you send this out as a patch to ext2 codebase, so we can just look
at the changes for chunkfs ? That might also make it small enough
to inline your patch in email for review.
What kind of results are you planning to gather to evaluate/optimize this ?
That's a horrible argument. Please do it properly, and let arch/ppc
die as it should. We shouldn't be adding anything to it anymore
anyway.
I understand your point, but we shouldn't trash existing bits either.
Why not? The things that haven't been ported over yet
obviously are
On Tue, Apr 24, 2007 at 12:46:37AM +0400, Oleg Nesterov wrote:
On 04/23, Rafael J. Wysocki wrote:
On Monday, 23 April 2007 14:35, Gautham R Shenoy wrote:
+ if (!freezer_should_exempt(current)) {
task_lock(k);
+ /* We are freezable, so we must make sure
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6.git/
to receive the following updates:
drivers/pci/probe.c | 45 +
1 files changed, 13 insertions(+), 32 deletions(-)
commit 01abc2aa0f447bce2f6beb06dd0607ba0f01c5bb
On Monday, 23 April 2007 23:16, Gautham R Shenoy wrote:
On Tue, Apr 24, 2007 at 12:46:37AM +0400, Oleg Nesterov wrote:
On 04/23, Rafael J. Wysocki wrote:
On Monday, 23 April 2007 14:35, Gautham R Shenoy wrote:
+ if (!freezer_should_exempt(current)) {
On Mon, 23 Apr 2007 14:11:57 -0700 (PDT)
Christoph Lameter [EMAIL PROTECTED] wrote:
The find_or_create function calls alloc_page with a local gfp mask instead
of using page_cache_alloc. This means that the page allocation will not
obey cpuset memory spreading and page allocation will not
On Mon, 23 Apr 2007, Andrew Morton wrote:
+static inline struct page *page_cache_alloc_mask(struct address_space *x,
+ gfp_t gfp)
+{
+ return __page_cache_alloc(mapping_gfp_mask(x) | gfp);
+}
Usually we use the term mask to imply an AND function, not an OR
The Jem team is pleased to announce the release of Kcli, an in-kernel command
line interface. Kcli is intended for a special class of embedded Linux
applications. The Linux kernel has become the defacto standard OS for embedded
applications. This means that Linux is getting bent in some ways
Hello
I'm testing a web server nginx for films sharing in my LAN. And I've got
some interesting results. When I tried to download film or another big
file via gigabit link, I've got sendfile block with nonblocking
socket. Strace log in attach. Some commens
#enabling nonblock on fd 3
I can't report this problem from a new kernel, but i have the same
problem with the kernel 2.6.20.1-33x from f7-test3.
I managed to boot with these options:
linux noapic acpi=off pci=nomsi irqpoll
Here is my lspci -tv
-[:00]-+-00.0 ATI Technologies Inc Radeon Xpress 200 Host Bridge
This email lists some known regressions in Linus' tree compared to 2.6.20.
If you find your name in the Cc header, you are either submitter of one
of the bugs, maintainer of an affectected subsystem or driver, a patch
of you caused a breakage or I'm considering you in any other way
possibly
This email lists some known regressions in Linus' tree compared to 2.6.20.
If you find your name in the Cc header, you are either submitter of one
of the bugs, maintainer of an affectected subsystem or driver, a patch
of you caused a breakage or I'm considering you in any other way
possibly
This email lists some known regressions in Linus' tree compared to 2.6.20.
If you find your name in the Cc header, you are either submitter of one
of the bugs, maintainer of an affectected subsystem or driver, a patch
of you caused a breakage or I'm considering you in any other way
possibly
2007/4/23, Ingo Molnar [EMAIL PROTECTED]:
p-wait_runtime = 1;
p_to-wait_runtime += p-wait_runtime;
I have no problem with clients giving some credit to X,
I am more concerned with X giving half of its credit to
a single client, a quarter of its credit to another
On Mon, 23 Apr 2007, Jeremy Fitzhardinge wrote:
I got this on resume; it looks like a Bluetooth and/or USB problem.
PM: Removing info for No Bus:hci0
BUG: sleeping function called from invalid context at net/core/sock.c:1523
in_atomic():1, irqs_disabled():0
1 lock held by khubd/180:
#0:
From: voron [EMAIL PROTECTED]
Date: Tue, 24 Apr 2007 00:13:27 +0300
As I see, nonblocking mode is enabled - sendfile sends less than asked.
The socket is marked as non-blocking, but the disk I/O is not.
It's blocking on the disk I/O not the socket part of the operation.
-
To unsubscribe from
Matt Ranon wrote:
The Jem team is pleased to announce the release of Kcli, an in-kernel command line interface. Kcli is intended for a special class of embedded Linux applications. The Linux kernel has become the defacto standard OS for embedded applications. This means that Linux is getting bent
Avishay Traeger wrote:
On Mon, 2007-04-23 at 02:16 +0530, Karuna sagar K wrote:
For some time I had been working on this file system test framework.
Now I have a implementation for the same and below is the explanation.
Any comments are welcome.
snip
You may want to check out the paper
The small attached script does a nice job of showing animation glitches
in the glxgears animation. I have run one set of tests, and will have
several more tomorrow. I'm off to a poker game, and would like to let
people draw their own conclusions.
Based on just this script as load I would say
I am not sure a binary attachment will go thru, I will move to the web
ste if not.
GL2.6.21-rc7-git6-CFSv5_nice0_jump
Description: Binary data
GL2.6.21-rc7-git6-CFSv5_nice0_nojump
Description: Binary data
GL2.6.21-rc7-git6-CFSv5_nice19_nojump
Description: Binary data
On Mon, Apr 23, 2007 at 11:48:47PM +0200, Adrian Bunk wrote:
This email lists some known regressions in Linus' tree compared to 2.6.20.
If you find your name in the Cc header, you are either submitter of one
of the bugs, maintainer of an affectected subsystem or driver, a patch
of you caused
On 04/22, Rafael J. Wysocki wrote:
Move all of the freezer-related flags to a separate field in task_struct and
introduce functions to operate them using set_bit() etc.
[...snip...]
--- linux-2.6.21-rc6-mm1.orig/kernel/fork.c 2007-04-22 19:37:42.0
+0200
+++
Hi,
On Friday 20 April 2007, Sergei Shtylyov wrote:
Hello, I wrote:
Index: b/drivers/ide/pci/hpt366.c
===
--- a/drivers/ide/pci/hpt366.c
+++ b/drivers/ide/pci/hpt366.c
@@ -513,43 +513,31 @@ static int
On Sunday 22 April 2007, Sergei Shtylyov wrote:
Teach the driver's tuneproc() method to do PIO auto-runing properly since it
treated 5 instead of 255 as auto-tune request, and also passed the mode limit
of PIO5 to ide_get_best_pio_mode() despite supporting up to PIO4 only.
While at it, also:
On Sat, 2007-04-21 at 20:07 -0300, Guilherme M. Schroeder wrote:
john stultz wrote:
On 4/19/07, guilherme [EMAIL PROTECTED] wrote:
Hi,
If i enable High Resolution Timer Support, my machine stops here at
boot:
Clocksource tsc unstable (delta = -297340790165 ns)
Time: hpet
On Mon, 23 Apr 2007, Andrew Morton wrote:
There are few calls to page_cache_alloc(). Would it not be simpler to just
add the additional argument to page_cache_alloc() (called extra_gfp,
please) and to update all callers? And to remove page_cache_alloc_cold()
and replace all it callers with
On Tuesday, 24 April 2007 00:23, Oleg Nesterov wrote:
On 04/22, Rafael J. Wysocki wrote:
Move all of the freezer-related flags to a separate field in task_struct and
introduce functions to operate them using set_bit() etc.
[...snip...]
--- linux-2.6.21-rc6-mm1.orig/kernel/fork.c
And the second fix (cleanup patch will follow)
Pagecache: find_or_create_page does not spread memory.
The find_or_create function calls alloc_page with the gfp_mask passed to it
which is derived from the mappings gfp mask. So the allocation flags are right
(assuming my bugfix to fs/buffer.c is
On Mon, 23 Apr 2007 15:33:07 -0700 (PDT)
Christoph Lameter [EMAIL PROTECTED] wrote:
Grow dev page simply passes GFP_NOFS to find_or_create_page. This means the
allocation of radix tree nodes is done with GFP_NOFS and the allocation
of a new page is done using GFP_NOFS as well.
The mapping
On Tue, Apr 24, 2007 at 12:40:17AM +0200, Rafael J. Wysocki wrote:
On Tuesday, 24 April 2007 00:23, Oleg Nesterov wrote:
On 04/22, Rafael J. Wysocki wrote:
Move all of the freezer-related flags to a separate field in task_struct
and
introduce functions to operate them using
* Michael Gerdau [EMAIL PROTECTED] wrote:
i'm pleased to announce release -v4 of the CFS patchset. The patch
against v2.6.21-rc7 can be downloaded from:
http://redhat.com/~mingo/cfs-scheduler/
I can't get 2.6.21-rc7-CFS-v4 to boot. Immediately after selecting
this kernel I see
There are a series of open coded reimplementation of memclear_highpage_flush
all over the page cache code. Call memclear_highpage_flush in those locations.
Consolidates code and eases maintenance.
Signed-off-by: Christoph Lameter [EMAIL PROTECTED]
---
fs/buffer.c | 77
Linus Torvalds wrote:
The perfect situation would be that when somebody goes to sleep, any
extra points it had could be given to whoever it woke up last. Note that
for something like X, it means that the points are 100% ephemeral: it gets
points when a client sends it a request, but it
On Monday 23 April 2007 23:56:38 Jeremy Fitzhardinge wrote:
Hi Andi,
It applies to 2.6.21-rc7 + your patches + the last batch of pv_ops
patches
I got most of those except for the broken sched_clock change.
I posted.
How much testing outside Jeremylabs has it gotten? Some beta
testing
As I see, nonblocking mode is enabled - sendfile sends less than asked.
But 2G via single 30 seconds sendfile call - this is blocking call. How
can I avoid that? I prefer sendfile as fastest way to send file
content to network socket. The problem with sendfile block on
nonblocking
On Mon, 2007-04-23 at 15:30 -0700, john stultz wrote:
On Sat, 2007-04-21 at 20:07 -0300, Guilherme M. Schroeder wrote:
john stultz wrote:
On 4/19/07, guilherme [EMAIL PROTECTED] wrote:
Hi,
If i enable High Resolution Timer Support, my machine stops here at
boot:
On Tuesday, 24 April 2007 00:41, Gautham R Shenoy wrote:
On Tue, Apr 24, 2007 at 12:40:17AM +0200, Rafael J. Wysocki wrote:
On Tuesday, 24 April 2007 00:23, Oleg Nesterov wrote:
On 04/22, Rafael J. Wysocki wrote:
Move all of the freezer-related flags to a separate field in
On 04/24, Rafael J. Wysocki wrote:
Should I clear it in dup_task_struct() or is there a better place?
I personally think we should do this in dup_task_struct(). In fact, I believe
it is better to replace the
*tsk = *orig;
with some helper (like setup_thread_stack() below), and that
On Mon, Apr 23, 2007 at 06:52:16AM -0700, Eric Hopper wrote:
Oh, two things really interest me about Reiser4. First, I despise
having to care about how many tiny files I leave lying around when
writing a program. Berkeley DB and its ilk are evil, evil programs that
obscure data and make
I'm honestly not sure how to try what you suggested to try, since I'm
nothing even remotely close to a kernel geek and it was over my head.
However, I'd gladly test anything that you think would be worth
testing, if you would please put it in way that I could understand,
such as change line 'foo'
On Monday 23 April 2007 23:56:42 Jeremy Fitzhardinge wrote:
The XEN config option enables the Xen paravirt_ops interface, which is
installed when the kernel finds itself running under Xen.
Xen is no longer a sub-architecture, so the X86_XEN subarch config
option has gone.
Xen is currently
On Tuesday, 24 April 2007 00:55, Oleg Nesterov wrote:
On 04/24, Rafael J. Wysocki wrote:
Should I clear it in dup_task_struct() or is there a better place?
I personally think we should do this in dup_task_struct(). In fact, I believe
it is better to replace the
*tsk = *orig;
On Mon, Apr 23, 2007 at 04:55:05PM +0100, Alan Cox wrote:
On Mon, 23 Apr 2007 11:36:30 -0400
Dave Jones [EMAIL PROTECTED] wrote:
If the chip locks up, we get into a long polling loop,
where the softlockup detector kicks in.
See
The XEN config option enables the Xen paravirt_ops interface, which is
installed when the kernel finds itself running under Xen.
Xen is no longer a sub-architecture, so the X86_XEN subarch config
option has gone.
Xen is currently incompatible with PREEMPT, but this is fixed up later
in the
Disable interrupts between allocating a multicall entry and actually
issuing it, to prevent an interrupt from coming in, allocating and
initializing further multicall entries, and then issuing them all,
including the partially completed one.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Implement xen_sched_clock, which returns the number of ns the current
vcpu has been actually in the running state (vs blocked,
runnable-but-not-running, or offline) since boot.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Cc: john stultz [EMAIL PROTECTED]
---
arch/i386/xen/enlighten.c |
Add a new mm function apply_to_page_range() which applies a given
function to every pte in a given virtual address range in a given mm
structure. This is a generic alternative to cut-and-pasting the Linux
idiomatic pagetable walking code in every place that a sequence of
PTEs must be accessed.
Move things around a bit to match xen-unstable netfront.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
---
drivers/net/xen-netfront.c | 36 +---
1 file changed, 17 insertions(+), 19 deletions(-)
Make the appropriate hypercalls to halt and reboot the virtual machine.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
---
arch/i386/xen/enlighten.c | 43 +++
arch/i386/xen/smp.c |4 +---
2 files changed, 44 insertions(+), 3 deletions(-)
The network device frontend driver allows the kernel to access network
devices exported exported by a virtual machine containing a physical
network device driver.
Signed-off-by: Ian Pratt [EMAIL PROTECTED]
Signed-off-by: Christian Limpach [EMAIL PROTECTED]
Signed-off-by: Chris Wright [EMAIL
Xen has a notion of pinned pagetables, which are pagetables that
remain read-only to the guest and are validated by the hypervisor.
This makes context switches much cheaper, because the hypervisor
doesn't need to revalidate the pagetable each time.
This patch adds a PG_pinned flag for pagetable
Andi Kleen wrote:
On Monday 23 April 2007 23:56:38 Jeremy Fitzhardinge wrote:
Hi Andi,
It applies to 2.6.21-rc7 + your patches + the last batch of pv_ops
patches
I got most of those except for the broken sched_clock change.
Er, we had a bit of back-and-forward with that.
Add Xen 'grant table' driver which allows granting of access to
selected local memory pages by other virtual machines and,
symmetrically, the mapping of remote memory pages which other virtual
machines have granted access to.
This driver is a prerequisite for many of the Xen virtual device
The block device frontend driver allows the kernel to access block
devices exported exported by a virtual machine containing a physical
block device driver.
Signed-off-by: Ian Pratt [EMAIL PROTECTED]
Signed-off-by: Christian Limpach [EMAIL PROTECTED]
Signed-off-by: Chris Wright [EMAIL PROTECTED]
This is a fairly straightforward Xen implementation of smp_ops. One
thing this must to is carefully set up all the various sibling and
core maps so that the smp scheduler setup works properly (the setup is
very simple, since vcpus don't have any siblings or multiple cores).
Xen has its own IPI
Netfront's use of nh.raw and h.raw for storing page+offset is a bit
hinky, and it breaks with upcoming network stack updates which reduce
these fields to sub-pointer sizes. Fortunately, skb offers the cb
field specifically for stashing this kind of info, so use it.
Signed-off-by: Jeremy
Andi Kleen wrote:
On Monday 23 April 2007 23:56:42 Jeremy Fitzhardinge wrote:
The XEN config option enables the Xen paravirt_ops interface, which is
installed when the kernel finds itself running under Xen.
Xen is no longer a sub-architecture, so the X86_XEN subarch config
option has
Implement a Xen back-end for hvc console.
From: Gerd Hoffmann [EMAIL PROTECTED]
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
---
arch/i386/xen/Kconfig |1
arch/i386/xen/events.c|3 -
drivers/Makefile |3 +
drivers/xen/Makefile |1
netfront contains two locking problems found by lockdep:
1. rx_lock is a normal spinlock, and tx_lock is an irq spinlock. This
means that in normal use, tx_lock may be taken by an interrupt routine
while rx_lock is held. However, netif_disconnect_backend takes them
in the order
This patch uses the lazy-mmu hooks to batch mmu operations where
possible. This is primarily useful for batching operations applied to
active pagetables, which happens during mprotect, munmap, mremap and
the like (mmap does not do bulk pagetable operations, so it isn't
helped).
Signed-off-by:
Add early printk support via hvc console, enable using
earlyprintk=xen on the kernel command line.
From: Gerd Hoffmann [EMAIL PROTECTED]
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Acked-by: Ingo Molnar [EMAIL PROTECTED]
---
arch/x86_64/kernel/early_printk.c |5 +
Add the nosegneg fake capabilty to the vsyscall page notes. This is
used by the runtime linker to select a glibc version which then
disables negative-offset accesses to the thread-local segment via
%gs. These accesses require emulation in Xen (because segments are
truncated to protect the
1. make sure timer state is set up before bringing up CPU
2. make sure snapshot of 64-bit time values is atomic
Be sure, however, that the clockevent source is registered on its home
CPU.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
---
arch/i386/xen/smp.c |4 +-
Add Xen support for preemption. This is mostly a cleanup of existing
preempt_enable/disable calls, or just comments to explain the current
usage.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
---
arch/i386/xen/Kconfig |2
arch/i386/xen/enlighten.c | 93
Stolen time should never be negative; if it ever is, it probably
indicates some other bug. However, if it does happen, then its better
to just clamp it at zero, rather than trying to account for it as a
huge positive number.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
---
This accounts for the time Xen steals from our VCPUs. This accounting
gets run on each timer interrupt, just as a way to get it run
relatively often, and when interesting things are going on.
Stolen time is not really used by much in the kernel; it is reported
in /proc/stats, and that's about
Hi Andi,
This series of patches implements the Xen paravirt-ops interface.
It applies to 2.6.21-rc7 + your patches + the last batch of pv_ops
patches I posted.
This patch generally restricts itself to Xen-specific parts of the tree,
though it does make a few small changes elsewhere.
These
Allocate/destroy a 'vmalloc' VM area: alloc_vm_area and free_vm_area
The alloc function ensures that page tables are constructed for the
region of kernel virtual address space and mapped into init_mm.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Signed-off-by: Ian Pratt [EMAIL PROTECTED]
On 04/24, Rafael J. Wysocki wrote:
On Tuesday, 24 April 2007 00:55, Oleg Nesterov wrote:
On 04/24, Rafael J. Wysocki wrote:
Should I clear it in dup_task_struct() or is there a better place?
I personally think we should do this in dup_task_struct(). In fact, I
believe
it is
+ * It should contain:
+ * hwcap 0 nosegneg
+ * to match the mapping of bit to name that we give here.
This needs to be hwcap 0 nosegneg to match:
+NOTE_KERNELCAP_BEGIN(1, 2)
+NOTE_KERNELCAP(1, nosegneg)
+NOTE_KERNELCAP_END
The actual bits you are using should be fine. (You're
Peter Zijlstra wrote:
but I have an increasing seek error rate as well. I got the ST disk
because thinkwiki suggested it.
Apparently Seagate has their own definition of seek error rate.
Large numbers are normal, or at least very common.
Now I wonder if they have their own way of doing
On Mon, 23 Apr 2007 14:31:39 -0700 (PDT)
Matt Ranon [EMAIL PROTECTED] wrote:
(text reformatted to less than 80 cols. Please, we'll get along a lot
better if you don't send 1000-column emails)
The Jem team is pleased to announce the release of Kcli, an in-kernel
command line interface. Kcli
Karsten Vieth wrote:
I can't report this problem from a new kernel, but i have the same
problem with the kernel 2.6.20.1-33x from f7-test3.
I managed to boot with these options:
linux noapic acpi=off pci=nomsi irqpoll
Can you narrow down the options?
Hopefully pci=nomsi or similar should do
On Thu, 15 Mar 2007, Roland McGrath wrote:
This patch makes do_wait return -EPERM instead of -ECHILD if some
children were ruled out solely because security_task_wait failed.
What about using the return value from the security_task_wait hook (which
should be -EACCES) ?
- James
--
James
On Monday 23 April 2007 17:57, Bill Davidsen wrote:
I am not sure a binary attachment will go thru, I will move to the web
ste if not.
I did a quick try of this script here.
With SD 0.46 with X at nice 0 I was getting 1-2 frames per second. I decided
to try cfs v5.
The option disable auto
On Monday 23 April 2007 19:45, Ed Tomlinson wrote:
On Monday 23 April 2007 17:57, Bill Davidsen wrote:
I am not sure a binary attachment will go thru, I will move to the web
ste if not.
I did a quick try of this script here.
With SD 0.46 with X at nice 0 I was getting 1-2 frames per
On Mon, 2007-04-23 at 07:52 -0400, Robert P. J. Day wrote:
On Mon, 23 Apr 2007, Rusty Russell wrote:
On Mon, 2007-04-23 at 11:33 +0200, Rene Herman wrote:
On 04/04/2007 06:38 PM, Rene Herman wrote:
Rusty?
Valid points have been made on both sides. I suggest:
#define
Theodore Tso wrote:
One of the big problems of using a filesystem as a DB is the system
call overheads. If you use huge numbers of tiny files, then each
attempt read an atom of information from the DB takes three system
calls --- an open(), read(), and close(), with all of the overheads in
Am 22.04.2007 17:17 schrieb Alan Cox:
Well once it ends up BROKEN perhaps patches will appear, or before
that. If not well the pain factor will resolve the problem.
No risk of deadlock. It'll progress to BROKEN which will either cause
sufficient pain for someone to get off their arse and
Check to see if an ATAPI device supports Asynchronous Notification.
If so, enable it.
Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED]
Index: 2.6-git/drivers/ata/libata-core.c
===
--- 2.6-git.orig/drivers/ata/libata-core.c
Send an uevent to user space to indicate that a media change event has occurred.
Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED]
Index: 2.6-git/block/genhd.c
===
--- 2.6-git.orig/block/genhd.c
+++ 2.6-git/block/genhd.c
@@
This patch series implements Asynchronous Notification (AN) for SATA
ATAPI devices as defined in SATA 2.5 and AHCI 1.1 and higher. Drives
which support this feature will send a notification when new media is
inserted and removed, preventing the need for user space to poll for
new media. This
Get media change notification capability from disk and pass this information
to genhd by setting appropriate flag.
Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED]
Index: 2.6-git/drivers/scsi/sr.c
===
---
If Asynchronous Notification of media change events is supported,
pass that information up to the SCSI layer.
Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED]
Index: 2.6-git/drivers/ata/libata-scsi.c
===
---
Give anyone who has access to scsi_device access to the genhd struct as well.
Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED]
Index: 2.6-git/drivers/scsi/sd.c
===
--- 2.6-git.orig/drivers/scsi/sd.c
+++
When we get an SDB FIS with the 'N' bit set, we should send
an event to user space to indicate that there has been a
media change. This will be done via the block device.
Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED]
Index: 2.6-git/drivers/ata/ahci.c
Allow user space to determine if a disk supports Asynchronous Notification
of media changes. This is done by adding a new sysfs file capability_flags,
which is documented in (insert file name). This sysfs file will export all
disk capabilities flags to user space. We also define a new flag to
On Monday April 23, [EMAIL PROTECTED] wrote:
Theodore Tso wrote:
One of the big problems of using a filesystem as a DB is the system
call overheads. If you use huge numbers of tiny files, then each
attempt read an atom of information from the DB takes three system
calls --- an open(),
On Mon, Apr 23, 2007 at 04:53:03PM -0700, H. Peter Anvin wrote:
Theodore Tso wrote:
One of the big problems of using a filesystem as a DB is the system
call overheads. If you use huge numbers of tiny files, then each
attempt read an atom of information from the DB takes three system
calls
Neil Brown wrote:
Our you could think outside the circle:
Store all your small files as symlinks, then use symlink to create
them and readlink to read them. (You would probably end up use
symlinkat and readlinkat).
Only one system call instead of three.
I guess you don't get meaningful
On Mon, 23 Apr 2007 19:32:46 +0100
[EMAIL PROTECTED] (Mel Gorman) wrote:
I wasn't even aware of this kernelcore thing. It's pretty nasty-looking.
yet another reminder that this code hasn't been properly reviewed in the
past year or three.
Just now, I'm making memory-unplug patches
On Thu, 15 Mar 2007, Roland McGrath wrote:
This patch makes do_wait return -EPERM instead of -ECHILD if some
children were ruled out solely because security_task_wait failed.
What about using the return value from the security_task_wait hook (which
should be -EACCES) ?
As I said in
Theodore Tso wrote:
Now, to be fair, there are probably a number of cases where
open/lseek/readv/close and open/lseek/writev/close would be worth doing
as a single system call. The big problem as far as I can see involves
EINTR handling; such a system call has serious restartability
On Monday April 23, [EMAIL PROTECTED] wrote:
Would this work? Contains a solution somewhat along the lines of your
thoughts on the subject.
Concept seems sound.
Code needs a kfree of the name returned by create_unique_id, and I
think ID_STR_LENGTH needs to be at least 34.
Maybe that should
On Mon, 23 Apr 2007, Roland McGrath wrote:
As I said in some earlier discussion following my original patch, that
would be fine with me. I haven't coded up that variant, but it's simple
enough. Would you like to do it?
Sure.
--
James Morris
[EMAIL PROTECTED]
-
To unsubscribe from this
On Tue, 24 Apr 2007, Neil Brown wrote:
On Monday April 23, [EMAIL PROTECTED] wrote:
Would this work? Contains a solution somewhat along the lines of your
thoughts on the subject.
Concept seems sound.
Code needs a kfree of the name returned by create_unique_id, and I
think
On Monday April 23, [EMAIL PROTECTED] wrote:
On Tue, 24 Apr 2007, Neil Brown wrote:
On Monday April 23, [EMAIL PROTECTED] wrote:
Would this work? Contains a solution somewhat along the lines of your
thoughts on the subject.
Concept seems sound.
Code needs a kfree of the name
701 - 800 of 881 matches
Mail list logo