linux-kernel mailing list

FromSubjectsort iconDate
Robert Richter
[PATCH] Extended interrupt LVT support for AMD Barcelona
This patch adds extended interrupt support for AMD Barcelona CPUs. The patch provides functions to setup MCE and IBS interrupt vectors. Compared to the previous K8 implementation the vector offsets are centrally handled now in apic_64.c. Thus, the APIC setup code is responsible for vector mappings. The vector mapping is hardcoded for now. Also macro definitions in apicdef.h has been updated. The patch is relative to x86/cleanup tree. --- arch/x86/kernel/apic_64.c | 26 +++++++++...
Nov 16, 11:11 am 2007
Xavier Bestel
How to disable ECC with bootparam ?
Hi, I have replaced my machine with another one which gives many ECC errors. At first sight they may be pessimistic because memtest (with ECC off) doesn't find anything (I'm letting run it overnight, I'll see tomorrow morning if it really didn't find anything). I'd like to let it run without thoses ECC messages (which slow it down pretty much), but - man bootparam doesn't say anything - my git tree is on that machine, so I can't access it - I couldn't successfully google for it Thanks for your...
Nov 16, 7:20 pm 2007
Jan-Benedict Glaw
Re: How to disable ECC with bootparam ?
On Sat, 2007-11-17 00:20:20 +0100, Xavier Bestel <xavier.bestel@free.fr> wr= Erm... "ECC" means there are extra bits that, with small amount of errors, allow to recalculate the initial value. If you're getting error messages with ECC errors, that means that your RAM really looses its contents. You should fix your machine. (Check that eg. timings are correct with RAM's specification, ...) You're on risk. Really. MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de ...
Nov 16, 7:31 pm 2007
Christoph Lameter
[patch 28/30] cpu alloc: Use for infiniband
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- drivers/infiniband/hw/ehca/ehca_irq.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) Index: linux-2.6/drivers/infiniband/hw/ehca/ehca_irq.c =================================================================== --- linux-2.6.orig/drivers/infiniband/hw/ehca/ehca_irq.c 2007-11-15 21:17:23.663404239 -0800 +++ linux-2.6/drivers/infiniband/hw/ehca/ehca_irq.c 2007-11-15 21:25:39.310404188 -0800 @@ -646,7 +646,7...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 29/30] cpu alloc: Use in the crypto subsystem.
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- crypto/async_tx/async_tx.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) Index: linux-2.6/crypto/async_tx/async_tx.c =================================================================== --- linux-2.6.orig/crypto/async_tx/async_tx.c 2007-11-15 21:17:23.610404668 -0800 +++ linux-2.6/crypto/async_tx/async_tx.c 2007-11-15 21:25:39.834904080 -0800 @@ -207,10 +207,10 @@ static void async_tx_rebalance(void) for_eac...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 25/30] cpu alloc: convert mib handling to cpu alloc
Use the cpu alloc functions for the mib handling functions in the net layer. The API for snmp_mib_free() is changed to add a size parameter since cpu_fre requires that. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- include/net/ip.h | 2 +- include/net/snmp.h | 14 +++++++------- net/dccp/proto.c | 12 +++++++----- net/ipv4/af_inet.c | 31 +++++++++++++++++-------------- net/ipv6/addrconf.c | 10 +++++----- net/ipv6/af_inet6.c | 18 +++++++++--------- net/sc...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 30/30] cpu alloc: Remove the allocpercpu functionality
There is no user of allocpercpu left after all the earlier patches were applied. Remove the code that realizes allocpercpu. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- include/linux/percpu.h | 80 ------------------------------ mm/Makefile | 1 mm/allocpercpu.c | 127 ------------------------------------------------- 3 files changed, 208 deletions(-) delete mode 100644 mm/allocpercpu.c Index: linux-2.6/include/linux/percpu.h =========================...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 27/30] cpu alloc: Explicitly code allocpercpu calls i...
The iucv is the only user of the various functions that are used to bring parts of cpus up and down. Its the only allocpercpu user that will do I/O on per cpu objects (which is difficult to do with virtually mapped memory). And its the only use of allocpercpu where a GFP_DMA allocation is done. Remove the allocpercpu calls from iucv and code the allocation and freeing manually. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Christoph Lameter <clameter@sgi.com&g...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 26/30] cpu_alloc: convert network sockets
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- net/core/sock.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: linux-2.6/net/core/sock.c =================================================================== --- linux-2.6.orig/net/core/sock.c 2007-11-15 21:17:23.775404482 -0800 +++ linux-2.6/net/core/sock.c 2007-11-15 21:25:38.183201940 -0800 @@ -1809,21 +1809,21 @@ static LIST_HEAD(proto_list); */ static void inuse_add(struct proto *prot, int inc) { - ...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 24/30] cpu alloc: Chelsio statistics conversion
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- drivers/net/chelsio/sge.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Index: linux-2.6/drivers/net/chelsio/sge.c =================================================================== --- linux-2.6.orig/drivers/net/chelsio/sge.c 2007-11-15 21:17:23.927654318 -0800 +++ linux-2.6/drivers/net/chelsio/sge.c 2007-11-15 21:25:37.015154316 -0800 @@ -805,7 +805,7 @@ void t1_sge_destroy(struct sge *sge) int i; fo...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 23/30] cpu alloc: veth conversion
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- drivers/net/veth.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Index: linux-2.6/drivers/net/veth.c =================================================================== --- linux-2.6.orig/drivers/net/veth.c 2007-11-15 21:17:24.010404318 -0800 +++ linux-2.6/drivers/net/veth.c 2007-11-15 21:25:36.483154219 -0800 @@ -162,7 +162,7 @@ static int veth_xmit(struct sk_buff *skb rcv_priv = netdev_priv(rcv); cpu = s...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 14/30] cpu alloc: blktrace conversion
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- block/blktrace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: linux-2.6/block/blktrace.c =================================================================== --- linux-2.6.orig/block/blktrace.c 2007-11-15 21:17:24.586154116 -0800 +++ linux-2.6/block/blktrace.c 2007-11-15 21:25:31.591154091 -0800 @@ -155,7 +155,7 @@ void __blk_add_trace(struct blk_trace *b t = relay_reserve(bt->rchan, sizeof(*t) + pdu_len...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 21/30] cpu alloc: dmaengine conversion
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- drivers/dma/dmaengine.c | 27 ++++++++++++++------------- include/linux/dmaengine.h | 4 ++-- 2 files changed, 16 insertions(+), 15 deletions(-) Index: linux-2.6/drivers/dma/dmaengine.c =================================================================== --- linux-2.6.orig/drivers/dma/dmaengine.c 2007-11-15 21:17:24.127154620 -0800 +++ linux-2.6/drivers/dma/dmaengine.c 2007-11-15 21:25:35.354654191 -0800 @@ -84,7 +84,7 @@ static...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 22/30] cpu alloc: convert loopback statistics
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- drivers/net/loopback.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: linux-2.6/drivers/net/loopback.c =================================================================== --- linux-2.6.orig/drivers/net/loopback.c 2007-11-15 21:17:24.067154382 -0800 +++ linux-2.6/drivers/net/loopback.c 2007-11-15 21:25:36.006154068 -0800 @@ -156,7 +156,7 @@ static int loopback_xmit(struct sk_buff /* it's OK to use per_cpu...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 20/30] cpu alloc: convert scatches
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- net/ipv4/ipcomp.c | 26 +++++++++++++------------- net/ipv6/ipcomp6.c | 26 +++++++++++++------------- 2 files changed, 26 insertions(+), 26 deletions(-) Index: linux-2.6/net/ipv4/ipcomp.c =================================================================== --- linux-2.6.orig/net/ipv4/ipcomp.c 2007-11-15 21:17:24.199404507 -0800 +++ linux-2.6/net/ipv4/ipcomp.c 2007-11-15 21:25:34.771154012 -0800 @@ -48,8 +48,8 @@ static int ipcomp...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 16/30] cpu alloc: XFS counters
Also remove the useless zeroing after allocation. Allocpercpu already zeroed the objects. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- fs/xfs/xfs_mount.c | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) Index: linux-2.6/fs/xfs/xfs_mount.c =================================================================== --- linux-2.6.orig/fs/xfs/xfs_mount.c 2007-11-15 21:17:24.467654585 -0800 +++ linux-2.6/fs/xfs/xfs_mount.c 2007-11-15 21:25:32.643904117 -080...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 19/30] cpu alloc: tcp statistics
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- net/ipv4/tcp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Index: linux-2.6/net/ipv4/tcp.c =================================================================== --- linux-2.6.orig/net/ipv4/tcp.c 2007-11-15 21:17:24.267654551 -0800 +++ linux-2.6/net/ipv4/tcp.c 2007-11-15 21:25:34.214404334 -0800 @@ -2273,7 +2273,7 @@ static void __tcp_free_md5sig_pool(struc { int cpu; for_each_possible_cpu(cpu) { - struct ...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 18/30] cpu alloc: neigbour statistics
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- include/net/neighbour.h | 2 +- net/core/neighbour.c | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) Index: linux-2.6/include/net/neighbour.h =================================================================== --- linux-2.6.orig/include/net/neighbour.h 2007-11-15 21:17:24.319654300 -0800 +++ linux-2.6/include/net/neighbour.h 2007-11-15 21:25:33.678404221 -0800 @@ -83,7 +83,7 @@ struct neigh_statistics #def...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 17/30] cpu alloc: NFS statistics
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- fs/nfs/iostat.h | 8 ++++---- fs/nfs/super.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) Index: linux-2.6/fs/nfs/iostat.h =================================================================== --- linux-2.6.orig/fs/nfs/iostat.h 2007-11-15 21:17:24.391404458 -0800 +++ linux-2.6/fs/nfs/iostat.h 2007-11-15 21:25:33.167654066 -0800 @@ -123,7 +123,7 @@ static inline void nfs_inc_server_stats( int cpu; cpu = get_cp...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 13/30] cpu alloc: genhd statistics conversion
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- include/linux/genhd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Index: linux-2.6/include/linux/genhd.h =================================================================== --- linux-2.6.orig/include/linux/genhd.h 2007-11-15 21:18:07.967654575 -0800 +++ linux-2.6/include/linux/genhd.h 2007-11-15 21:25:31.066904143 -0800 @@ -158,21 +158,21 @@ struct disk_attribute { */ #ifdef CONFIG_SMP #define __disk_stat_...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 15/30] cpu alloc: SRCU
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- kernel/rcutorture.c | 4 ++-- kernel/srcu.c | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) Index: linux-2.6/kernel/rcutorture.c =================================================================== --- linux-2.6.orig/kernel/rcutorture.c 2007-11-15 21:17:24.515654132 -0800 +++ linux-2.6/kernel/rcutorture.c 2007-11-15 21:25:32.102406141 -0800 @@ -441,8 +441,8 @@ static int srcu_torture_stats(char *page ...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 12/30] cpu alloc: ACPI cstate handling conversion
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- arch/x86/kernel/acpi/cstate.c | 9 +++++---- arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 7 ++++--- drivers/acpi/processor_perflib.c | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) Index: linux-2.6/arch/x86/kernel/acpi/cstate.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/acpi/cstate.c 2007-11-15 21:18:09.238904115 -0800 +++ linux-2....
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 08/30] cpu_alloc: Sparc64 support
Enable a simple virtual configuration with 32MB available per cpu so that we do not use a static area on sparc64. [Not tested. I have no sparc64] Signed-off-by: Christoph Lameter <clameter@sgi.com> --- arch/sparc64/Kconfig | 15 +++++++++++++++ include/asm-sparc64/pgtable.h | 1 + 2 files changed, 16 insertions(+) Index: linux-2.6/arch/sparc64/Kconfig =================================================================== --- linux-2.6.orig/arch/sparc64/Kconfig 2007-11-15 ...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 11/30] cpu alloc: workqueue conversion
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- kernel/workqueue.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) Index: linux-2.6/kernel/workqueue.c =================================================================== --- linux-2.6.orig/kernel/workqueue.c 2007-11-15 21:18:11.726153923 -0800 +++ linux-2.6/kernel/workqueue.c 2007-11-15 21:25:29.966154099 -0800 @@ -100,7 +100,7 @@ struct cpu_workqueue_struct *wq_per_cpu( { if (unlikely(is_sin...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 10/30] cpu alloc: crash_notes conversion
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- arch/ia64/kernel/crash.c | 2 +- drivers/base/cpu.c | 2 +- kernel/kexec.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) Index: linux-2.6/arch/ia64/kernel/crash.c =================================================================== --- linux-2.6.orig/arch/ia64/kernel/crash.c 2007-11-15 21:18:10.647904573 -0800 +++ linux-2.6/arch/ia64/kernel/crash.c 2007-11-15 21:25:29.423155123 -0800 @@ -71,7 +71,...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 09/30] cpu alloc: percpu_counter conversion
Signed-off-by: Christoph Lameter <clameter@sgi.com> --- lib/percpu_counter.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Index: linux-2.6/lib/percpu_counter.c =================================================================== --- linux-2.6.orig/lib/percpu_counter.c 2007-11-15 21:24:46.878154362 -0800 +++ linux-2.6/lib/percpu_counter.c 2007-11-15 21:25:28.963154085 -0800 @@ -20,7 +20,7 @@ void percpu_counter_set(struct percpu_co spin_lock(&fbc->lock); ...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 05/30] cpu_alloc: Implement dynamically extendable cp...
Virtually map the cpu areas. This allows bigger maximum sizes and to only populate the virtual mappings on demand. In order to use the virtual mapping capability the arch must setup some configuration variables in arch/xxx/Kconfig: CONFIG_CPU_AREA_VIRTUAL to y CONFIG_CPU_AREA_ORDER to the largest allowed size that the per cpu area can grow to. CONFIG_CPU_AREA_ALLOC_ORDER to the allocation size when the cpu area needs to grow. Use 0 here to guarantee order 0 allocations. The address to...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 06/30] cpu alloc: x86 support
64 bit: Set up a cpu area that allows the use of up 16MB for each processor. Cpu memory use can grow a bit. F.e. if we assume that a pageset occupies 64 bytes of memory and we have 3 zones in each of 1024 nodes then we need 3 * 1k * 16k = 50 million pagesets or 3096 pagesets per processor. This results in a total of 3.2 GB of page structs. Each cpu needs around 200k of cpu storage for the page allocator alone. So its a worth it to use a 2M huge mapping here. For the UP and SMP case map the are...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 07/30] cpu alloc: IA64 support
Typical use of per cpu memory for a small system of 8G 8p 4node is less than 64k per cpu memory. This is increasing rapidly for larger systems where we can get up to 512k or 1M of memory used for cpu storage. The maximum size allowed of the cpu area is 128MB of memory. The cpu area is placed in region 5 with the kernel, vmemmap and vmalloc areas. Signed-off-by: Christoph Lameter <clameter@sgi.com> --- arch/ia64/Kconfig | 13 +++++++++++++ include/asm-ia64/pgtable.h | 32 +++...
Nov 16, 7:09 pm 2007
Luck, Tony
RE: [patch 07/30] cpu alloc: IA64 support
+# Maximum of 128 MB cpu_alloc space per cpu +config CPU_AREA_ORDER + int + default "13" Comment only matches code when page size is 16K ... and we are (slowly) moving to 64k as the default (which with order 13 allocation would mean 512M) -Tony -
Nov 16, 7:32 pm 2007
Christoph Lameter
[patch 04/30] cpu alloc: page allocator conversion
Use the new cpu_alloc functionality to avoid per cpu arrays in struct zone. This drastically reduces the size of struct zone for systems with a large amounts of processors and allows placement of critical variables of struct zone in one cacheline even on very large systems. Another effect is that the pagesets of one processor are placed near one another. If multiple pagesets from different zones fit into one cacheline then additional cacheline fetches can be avoided on the hot paths when allocating...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 02/30] cpu alloc: Use in SLUB
Using cpu alloc removes the needs for the per cpu arrays in the kmem_cache struct. These could get quite big if we have to support system of up to thousands of cpus. The use of alloc_percpu means that: 1. The size of kmem_cache for SMP configuration shrinks since we will only need 1 pointer instead of NR_CPUS. The same pointer can be used by all processors. Reduces cache footprint of the allocator. 2. We can dynamically size kmem_cache according to the actual nodes in the system meaning ...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 03/30] cpu alloc: Remove SLUB fields
Remove the fields in kmem_cache_cpu that were used to cache data from kmem_cache when they were in different cachelines. The cacheline that holds the per cpu array pointer now also holds these values. We can cut down the kmem_cache_cpu size to almost half. The get_freepointer() and set_freepointer() functions that used to be only intended for the slow path now are also useful for the hot path since access to the field does not require an additional cacheline anymore. This results in consistent use ...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 01/30] cpu alloc: Simple version of the allocator (st...
The core portion of the cpu allocator. The per cpu allocator allows dynamic allocation of memory on all processor simultaneously. A bitmap is used to track used areas. The allocator implements tight packing to reduce the cache footprint and increase speed since cacheline contention is typically not a concern for memory mainly used by a single cpu. Small objects will fill up gaps left by larger allocations that required alignments. This is a limited version of the cpu allocator that only performs ...
Nov 16, 7:09 pm 2007
Christoph Lameter
[patch 00/30] cpu alloc v2: Optimize by removing arrays of p...
[Note arch maintainers: Some configuration variables in arch/*/Kconfig needed for large users of per cpu space (large NUMA mostly, or lots of processors)] and in order to make optimal use of cpu_alloc. V1->V2: - Split off patch for virtualization. Patch has some instructions on how to configure an arch for cpu_alloc. - uiuc patch is upstream so leave it out. - There was an article on LWN.net on cpu_alloc. - Add a sparc64 config - Against current git that merged the Kconfigs for x86_64 and i3...
Nov 16, 7:09 pm 2007
Miguel
[PATCH 1/2] mac80211: add power management support -v2
This patch adds power management support in mac80211. This allows us to enable power management through the "iwconfig <device> power <off/on>" command. The code is based on "mac80211-10.0.0" but it is a little bit modified. Signed-off-by: Miguel Botón <mboton@gmail.com> diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 5fcc4c1..c82b6fa 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -452,6 +452,8 @@ struct ieee80211_conf { u8 antenna...
Nov 16, 7:07 pm 2007
Miguel
[PATCH 2/2] iwlwifi: add power management support -v2
This patch adds power management support in iwl3945 and iwl4965 drivers. Signed-off-by: Miguel Botón <mboton@gmail.com> diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 9baf8de..5c7b422 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c @@ -6951,6 +7187,7 @@ static int iwl3945_mac_config(struct ieee80211_hw *hw, struct ieee80211_conf *co struct iwl3945_priv *priv = hw->p...
Nov 16, 7:06 pm 2007
mark gross
[PATCH]intel-iommu-PMEN support
The following patch adds support for protected memory enable bits by clearing them if they are set at startup time. Some future boot loaders or firmware could have this bit set after it loads the kernel, and it needs to be cleared if DMA's are going to happen effectively. please apply --mgross Signed-off-by: mark gross <mgross@intel.com> Index: linux-2.6.23-rc2-iommu/drivers/pci/intel-iommu.c =================================================================== --- linux-2.6.23-rc2-i...
Nov 16, 6:39 pm 2007
Divy Le Ray
[PATCH 2/9 RESEND] cxgb3 - Use wild card for PCI subdevice I...
From: Divy Le Ray <divy@chelsio.com> Subdevice ID is not necessarily set to 1. Use wild card for PCI device matching Signed-off-by: Divy Le Ray <divy@chelsio.com> --- drivers/net/cxgb3/cxgb3_main.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index bb0d1c8..d92da8f 100644 --- a/drivers/net/cxgb3/cxgb3_main.c +++ b/drivers/net/cxgb3/cxgb3_main.c @@ -76,20 +76,20...
Nov 16, 6:26 pm 2007
Eric Dumazet
[PATCH] PERCPU : __percpu_alloc_mask() can dynamically size ...
Instead of allocating a fix sized array of NR_CPUS pointers for percpu_data, we can use nr_cpu_ids, which is generally < NR_CPUS. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> include/linux/percpu.h | 2 +- mm/allocpercpu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Nov 16, 6:15 pm 2007
Christoph Lameter
Re: [PATCH] PERCPU : __percpu_alloc_mask() can dynamically s...
Yes we can. Could you either use [] or [0] instead of the index there? Somehow the patch vanished when I replied to it. -
Nov 16, 6:25 pm 2007
Russell King
nfs failure causes bad page state
While testing a kernel based upon ecd744eec3aa8bbc949ec04ed3fbf7ecb2958a0e (with wrong boot arguments), I got the following bad page state entry while NFS was trying to mount it's rootfs: IP-Config: Complete: device=eth0, addr=192.168.1.101, mask=255.255.255.0, gw=255.255.255.255, host=192.168.1.101, domain=, nis-domain=(none), bootserver=192.168.1.100, rootserver=192.168.1.100, rootpath= Looking up port of RPC 100003/2 on 192.168.1.100 rpcbind: server 192.168.1.100 not responding,...
Nov 16, 6:13 pm 2007
Jim Faulkner
sb live (emu10k1) stops working between 2.6.23.1 and 2.6.23.7
Hello, I have an SB Live Value card which uses the emu10k1 driver. I use digital output to an external amplifier. This has worked fine for many years, up to and including kernel 2.6.23.1. Under 2.6.23.7, I have been unable to get any audio output. I get the following errors when loading my asound.state under 2.6.23.7 using `alsactl restore`: alsactl: set_control:991: warning: name mismatch (IEC958 Playback Mask/IEC958 Playback Default) for control #222 alsactl: set_control:993: warning: inde...
Nov 16, 5:30 pm 2007
Eric Dumazet
[PATCH] NR_OPEN should be raised a litle bit
Time has come to change NR_OPEN value, some production servers hit the not so 'ridiculously high value' of 1024*1024 file descriptors per process. This is safe to raise this value, because alloc_fd_array() uses vmalloc() for large arrays and vmalloc() returns NULL if a too large allocation is attempted (or in case of memory shortage) Moore law implies this limit should be changed every 1-2 years, and it seems we forgot doing this for ages. Even on my old notebook, a process can open 1000000 des...
Nov 16, 5:53 pm 2007
Alan Cox
Re: [PATCH] NR_OPEN should be raised a litle bit
On Fri, 16 Nov 2007 22:53:08 +0100 Why fiddle with the kernel defaults when every distribution can manage this in user space - including picking defaults by memory size or platform ? -
Nov 16, 7:49 pm 2007
Jeff Dike
[PATCH 2/8] UML - header untangling
Untangle UML headers somewhat and add some includes where they were needed explicitly, but gotten accidentally via some other header. arch/um/include/um_uaccess.h loses asm/fixmap.h because it uses no fixmap stuff and gains elf.h, because it needs FIXADDR_USER_*, and archsetjmp.h, because it needs jmp_buf. pmd_alloc_one is uninlined because it needs mm_struct, and that's inconvenient to provide in asm-um/pgtable-3level.h. elf_core_copy_fpregs is also uninlined from elf-i386.h and elf-x86_64.h,...
Nov 16, 5:42 pm 2007
Jeff Dike
[PATCH 5/8] UML - Fix page table data sizes
Get the sizes of various pieces of data right when using three-level page tables. pgd and pmd entries remain at 32 bits in a 32-bit compilation because page tables will remain in low memory. So, PGDIR_SHIFT, the PTRS_PER_* values, set_pud, set_pmd are conditional on 64BIT. More use of phys_t is made when there are physical memory addresses floating around. ObCheckpatchViolationJustification - the new typedef is an alternate definition of pmd_t, which I can't really live without. Signed-off-...
Nov 16, 5:42 pm 2007
Jeff Dike
[PATCH 8/8] UML - Cover stubs with a VMA
Give the stubs a VMA. This allows the removal of a truly nasty kludge to make sure that mm->nr_ptes was correct in exit_mmap. The underlying problem was always that the stubs, which have ptes, and thus allocated a page table, weren't covered by a VMA. This patch fixes that by using install_special_mapping in arch_dup_mmap and activate_context to create the VMA. The stubs have to be moved, since shift_arg_pages seems to assume that the stack is the only VMA present at that point during exec, a...
Nov 16, 5:42 pm 2007
Jeff Dike
[PATCH 4/8] UML - current.h cleanup
Tidy current-related stuff. There was a comment in current.h saying that current_thread was obsolete, so this patch turns all instances of current_thread into current_thread_info(). There's some simplifying of the result in arch/um/sys-i386/signal.c. current.h and thread_info also get style cleanups. Signed-off-by: Jeff Dike <jdike@linux.intel.com> --- arch/um/kernel/process.c | 8 ++++---- arch/um/sys-i386/signal.c | 18 ++++++++---------- arch/um/sys-x86_64/signal.c | ...
Nov 16, 5:42 pm 2007
Jeff Dike
[PATCH 3/8] UML - Style cleanup
Style fixes in elf-i386.h and arch/um/kernel/mem.c. update the copyright get rid of an emacs formatting comment some formatting fixes inclusion trimming whitespace fixes Signed-off-by: Jeff Dike <jdike@linux.intel.com> --- arch/um/kernel/mem.c | 86 +++++++++++++++++++++------------------------- include/asm-um/elf-i386.h | 19 ++-------- 2 files changed, 45 insertions(+), 60 deletions(-) Index: linux-2.6.22/include/asm-um/elf-i386.h =============...
Nov 16, 5:42 pm 2007
previous daytodaynext day
November 15, 2007November 16, 2007November 17, 2007