From: Arjan van de Ven [EMAIL PROTECTED]
Subject: [patch 07/12] mark struct file_operations const
Many struct file_operations in the kernel can be const. Marking them const
moves these to the .rodata section, which avoids false sharing with
potential dirty data. In addition it'll catch accidental
I wrote:
gcc -o test3.o test.c test.c
^^ typo
gcc -o test3.o test.c test2.c
--
Stefan Richter
-=-=-=== ---= -===-
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
From: Arjan van de Ven [EMAIL PROTECTED]
Subject: [patch 09/12] mark struct file_operations const
Many struct file_operations in the kernel can be const. Marking them const
moves these to the .rodata section, which avoids false sharing with
potential dirty data. In addition it'll catch accidental
From: Arjan van de Ven [EMAIL PROTECTED]
Subject: [patch 10/12] mark struct inode_operations const
Many struct inode_operations in the kernel can be const. Marking them const
moves these to the .rodata section, which avoids false sharing with
potential dirty data. In addition it'll catch
From: Arjan van de Ven [EMAIL PROTECTED]
Subject: [patch 11/12] mark struct inode_operations const
Many struct inode_operations in the kernel can be const. Marking them const
moves these to the .rodata section, which avoids false sharing with
potential dirty data. In addition it'll catch
From: Arjan van de Ven [EMAIL PROTECTED]
Subject: [patch 12/12] mark struct inode_operations const
Many struct inode_operations in the kernel can be const. Marking them const
moves these to the .rodata section, which avoids false sharing with
potential dirty data. In addition it'll catch
Faik Uygur wrote:
What happens when you try to shutdown?
Does not shutdown and freezes.
Hand copied last messages seen on console:
Synchronizing SCSI cache for disk sda:
ACPI: PCI Interrupt for device :06:08.0 disabled
Power down.
acpi_power_off called
hwsleep-0285 [01]
Mikael Pettersson wrote:
On Wed, 10 Jan 2007 17:13:38 +, Alan [EMAIL PROTECTED] wrote:
This I believe completes the PIIX range of support for libata
This adds the table entries needed for the PIIX3, both a new PCI
identifier and a new mode list. It also fixes an erroneous access to PCI
On Sat, 13 Jan 2007 15:18:31 EST, Bill Davidsen said:
[EMAIL PROTECTED] wrote:
On Fri, 12 Jan 2007 10:03:49 EST, Lennart Sorensen said:
I would expect any distribution should work on these (as long as the
kernel they use isn't too old.). Of course if it is a Mac, you need a
distribution
On Sat, 13 Jan 2007 12:54:43 EST, Lennart Sorensen said:
On Fri, Jan 12, 2007 at 10:38:43PM -0500, [EMAIL PROTECTED] wrote:
CONFIG_MCORE2=y
Oh good. Makes life much simpler for users.
After writing that, I actually went back and *checked* the fine print.
It turns out that unless you have
Robert Hancock wrote:
Faik Uygur wrote:
What happens when you try to shutdown?
Does not shutdown and freezes.
Hand copied last messages seen on console:
Synchronizing SCSI cache for disk sda:
ACPI: PCI Interrupt for device :06:08.0 disabled
Power down.
acpi_power_off called
Hi, (please CC: to my email address, I'm not subscribed)
Quick question: how can I flush the disk write cache from userspace?
Long question:
I'm porting the Solaris ZFS filesystem to the FUSE/Linux filesystem framework.
This is a copy-on-write, transactional filesystem and so it needs to ensure
O Wouldn't it be better to have -determine_xfer_mask() and
-set_specific_mode() than having two somewhat overlapping callbacks?
Or is there some problem that can't be handled that way?
I'm not sure I follow what you are suggesting - can you explain further.
Right now -set_mode does all the
Hello Tejun,
13 Oca 2007 Cts 03:12 tarihinde şunları yazmıştınız:
If possible, please post dmesg of shutting down.
I have taken more detailed dmesg outputs of three configs with ATA_DEBUG and
ATA_VERBOSE_DEBUG defined. You can find them at this address:
On Thursday 11 January 2007 23:17, Bartlomiej Zolnierkiewicz wrote:
My working IDE tree (against Linus' tree) now resides here:
http://kernel.org/pub/linux/kernel/people/bart/pata-2.6/patches/
Bart, here's a driver I've been keeping out-of-tree for the past couple of
years.
This is
Len Brown wrote:
On Friday 12 January 2007 10:50, Mark Hounschell wrote:
Mark Hounschell wrote:
I have a Tyan S4881 Thunder K8QW 4 processor (8 cores). Kernel 2.6.16.37
boots
and runs fine.
However kernel 2.6.17 and up doesn't. Here is my boot error msg.
kernel /vmlinuz-2.6.17-smp
Hi,
On Tuesday 05 December 2006 13:03, James Simmons wrote:
+int probe_edid(struct display_device *dev, void *data)
+{
+ struct fb_monspecs spec;
+ ssize_t size = 45;
That code was only for testing. I do have new core code. Andrew could
you merge this patch as it is
Andrew please apply this patch.
Signed-off-by: James Simmons [EMAIL PROTECTED]
Hi,
On Tuesday 05 December 2006 13:03, James Simmons wrote:
+int probe_edid(struct display_device *dev, void *data)
+{
+ struct fb_monspecs spec;
+ ssize_t size = 45;
That code was
On Sat, 13 Jan 2007, Al Boldi wrote:
Justin Piszcz wrote:
On Sat, 13 Jan 2007, Al Boldi wrote:
Justin Piszcz wrote:
Btw, max sectors did improve my performance a little bit but
stripe_cache+read_ahead were the main optimizations that made
everything go faster by about ~1.5x.
Nick Piggin wrote:
@@ -1878,31 +1889,88 @@ generic_file_buffered_write(struct kiocb
break;
}
+ /*
+* non-uptodate pages cannot cope with short copies, and we
+* cannot take a pagefault with the destination page locked.
This patch series implements the Linux Xen guest in terms of the
paravirt-ops interface. The features in implemented this patch series
are:
* domU only
* UP only (most code is SMP-safe, but there's no way to create a new vcpu)
* writable pagetables, with late pinning/early unpinning
(no
Add a flag to allow the VGA console to be disabled. The VGA code will
spin forever if there isn't any real VGA hardware, which will happen
under Xen.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Signed-off-by: Gerd Hoffmann [EMAIL PROTECTED]
Cc: Andrew Morton [EMAIL PROTECTED]
Fix typo in sync_constant_test_bit()s name.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
===
--- a/include/asm-i386/sync_bitops.h
+++ b/include/asm-i386/sync_bitops.h
@@ -130,7 +130,7 @@ static inline int
Add paravirt hooks into the initial pagetable setup. In the native
case, the kernel builds itself a new initial pagetable from scratch.
In the Xen case, the kernel starts with a pagetable provided by the
hypervisor, which is used as the prototype for the kernel-generated
pagetable. The hooks
This provides a bootstrap and ongoing emergency console which is
intended to be available from very early during boot and at all times
thereafter, in contrast with alternatives such as UDP-based syslogd,
or logging in via ssh. The protocol is based on a simple shared-memory
ring buffer.
Wrap the paravirt_ops members we want to export in wrapper functions.
Since we binary-patch the critical ones, this doesn't make a speed
impact.
I moved drm_follow_page into the core, to avoid having to wrap the
various pte ops. Unlining kernel_fpu_end and using that in the RAID6
code would
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
Remove the ctor for the pgd cache. There's no point in having the
cache machinery do this via an indirect call when all pgd are freed in
the one place anyway.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Zachary Amsden [EMAIL PROTECTED]
Cc: Andi
Xen does not allow guests to have the kernel pmd shared between page
tables, so parameterize pgtable.c to allow both modes of operation.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Zachary Amsden [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
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.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Zachary Amsden [EMAIL PROTECTED]
Cc: Andi Kleen [EMAIL PROTECTED]
Cc: Andrew Morton [EMAIL PROTECTED]
Cc: Rusty Russell [EMAIL PROTECTED]
===
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
Add hooks to allow a paravirt implementation to track the lifetime of
an mm. Unfortunately dup_mmap and exit_mmap are in generic code, so
we need to #ifdef CONFIG_PARAVIRT.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Zachary Amsden [EMAIL
The XEN config option enables the Xen paravirt_ops interface, which is
installed when the kernel finds itself running under Xen. (By some
as-yet fully defined mechanism, implemented in a future patch.)
Xen is no longer a sub-architecture, so the X86_XEN subarch config
option has gone.
The
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]
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.
Lock an area so that PTEs are accessible in the current address space:
lock_vm_area and
Reserve a new fixmap slot for paravirt backends. Xen uses this for
mapping the hypervisor shared-info page, which doesn't really exist in
the guest address space.
Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED]
Cc: Chris Wright [EMAIL PROTECTED]
Cc: Zachary Amsden [EMAIL PROTECTED]
Cc: Andi
Add a set of accessors to pack, unpack and modify page table entries
(at all levels). This allows a paravirt implementation to control the
contents of pgd/pmd/pte entries. For example, Xen uses this to
convert the (pseudo-)physical address into a machine address when
populating a pagetable
On Fri, 12 Jan 2007 17:45:41 -0800
Jeremy Fitzhardinge [EMAIL PROTECTED] wrote:
Add a flag to allow the VGA console to be disabled. The VGA code will
spin forever if there isn't any real VGA hardware, which will happen
under Xen.
If it is doing this then the real bug should be fixed so that
+#endif
+ tty_insert_flip_char(xencons_tty, buf[i], 0);
Please use the defines like TTY_NORMAL not just 0.
+ if ((xencons_tty-flags (1 TTY_DO_WRITE_WAKEUP))
+ (xencons_tty-ldisc.write_wakeup != NULL))
+
Alan wrote:
Andrew: No objection to this tty stuff being merged provided the bugs
noted above (not worried about the sign stuff) are fixed before it goes
on to Linus.
Thanks for the comments. I'll see if I can put together a fixup patch
before LCA, but possibly not.
J
-
To
On Fri, 2007-01-12 at 17:45 -0800, Jeremy Fitzhardinge wrote:
Wrap the paravirt_ops members we want to export in wrapper functions.
Andrew, the removal of paravirt_ops export here will break kvm. Feel
free to re-add EXPORT_SYMBOL_GPL(paravirt_ops) at the bottom of
arch/i386/kernel/paravirt.c;
+#include ../../../arch/i386/paravirt-xen/events.h
+#include ../../../arch/i386/paravirt-xen/xen-page.h
this shows the headers are clearly in the wrong place...
+
+ err = xenbus_printf(xbt, dev-nodename,
+ ring-ref,%u, info-ring_ref);
why do you need your own
Pierre Ossman wrote:
Hi everyone,
As I've mentioned to some of you, I've been working on restructuring the MMC
layer in order to make it more easily maintained and to allow extensions
like SDIO support. A first draft of this is now ready for public review.
I've cc:d those who have been
I wouldn't mind if CONFIG_COMPAT_VDSO went away entirely.
But if it's there, it should work properly. Currently
it's quite haphazard: both real vma and fixmap are
mapped, both are put in the two different AT_* slots,
sysenter returns to the vma address rather than the
fixmap address, and core
This patch fixes the initialization of gate_vma.vm_flags and
gate_vma.vm_page_prot to reflect reality. This makes the [vdso] line in
/proc/PID/maps correctly show r-xp instead of ---p, when gate_vma is used
(CONFIG_COMPAT_VDSO on i386).
Signed-off-by: Roland McGrath [EMAIL PROTECTED]
---
This patch adds the VM_ALWAYSDUMP flag for vm_flags in vm_area_struct.
This provides a clean explicit way to have a vma always included in core
dumps, as is needed for vDSO's.
Signed-off-by: Roland McGrath [EMAIL PROTECTED]
---
fs/binfmt_elf.c|4
include/linux/mm.h |1 +
2
This patch fixes core dumps to include the vDSO vma, which is left out now.
It removes the special-case core writing macros, which were not doing the
right thing for the vDSO vma anyway. Instead, it uses VM_ALWAYSDUMP in the
vma; there is no need for the fixmap page to be installed. It handles
This patch fixes ia32 core dumps on x86_64 to include just one phdr for the
vDSO vma. Currently it writes a confused format with two phdrs for the
address, one without contents and one with. This patch removes the
special-case core writing macros for the ia32 vDSO. Instead, it uses
This patch fixes core dumps to include the vDSO vma, which is left out now.
Signed-off-by: Roland McGrath [EMAIL PROTECTED]
---
arch/powerpc/kernel/vdso.c |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c
index
This patch makes x86_64 define arch_vma_name for CONFIG_IA32_EMULATION.
This makes the ia32 vDSO mapping appear in /proc/PID/maps with [vdso]
for ia32 processes, as it does on native i386.
Signed-off-by: Roland McGrath [EMAIL PROTECTED]
---
arch/x86_64/ia32/syscall32.c |8
1 files
This patchs adds a utility function install_special_mapping, for creating a
special vma using a fixed set of preallocated pages as backing, such as for
a vDSO. This consolidates some nearly identical code used for vDSO mapping
reimplemented for different architectures.
Signed-off-by: Roland
This patch uses install_special_mapping for the i386 vDSO setup,
consolidating duplicated code.
Signed-off-by: Roland McGrath [EMAIL PROTECTED]
---
arch/i386/kernel/sysenter.c | 53 +--
1 files changed, 11 insertions(+), 42 deletions(-)
diff --git
This patch uses install_special_mapping for the ia32 vDSO setup,
consolidating duplicated code.
Signed-off-by: Roland McGrath [EMAIL PROTECTED]
---
arch/x86_64/ia32/syscall32.c | 75 --
include/asm-x86_64/proto.h |1 -
2 files changed, 21
This patch uses install_special_mapping for the powerpc vDSO setup,
consolidating duplicated code.
Signed-off-by: Roland McGrath [EMAIL PROTECTED]
---
arch/powerpc/kernel/vdso.c | 104 +++
1 files changed, 27 insertions(+), 77 deletions(-)
diff --git
Pierre Ossman wrote:
Hi guys,
I just wanted to know the rationale behind
99ef3ef8d5f2f5b5312627127ad63df27c0d0d05 (no more device symlink in
class devices). I thought that was a rather convenient way of finding
which physical device the class device was coupled to.
Actually I wonder why
ok here is the latest rev of this patch (against 2.6.20-rc4).
timings in cycles:
baseline patchedbaseline patched
no cache no cachecache cache
k8 pre-revF2116 1417
k8 revF3117 14
Andrew,
the following series removes the deprecated SA_xx interrupt flags as scheduled.
There are some new users of those flags since the initial cleanup patch. The
fixup of those users is split into two parts:
1) mainline fixups
2) -mm fixups
tglx
--
-
To unsubscribe from this list:
The name space cleanup of the interrupt request flags (SA_xxx - IRQF_xxx)
left a 6 month grace period for the old deprecated flags. Remove them.
Signed-off-by: Thomas Gleixner [EMAIL PROTECTED]
Index: linux-2.6.20-rc3-mm1/Documentation/feature-removal-schedule.txt
The obsolete SA_xxx interrupt flags have been used despite the scheduled
removal. Fixup the remaining users.
Signed-off-by: Thomas Gleixner [EMAIL PROTECTED]
Index: linux-2.6.20-rc5/kernel/irq/manage.c
===
---
The obsolete SA_xxx interrupt flags have been used despite the scheduled
removal. Fixup the remaining users in -mm.
Signed-off-by: Thomas Gleixner [EMAIL PROTECTED]
Index: linux-2.6.20-rc4-mm1/arch/i386/kernel/vmitime.c
===
---
On 1/13/07, Jan Engelhardt [EMAIL PROTECTED] wrote:
On Jan 13 2007 06:01, Adrian Bunk wrote:
On Fri, Jan 12, 2007 at 02:26:45PM -0800, Andrew Morton wrote:
*cough*vmware*cough*
setting CONFIG_PARAVIRT=y will return in ...
vmmon.ko module unknown symbol paravirt_ops
Without it,
On Sun, Jan 14, 2007 at 03:38:24PM +0800, Jeff Chua wrote:
On 1/13/07, Jan Engelhardt [EMAIL PROTECTED] wrote:
On Jan 13 2007 06:01, Adrian Bunk wrote:
On Fri, Jan 12, 2007 at 02:26:45PM -0800, Andrew Morton wrote:
*cough*vmware*cough*
setting CONFIG_PARAVIRT=y will return in ...
On Sun, Jan 14, 2007 at 09:10:59AM +0300, Andrey Borzenkov wrote:
Pierre Ossman wrote:
Hi guys,
I just wanted to know the rationale behind
99ef3ef8d5f2f5b5312627127ad63df27c0d0d05 (no more device symlink in
class devices). I thought that was a rather convenient way of finding
which
On Fri, Jan 12, 2007 at 05:45:57PM -0800, Jeremy Fitzhardinge wrote:
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.
Shouldn't these
On Sat, Jan 13, 2007 at 05:07:28PM -0800, Arjan van de Ven wrote:
+
+#define DPRINTK(_f, _a...) pr_debug(_f, ## _a)
why this silly abstraction? Just use pr_debug in the code directly
Actually, for drivers, like this one, you should use the dev_printk()
and friends (dev_dbg, dev_err, etc.)
This email lists some known regressions in 2.6.20-rc5 compared to 2.6.19
with patches available.
Subject: KVM: guest crash
References : http://lkml.org/lkml/2007/1/8/163
Submitter : Roland Dreier [EMAIL PROTECTED]
Handled-By : Avi Kivity [EMAIL PROTECTED]
Patch :
On Sat, Jan 13, 2007 at 07:32:46AM -0800, Roland Dreier wrote:
This email lists some known regressions in 2.6.20-rc5 compared to 2.6.19
with patches available.
Subject: KVM: guest crash
References : http://lkml.org/lkml/2007/1/8/163
Submitter : Roland Dreier [EMAIL PROTECTED]
201 - 268 of 268 matches
Mail list logo