linux-kernel mailing list

FromSubjectsort iconDate
Hasan Rashid
Write to MFGPT_NR_MSR causes immediate hard reset
Hi, I back ported the CS5536 MFGPT based watchdog timer from Kernel 2.6 to Kernel 2.4 (I have to). I am using the Alix2c0 board with TinyBios v0.99. I have been following the discussion on this thread “Re: 2.6.24-rc8 hangs at mfgpt-timer". I disabled the MFGPT workaround in the BIOS and it seems to load the module just fine (no more hangs). I get this when I load geode-mfgpt.o: ################ Found vendor: 0x1022h, device: 0x2090h reading from: 6206 reading from: 620e reading from: 6216 read...
Jan 23, 7:37 pm 2008
Roel Kluin
[PATCH][ppc] logical/bitand typo in powerpc/boot/4xx.c
logical/bitand typo Signed-off-by: Roel Kluin <12o3l@tiscali.nl> --- diff --git a/arch/powerpc/boot/4xx.c b/arch/powerpc/boot/4xx.c index ebf9e21..dcfb459 100644 --- a/arch/powerpc/boot/4xx.c +++ b/arch/powerpc/boot/4xx.c @@ -104,7 +104,7 @@ void ibm4xx_denali_fixup_memsize(void) val = DDR_GET_VAL(val, DDR_CS_MAP, DDR_CS_MAP_SHIFT); cs = 0; while (val) { - if (val && 0x1) + if (val & 0x1) cs++; val = val >> 1; } --
Jan 23, 6:37 pm 2008
Joe Perches
Re: [PATCH][ppc] logical/bitand typo in powerpc/boot/4xx.c
I think this pattern should be added to checkpatch Signed-off-by: Joe Perches <joe@perches.com> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 579f50f..147e573 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1337,6 +1337,11 @@ sub process { } } +# Check for bitwise tests written as boolean + if ($line =~ /\&\&\s*0[xX]/) { + WARN("boolean test with hexadecimal, perhaps just 1 \&?\n" . $herecurr); + } + # if and else sho...
Jan 23, 7:05 pm 2008
Sev Binello
Many processes stuck in blk_congestion_wait
We are experiencing numerous hangs/slow downs on our WS4 U5 nfs client machines (not seen on WS3). Many processes end up in a D state for long periods of time and are in blk_congestion_wait(). Time in this state can vary, not sure what triggers them to come out, some don't But time in this state can be quite lengthy. Machines are running 2.6.9-55.0.9.ELsmp Below is a sample trace, they all look pretty much the same.... Any clues how to debug this ? Thanks -Sev -- Sev Binello Brook...
Jan 23, 6:19 pm 2008
Marcin Gil
JMicron PATA 2.6.24-rc7 can't find drives
Hi! I have Asus p5b-v motherboard with Intel ICH8R + JMicron 20360/20363. I am currently using zen-sources 2.6.24-rc7-zen2-g7c7e9c4a (zen-sources.org) based on kernel 2.6.24-rc7. I have also these sources directly with no solution to below problem (the mm-sources also don't help). I have ATA turned off completely and SCSI stuff (generic, disk, cdrom) compiled in. SATA for Intel ICH8, AHCI also compiled in. JMicron PATA as a module. I have SATA drive connected to SATA0 and Maxtor IDE drive ...
Jan 23, 6:23 pm 2008
Alan Cox
Re: JMicron PATA 2.6.24-rc7 can't find drives
The output of dmesg after the boot would be a good start --
Jan 23, 7:46 pm 2008
Pekka J Enberg
[PATCH] slab: fix bootstrap on memoryless node
From: Pekka Enberg <penberg@cs.helsinki.fi> If the node we're booting on doesn't have memory, bootstrapping kmalloc() caches resorts to fallback_alloc() which requires ->nodelists set for all nodes. Fix that by calling set_up_list3s() for CACHE_CACHE in kmem_cache_init(). Tested-by: Mel Gorman <mel@csn.ul.ie> Reviewed-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> --- Olaf, can you please test this against a clean git he...
Jan 23, 3:26 pm 2008
Olaf Hering
Re: [PATCH] slab: fix bootstrap on memoryless node
Yes, the system boots with both patches applied. Thanks. --
Jan 23, 5:32 pm 2008
Anthony Liguori
Re: [PATCH 0/2] dm-band: The I/O bandwidth controller: Overv...
Hi, I believe this work is very important especially in the context of virtual machines. I think it would be more useful though implemented in the context of the IO scheduler. Since we already support a notion of IO priority, it seems reasonable to add a notion of an IO cap. Regards, Anthony Liguori --
Jan 23, 3:22 pm 2008
Arjan van de Ven
[patch v2] x86: Add testcases for RODATA and NX protections/...
Subject: x86: Add testcases for RODATA and NX protections/attributes From: Arjan van de Ven <arjan@linux.intel.com> This patch adds testcases for the CONFIG_DEBUG_RODATA configuration option as well as the NX CPU feature/mappings. Both testcases can move to tests/ once that patch gets merged into mainline. (I'm half considering moving the rodata test into mm/init.c but I'll wait with that until init.c is unified) As part of this I had to fix a not-quite-right alignment in the vmlinux.lds.h ...
Jan 23, 3:05 pm 2008
Wang Nan
Can any one tell me why cond_resched in do_select?
Hi, everyone. I have a question regarding to select system call's code. In do_select() function, after check each fd in the set, do_select() call cond_resched(). That line, according to my view, is to reduce the system freeze time when do the busy querying. But before the call, when entering into the big loop, do_select call set_current_state(TASK_INTERRUPTIBLE). Then, if the reschedule really taken up, the current process will not return unless it catch a signal, or one of already registered fd sen...
Jan 23, 3:01 pm 2008
Matt Helsley
[PATCH] Fix procfs task exe symlink
The kernel implements readlink of /proc/pid/exe by getting the file from the first executable VMA. Then the path to the file is reconstructed and reported as the result. While this method is often correct it does not always identify the correct path. Some applications may play games with the executable mappings. Al Viro mentioned an example where the executable region is copied and subsequently unmapped. In this case the kernel wanders down the VMA list to the next file-backed, executable VMA -- wh...
Jan 23, 2:29 pm 2008
David Howells
Re: [PATCH] Fix procfs task exe symlink
I could test it, but it'll have to wait until I get back from LCA in a couple of weeks time. David --
Jan 23, 4:46 pm 2008
Christoph Hellwig
Re: [PATCH] Fix procfs task exe symlink
Dou you have a pointer to the source code for that filesystem? --
Jan 23, 3:41 pm 2008
Jan Engelhardt
Re: [PATCH] Fix procfs task exe symlink
This reminds me of unoionfs - it also had this issue, but IIRC, it eventually got solved. (Should now display /union/exe rather than /lowerlevel/exe.) Unionfs developers should know more. --
Jan 23, 3:01 pm 2008
Alex Chiang
ACPI processor hotplug broken?
Is anyone out there successfully using the ACPI processor driver and CPU hotplug? I've been playing with it for the past few days, and it *almost* works on my platform (ia64), but not quite. I can offline/online a CPU successfully via the sysfs interface. It's when I try and add ACPI into the mix that stuff starts going wonky. My understanding of reading the code and the stuff in Documentation/cpu-hotplug.txt is that what should be happening is this: - firmware sends ACPI_NOTIFY_BUS_CHECK or...
Jan 23, 2:12 pm 2008
Hiroshi Shimamoto
[PATCH] x86_64: remove struct cpu_model_info
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> Subject: [PATCH] x86_64: remove struct cpu_model_info No one uses struct cpu_model_info on x86_64 now. Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> --- arch/x86/kernel/setup_64.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 2643a8f..eb722b0 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c @@ -88...
Jan 23, 2:05 pm 2008
Jan Kara
[PATCH RESEND] Handle i_size > s_maxbytes correctly
Hi, I'm resending improved patch for the problem: Shortly, the problem is that we can mount a filesystem which has files with i_size greater than s_maxbytes (or generally the maximum size VFS can handle) - the easiest to test is to export NFS from a 64 bit machine to a 32 bit one. Create a 16TB+4KB (sparse) file on the server and you'll notice that you can read only first 4 KB from the client (because end_index overflows in do_generic_mapping_read()). Clustered filesystems have similar probl...
Jan 23, 1:54 pm 2008
Christoph Hellwig
Re: [PATCH RESEND] Handle i_size > s_maxbytes correctly
The right fix for cluster filesystem is to have a coherent maximum file size for the whole cluster. If that can't be done due to protocol reason we need to lock around i_size update and revoke access to the inode on the client that doesn't support it. Which of course would require a working revoke to start with.. --
Jan 23, 3:13 pm 2008
Jan Kara
Re: [PATCH RESEND] Handle i_size > s_maxbytes correctly
But with which lock you'd like to lock-around i_size update? Note that you have to make sure you won't race even with read path which currently doesn't take any locks at all (except for page lock) if I'm right... So, e.g. NFS, would have to wrap generic_file_aio_read() in some lock to prevent inode updates while generic_file_aio_read() runs. That doesn't sound too appealing to me. Honza -- Jan Kara <jack@suse.cz> SUSE Labs, CR --
Jan 23, 3:41 pm 2008
Cyrill Gorcunov
[PATCH 6/6] SH64: use KSYM_NAME_LEN
Use KSYM_NAME_LEN instead of numeric value Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Index: linux-2.6.git/arch/sh64/kernel/unwind.c =================================================================== --- linux-2.6.git.orig/arch/sh64/kernel/unwind.c 2008-01-21 19:35:06.000000000 +0300 +++ linux-2.6.git/arch/sh64/kernel/unwind.c 2008-01-23 19:16:41.000000000 +0300 @@ -46,7 +46,7 @@ static int lookup_prev_stack_frame(unsig struct pt_regs *regs) { const char *sym; ...
Jan 23, 1:39 pm 2008
Cyrill Gorcunov
[PATCH 5/6] PPC: use KSYM_NAME_LEN
Use KSYM_NAME_LEN instead of numeric value Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Index: linux-2.6.git/arch/ppc/xmon/xmon.c =================================================================== --- linux-2.6.git.orig/arch/ppc/xmon/xmon.c 2008-01-21 19:35:06.000000000 +0300 +++ linux-2.6.git/arch/ppc/xmon/xmon.c 2008-01-23 19:15:19.000000000 +0300 @@ -180,7 +180,7 @@ static void xmon_print_symbol(unsigned l char *modname; const char *name = NULL; unsigned long offset,...
Jan 23, 1:39 pm 2008
Cyrill Gorcunov
[PATCH 4/6] net: use KSYM_NAME_LEN
Use KSYM_NAME_LEN instead of numeric value Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Index: linux-2.6.git/net/core/dev.c =================================================================== --- linux-2.6.git.orig/net/core/dev.c 2008-01-21 19:35:33.000000000 +0300 +++ linux-2.6.git/net/core/dev.c 2008-01-23 19:22:17.000000000 +0300 @@ -2599,7 +2599,7 @@ static void ptype_seq_decode(struct seq_ unsigned long offset = 0, symsize; const char *symname; char *modname; - cha...
Jan 23, 1:39 pm 2008
Cyrill Gorcunov
[PATCH 3/6] kernel: use KSYM_NAME_LEN
Use KSYM_NAME_LEN instead of numeric value Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Index: linux-2.6.git/kernel/kprobes.c =================================================================== --- linux-2.6.git.orig/kernel/kprobes.c 2008-01-21 23:14:47.000000000 +0300 +++ linux-2.6.git/kernel/kprobes.c 2008-01-23 19:20:53.000000000 +0300 @@ -872,7 +872,7 @@ static int __kprobes show_kprobe_addr(st const char *sym = NULL; unsigned int i = *(loff_t *) v; unsigned long off...
Jan 23, 1:38 pm 2008
Cyrill Gorcunov
[PATCH 2/6] x86: use KSYM_NAME_LEN
Use KSYM_NAME_LEN instead of numeric value Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Index: linux-2.6.git/arch/x86/kernel/traps_64.c =================================================================== --- linux-2.6.git.orig/arch/x86/kernel/traps_64.c 2008-01-23 19:18:27.000000000 +0300 +++ linux-2.6.git/arch/x86/kernel/traps_64.c 2008-01-23 19:19:05.000000000 +0300 @@ -105,7 +105,7 @@ void printk_address(unsigned long addres const char *symname; char *modname; char *d...
Jan 23, 1:38 pm 2008
Cyrill Gorcunov
[PATCH 1/6] POWERPC: use KSYM_NAME_LEN
Use KSYM_NAME_LEN instead of numeric value. Actually because of too small 'tmp' there is a potential buffer overflow. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> --- Index: linux-2.6.git/arch/powerpc/xmon/xmon.c =================================================================== --- linux-2.6.git.orig/arch/powerpc/xmon/xmon.c 2008-01-23 19:04:42.000000000 +0300 +++ linux-2.6.git/arch/powerpc/xmon/xmon.c 2008-01-23 19:12:45.000000000 +0300 @@ -69,7 +69,7 @@ static unsigned long ndu...
Jan 23, 1:38 pm 2008
Paulo Marques
Re: [PATCH 1/6] POWERPC: use KSYM_NAME_LEN
The patch series looks like a nice cleanup, except for a few things in I don't think there is. "tmp" is not being passed to kallsyms to be filled with a symbol name, but it's being used to hold a name written by the user to lookup an address. If the powerpc/xmon people feel that 63 characters is enough to hold a This one is completely out of the blue. Why "sizeof(tmpstr) / 2"? It would make more sense to use "sizeof(tmpstr) - 1", but either way it This also introduces a change in b...
Jan 23, 2:26 pm 2008
Cyrill Gorcunov
Re: [PATCH 1/6] POWERPC: use KSYM_NAME_LEN
the original code was 63 but 63 is 128/2-1 so to not change the original idea of 'use a half size in this case' I made it like just after that poin in the original code a call to kallsyms_lookup_name is done - so i think it could be an overflow (of course it depends on what *exactly* the name is being searched, and Paulo - I didn't managed to get *the whole picture* of what is going on in this code - so the thoughs were like: kallsyms_lookup_name could find a quite long name restricted by KSYM_NA...
Jan 23, 2:43 pm 2008
Paulo Marques
Re: [PATCH 1/6] POWERPC: use KSYM_NAME_LEN
Ah, now I understand your confusion: kallsyms_lookup_name doesn't fill the name. It searches the name and returns the address. It is the _caller_ that fills the name, not kallsyms_lookup_name. It is used for stuff like: "give me the address of function foo": I think that using KSYM_NAME_LEN would be a nice cleanup for xmon, but it is for the powerpc guys to decide if they want to do it. I just wanted to point the change in behavior so that it wouldn't go unnoticed. For all we know, the st...
Jan 23, 2:59 pm 2008
Cyrill Gorcunov Jan 23, 3:07 pm 2008
Cyrill Gorcunov
[PATCH 0/6] use KSYM_NAME_LEN instead of numeric values
This patch series does convert explicitly defined lengths of buffers being passed to kallsyms_lookup to KSYM_NAME_LEN - Cyrill - --
Jan 23, 1:38 pm 2008
Zan Lynx
2.6.24-rc8-mm1 NULL deref in reiser4_tree_by_page
Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:=20 [<ffffffff803495d4>] reiser4_tree_by_page+0x4/0x20 PGD 12d76067 PUD 12cc7067 PMD 0=20 Oops: 0000 [1] SMP=20 last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq CPU 0=20 Modules linked in: isofs nls_iso8859_1 nls_cp437 vfat fat nls_base snd_pcm_= oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_= seq_device netconsole configfs joydev usb_storage usbhid hid libusual psmou= ...
Jan 23, 1:33 pm 2008
David Howells
[PATCH 00/27] Permit filesystem local caching [try #2]
These patches add local caching for network filesystems such as NFS. The patches can roughly be broken down into a number of sets: (*) 01-keys-inc-payload.diff (*) 02-keys-search-keyring.diff (*) 03-keys-callout-blob.diff Three patches to the keyring code made to help the CIFS people. Included because of patches 05-08. (*) 04-keys-get-label.diff A patch to allow the security label of a key to be retrieved. Included because of patches 05-08. (*) 05-...
Jan 23, 1:20 pm 2008
David Howells
[PATCH 27/27] NFS: Separate caching by superblock, explicitl...
Separate caching by superblock, explicitly if necessary. This means mounts of the same remote data with different parameters do not share cache objects for common files. The administrator may also provide a uniquifier to further enhance the uniqueness. Where it is otherwise impossible to distinguish superblocks because all the parameters are identical, but the 'nosharecache' option is supplied, a uniquifying string must be supplied, else only the first mount will be permitted to use the cache. ...
Jan 23, 1:23 pm 2008
David Howells
[PATCH 24/27] NFS: Use local caching [try #2]
The attached patch makes it possible for the NFS filesystem to make use of the network filesystem local caching service (FS-Cache). To be able to use this, an updated mount program is required. This can be obtained from: http://people.redhat.com/steved/fscache/util-linux/ To mount an NFS filesystem to use caching, add an "fsc" option to the mount: mount warthog:/ /a -o fsc Signed-off-by: David Howells <dhowells@redhat.com> --- fs/nfs/Makefile | 1 fs/nfs/client....
Jan 23, 1:22 pm 2008
David Howells
[PATCH 26/27] NFS: Display local caching state [try #2]
Display the local caching state in /proc/fs/nfsfs/volumes. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/nfs/client.c | 7 ++++--- fs/nfs/fscache.h | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 92f9b84..68d3124 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -1335,7 +1335,7 @@ static int nfs_volume_list_show(struct seq_file *m, void *v) /* display header on line 1 */ if (v...
Jan 23, 1:22 pm 2008
David Howells
[PATCH 25/27] NFS: Configuration and mount option changes to...
Changes to the kernel configuration defintions and to the NFS mount options to allow the local caching support added by the previous patch to be enabled. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/Kconfig | 8 ++++++++ fs/nfs/client.c | 2 ++ fs/nfs/internal.h | 1 + fs/nfs/super.c | 14 ++++++++++++++ 4 files changed, 25 insertions(+), 0 deletions(-) diff --git a/fs/Kconfig b/fs/Kconfig index e95b11c..39b1981 100644 --- a/fs/Kconfig +++ b/fs/...
Jan 23, 1:22 pm 2008
David Howells
[PATCH 22/27] CacheFiles: A cache that backs onto a mounted ...
Add an FS-Cache cache-backend that permits a mounted filesystem to be used as a backing store for the cache. CacheFiles uses a userspace daemon to do some of the cache management - such as reaping stale nodes and culling. This is called cachefilesd and lives in /sbin. The source for the daemon can be downloaded from: http://people.redhat.com/~dhowells/cachefs/cachefilesd.c And an example configuration from: http://people.redhat.com/~dhowells/cachefs/cachefilesd.conf The filesystem an...
Jan 23, 1:22 pm 2008
David Howells
[PATCH 21/27] CacheFiles: Export things for CacheFiles [try ...
Export a number of functions for CacheFiles's use. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/super.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/super.c b/fs/super.c index ceaf2e3..cd199ae 100644 --- a/fs/super.c +++ b/fs/super.c @@ -266,6 +266,7 @@ int fsync_super(struct super_block *sb) __fsync_super(sb); return sync_blockdev(sb->s_bdev); } +EXPORT_SYMBOL_GPL(fsync_super); /** * generic_shutdown_super - common helpe...
Jan 23, 1:22 pm 2008
David Howells
[PATCH 23/27] NFS: Fix memory leak [try #2]
Fix a memory leak whereby multiple clientaddr=xxx mount options just overwrite the duplicated client_address option pointer, without freeing the old memory. Signed-off-by: David Howells <dhowells@redhat.com> --- fs/nfs/super.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 0b0c72a..7f5e747 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -936,6 +936,7 @@ static int nfs_parse_mount_options(char *raw, string = matc...
Jan 23, 1:22 pm 2008
David Howells
[PATCH 20/27] CacheFiles: Permit the page lock state to be m...
Add a function to install a monitor on the page lock waitqueue for a particular page, thus allowing the page being unlocked to be detected. This is used by CacheFiles to detect read completion on a page in the backing filesystem so that it can then copy the data to the waiting netfs page. Signed-off-by: David Howells <dhowells@redhat.com> --- include/linux/pagemap.h | 5 +++++ mm/filemap.c | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+), 0 deletions(-) di...
Jan 23, 1:22 pm 2008
David Howells
[PATCH 19/27] CacheFiles: Add a hook to write a single page ...
Add an address space operation to write one single page of data to an inode at a page-aligned location (thus permitting the implementation to be highly optimised). The data source is a single page. This is used by CacheFiles to store the contents of netfs pages into their backing file pages. Supply a generic implementation for this that uses the write_begin() and write_end() address_space operations to bind a copy directly into the page cache. Hook the Ext2 and Ext3 operations to the generic ...
Jan 23, 1:22 pm 2008
David Howells
[PATCH 16/27] FS-Cache: Generic filesystem caching facility ...
The attached patch adds a generic intermediary (FS-Cache) by which filesystems may call on local caching capabilities, and by which local caching backends may make caches available: +---------+ | | +--------------+ | NFS |--+ | | | | | +-->| CacheFS | +---------+ | +----------+ | | /dev/hda5 | | | | | +--------------+ +---------+ +-->| | | ...
Jan 23, 1:22 pm 2008
David Howells
[PATCH 18/27] CacheFiles: Be consistent about the use of map...
Change all the usages of file->f_mapping in ext3_*write_end() functions to use the mapping argument directly. This has two consequences: (*) Consistency. Without this patch sometimes one is used and sometimes the other is. (*) A NULL file pointer can be passed. This feature is then made use of by the generic hook in the next patch, which is used by CacheFiles to write pages to a file without setting up a file struct. Signed-off-by: David Howells <dhowells@redhat.com&gt...
Jan 23, 1:22 pm 2008
David Howells
[PATCH 17/27] CacheFiles: Add missing copy_page export for i...
This one-line patch fixes the missing export of copy_page introduced by the cachefile patches. This patch is not yet upstream, but is required for cachefile on ia64. It will be pushed upstream when cachefile goes upstream. Signed-off-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: David Howells <dhowells@redhat.com> --- arch/ia64/kernel/ia64_ksyms.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/ia64/kernel/ia64_ksyms.c b/arch/ia64/kernel/...
Jan 23, 1:22 pm 2008
David Howells
[PATCH 15/27] FS-Cache: Provide an add_wait_queue_tail() fun...
Provide an add_wait_queue_tail() function to add a waiter to the back of a wait queue instead of the front. Signed-off-by: David Howells <dhowells@redhat.com> --- include/linux/pagemap.h | 7 +++++-- include/linux/wait.h | 2 ++ kernel/wait.c | 18 ++++++++++++++++++ mm/filemap.c | 2 +- 4 files changed, 26 insertions(+), 3 deletions(-) diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 1ab7f9a..00b108c 100644 --- a/include/linux...
Jan 23, 1:21 pm 2008
David Howells
[PATCH 14/27] FS-Cache: Recruit a couple of page flags for c...
Recruit a couple of page flags to aid in cache management. The following extra flags are defined: (1) PG_fscache (PG_private_2) The marked page is backed by a local cache and is pinning resources in the cache driver. (2) PG_fscache_write (PG_owner_priv_2) The marked page is being written to the local cache. The page may not be modified whilst this is in progress. If PG_fscache is set, then things that checked for PG_private will now also check for that. This inclu...
Jan 23, 1:21 pm 2008
David Howells
[PATCH 13/27] FS-Cache: Release page->private after faile...
The attached patch causes read_cache_pages() to release page-private data on a page for which add_to_page_cache() fails or the filler function fails. This permits pages with caching references associated with them to be cleaned up. The invalidatepage() address space op is called (indirectly) to do the honours. Signed-off-by: David Howells <dhowells@redhat.com> --- mm/readahead.c | 39 +++++++++++++++++++++++++++++++++++++-- 1 files changed, 37 insertions(+), 2 deletions(-) diff --...
Jan 23, 1:21 pm 2008
David Howells
[PATCH 12/27] Security: Make NFSD work with detached securit...
Make NFSD work with detached security, using the patches that excise the security information from task_struct to struct task_security as a base. Each time NFSD wants a new security descriptor (to do NFS4 recovery or just to do NFS operations), a task_security record is derived from NFSD's *objective* security, modified and then applied as the *subjective* security. This means (a) the changes are not visible to anyone looking at NFSD through /proc, (b) there is no leakage between two consecutive op...
Jan 23, 1:21 pm 2008
David Howells
[PATCH 11/27] Security: Allow kernel services to override LS...
Allow kernel services to override LSM settings appropriate to the actions performed by a task by duplicating a security record, modifying it and then using task_struct::act_as to point to it when performing operations on behalf of a task. This is used, for example, by CacheFiles which has to transparently access the cache on behalf of a process that thinks it is doing, say, NFS accesses with a potentially inappropriate (with respect to accessing the cache) set of security data. This patch provid...
Jan 23, 1:21 pm 2008
previous daytodaynext day
January 22, 2008January 23, 2008January 24, 2008