gt;> but not all of them.
Ingo> Yes, that's another possible solution, assuming that it's really
Ingo> only about the up/down difference.
Ingo> Thanks,
IA64 has two stacks -- the standard one, that grows down, and the
register stack engine backing store, that grows up. The u
+N: Kingsley Cheung
+E: [EMAIL PROTECTED]
+D: Page fault calculation
+D: /proc//rss support
+D: kswapd improvements regarding process RSS limits
+S: Aurema Pty Limited
+S: PO Box 305, Strawberry Hills NSW 2012,
+S: Australia
+
+N: Peter Chubb
+E: [EMAIL PROTECTED]
+D: Page fault calculation
+D:
' opens the file for
writing or truncates it. The kernel implements `any process'
(including the current one).
Which semantics are correct? Personally I think that what the kernel
implements is correct (you can't get a read lease unsless there are no
writers _at_ _all_)
--
Dr Pe
>>>>> "Trond" == Trond Myklebust <[EMAIL PROTECTED]> writes:
Trond> to den 11.08.2005 Klokka 09:48 (+1000) skreiv Peter Chubb:
>> Hi, The LTP test fcntl23 is failing. It does, in essence, fd =
>> open(xxx, O_RDWR|O_CREAT, 0777); if (fcntl(fd, F_S
You may want to take a look at the user-mode driver infrastructure
patches, which do almost exactly what you're trying to do.
Get them from
http://www.gelato.unsw.edu.au/cgi-bin/viewcvs.cgi/cvs/kernel/usrdrivers/kernel-2.6.12-rc3/
--
Dr Peter Chubb http://www.gelato.unsw.edu.au pete
lar problem for MIPS, which needs to match LEAF(entrypoint)
Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -1187,7 +1187,7 @@ cscope: FORCE
$(call cmd,cscope)
quiet_cmd_TAGS = MAKE $@
-cmd_TAGS = $(all-sources
threaded and tends not to get the full benefit of either the
multiple spindles nor the multiple processors.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
To unsubscribe from this list: send the line
esd from __init sections in, say, phy_init().
Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c
--- a/drivers/net/phy/mdio_bus.c
+++ b/drivers/net/phy/mdio_bus.c
@@ -170,7 +170,7 @@ int __init mdio_bus_init(void)
return bus_re
l not
be invoked.
Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
diff --git a/arch/ia64/kernel/module.c b/arch/ia64/kernel/module.c
--- a/arch/ia64/kernel/module.c
+++ b/arch/ia64/kernel/module.c
@@ -951,4 +951,10 @@ percpu_modcopy (void *pcpudst, const voi
if (cpu
On Gwe, 2005-03-11 at 03:36, Peter Chubb wrote:
> +static irqreturn_t irq_proc_irq_handler(int irq, void *vidp, struct pt_regs
> *regs)
> +{
> + struct irq_proc *idp = (struct irq_proc *)vidp;
> +
> + BUG_ON(idp->irq != irq);
> + disable_irq_nosync(irq);
>>>>> "Greg" == Greg KH <[EMAIL PROTECTED]> writes:
Greg> On Fri, Mar 11, 2005 at 07:34:46PM +1100, Peter Chubb wrote:
>> >>>>> "Greg" == Greg KH <[EMAIL PROTECTED]> writes:
>>
Greg> On Fri, Mar 11, 2005 at 02:37:
>>>>> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes:
Jon> On Fri, 11 Mar 2005 14:36:10 +1100, Peter Chubb
Jon> <[EMAIL PROTECTED]> wrote:
>> As many of you will be aware, we've been working on infrastructure
>> for user-mode PCI a
on't get the
Jon> interrupts acknowledged correctly and you'll end up rebooting.
That's not actually true, at least when we developed drivers here.
The only times we had to reboot were the times we mucked up the dma
register settings, and dma'd all over the kernel by mistake
r
space when the driver tries to open the file representing the interrupt.
Jon> Also what about SMP, if you shut the IRQ off on one CPU isn't it
Jon> still enabled on all of the others?
Nope. disable_irq_nosync() talks to the interrupt controller, which
is common to all the processor
ically one of the slowest
single parts of a device driver (latency can be > 2 usec), so you don't
really want to have to read it again within the driver... so you'd
probably want to pass it as part of the interrupt arguments to the
driver.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au
>>>>> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes:
Jon> On Mon, 14 Mar 2005 12:42:27 +1100, Peter Chubb
Jon> <[EMAIL PROTECTED]> wrote:
>> >>>>> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes:
>>
>>
seeing this on more realistic workloads?
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message
>>>>> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes:
Jon> On Mon, 14 Mar 2005 12:42:27 +1100, Peter Chubb
Jon> <[EMAIL PROTECTED]> wrote:
>> >>>>> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes:
>>
>>
>>>>> "Jon" == Jon Smirl <[EMAIL PROTECTED]> writes:
Jon> On Tue, 15 Mar 2005 14:47:42 +1100, Peter Chubb
Jon> <[EMAIL PROTECTED]> wrote:
>> What I really want to do is deprivilege the driver code as much as
>> possible. Whatever a driver d
ion `.exit.text' from
net/built-in.o
A simple fix is to delete the __exit from the various functions now that
they're called other than at module_exit.
Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
Index: linux-2.5-import/net/ipv6/route.c
tend them to understand fixed point. Keep
printing integers as integers, print non-integers with one (or two:
will we ever need 0.01% increments?) decimal places.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political t
/limits.conf
On an almost-single-user system such as most desktops, there isn't much
point in setting this. On shared systems, it can be useful.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
ur
tests (to be published in Linux.Conf.Au next month) show that XFS is
significantly faster for some workloads.
Also its scalability to very large filesystems is much more mature than ext3.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do imme
, killing interrupt handler!
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PR
10536 13% /mnt/ram-disk
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
When I try to write to a UDF fs on a USB-connected Ricoh dvd-burner,
(specificly, create a directory)
I get:
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bu
>>>>> "Alan" == Alan Kilian <[EMAIL PROTECTED]> writes:
Alan> kernel: SSE: Found a DeCypher card. kernel: ACPI: PCI
Alan> interrupt :13:03.0[A] -> GSI 36 (level, low) -> IRQ 217
If ACPI has set this device up to use interrupt 217, why ar
e got to be a privileged user to set
real time very high priority on a thread, and if you do, you'd better
know what you're doing. Any SCHED_FIFO thread should run for a time,
then sleep for a time, or it *will* DOS everything else on the
processor.
--
Dr Peter Chubb http://www.gelato.
change could cause existing
Andrew> applications and scripts to fail. Sure, we'll do that
Andrew> sometimes but this doesn't seem important enough.
What's more, there have been (and still are) out-of-tree patches to
enforce rlimit-RSS in various ways. There jus
Hi,
As part of the Gelato scalability focus group, we've been running
OSDL's Re-AIM7 benchmark with an I/O intensive load with varying
numbers of processors. The current kernel shows severe contention on
the tree_lock in the address space structure when running on tmpfs or
ext2 on a RAM d
Sorry, forgot the `signed-off-by'...
Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
To unsubscribe from this list: send the line "u
file *file, const char *buffer,
Kristian> unsigned long count, void *data) {
Kristian> char *policy;
Kristian> int *lbuf;
Kristian> int i;
Here's your problem: lbuf should be a char * not an int *.
When you look lbuf[0] you'll get the first four characters packed
i
> "John" == John Richard Moser <[EMAIL PROTECTED]> writes:
John> I've done more thought, here's a small list of advantages on
John> using binary drivers, specifically considering UDI. You can
John> consider a different implementation for binary drivers as well,
John> with most of the same ad
... talk to device to handle interrupt
}
If you don't care about latency, then forget about the mlockall() and
setting the priority, and you don't need CONFIG_PREEMPT.
Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
kernel/irq/proc.c | 163 +++
e fd wasn't obtained from usr_pci_open, or the
struct mapping_info was never mapped for this device
Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
#
# drivers/Makefile |3
# drivers/pci/Kconfig|6
# drivers/usr/Makefile |
User-level drivers: Add system calls for I386 and IA64.
Signed-Off-By: Peter Chubb <[EMAIL PROTECTED]>
#
# arch/i386/kernel/entry.S |4
# arch/ia64/kernel/entry.S |8
# include/asm-i386/unistd.h |6 +-
# include/asm-ia64/unistd.h |4
# 4 files chang
-03-11 09:58:20.574030768 +1100
@@ -0,0 +1,472 @@
+/*
+ * Microstate accounting.
+ * Try to account for various states much more accurately than
+ * the normal code does.
+ *
+ * Copyright (c) Peter Chubb 2005
+ * UNSW and National ICT Australia
+ * This code is released under the Gnu Public L
Microstate Accounting: Track time in system calls and interrupts, i386 code.
Signed-off-by; Peter Chubb <[EMAIL PROTECTED]>
arch/i386/kernel/entry.S | 16
arch/i386/kernel/irq.c | 13 -
Index: linux-2.6-ustate/arch/i386/kernel/e
Microstate Accounting:
Add hooks into the scheduler to track state changes.
Arrange for parent process's child times to be updated at process exit.
kernel/sched.c |8
kernel/exit.c |3 +++
Index: linux-2.6-ustate/kernel/sched.c
=
-by: Peter Chubb <[EMAIL PROTECTED]>
Index: linux-2.6-ustate/arch/i386/Kconfig
===
--- linux-2.6-ustate.orig/arch/i386/Kconfig 2005-03-11 09:59:38.773632446
+1100
+++ linux-2.6-ustate/arch/i386/Kconfig 2005-03-11
Microstate accounting: Add the I386 system call.
arch/i386/kernel/entry.S |2 +-
include/asm-i386/unistd.h |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6-ustate/arch/i386/kernel/entry.S
===
--- lin
Microstate accounting: Track time spent asleep while paging,
in poll() or select(), or on a futex separately from other sleeps.
fs/select.c |2 ++
kernel/futex.c |2 ++
mm/memory.c |6 +-
Index: linux-2.6-ustate/mm/memory.c
==
Microstate accounting: Account for time in interrupt handlers for I386.
arch/i386/kernel/irq.c | 13 -
1 files changed, 12 insertions(+), 1 deletion(-)
Index: linux-2.6-ustate/arch/i386/kernel/irq.c
===
--- linux-2.6
Microstate Accounting:
Add suppoort for IA64.
linux-2.6-ustate/arch/ia64/Kconfig | 25 +++
linux-2.6-ustate/arch/ia64/kernel/entry.S| 44 +++
linux-2.6-ustate/arch/ia64/kernel/irq_ia64.c | 21 +++-
linux-2.6-ustate/arch/ia64/kernel
>>>>> "Andrew" == Andrew Morton <[EMAIL PROTECTED]> writes:
Andrew> Peter Chubb <[EMAIL PROTECTED]> wrote:
>> Timing data on threads at present is pretty crude: when the timer
>> interrupt occurs, a tick is added to either system time or user
&
>>>>> "Greg" == Greg KH <[EMAIL PROTECTED]> writes:
Greg> On Fri, Mar 11, 2005 at 02:37:17PM +1100, Peter Chubb wrote:
>> +/* + * The PCI subsystem is implemented as yet-another pseudo
>> filesystem, + * albeit one that is never mounted. +
ho don't want this ---
but there are some who do. I've maintained this patch since mid 2003,
and have seen a steady trickle of downloads --- one or two a week.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the politica
.
2. If you're on a multiprocessor, the cycle counters of
different processors need not be synchronised.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
To unsubscribe from thi
ngle jiffy
error gives you the printout you mention.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a mess
or writing; write_is_locked() returns true if the
lock is held for reading or writing.
Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
Index: linux-2.6-bklock/include/asm-ia64/spinlock.h
===
--- linux-2.6-bklock.orig/include/asm-ia64/spinloc
>>>>> "Ingo" == Ingo Molnar <[EMAIL PROTECTED]> writes:
Ingo> * Peter Chubb <[EMAIL PROTECTED]> wrote:
>> Here's a patch that adds the missing read_is_locked() and
>> write_is_locked() macros for IA64. When combined with Ingo
_can_lock() --- a write_lock() would have succeeded.
IA64 implementation:
#define read_can_lock(x) (*(volatile int *)x >= 0)
#define write_can_lock(x) (*(volatile int *)x == 0)
Then use them as
!read_can_lock(x)
where you want the old semantics. The compiler ought to be smart
enough
atency
Jack> right. Any experience with that?
The nice thing about audio/video and XFS is that if you know ahead of
time the max size of a file (and you usually do -- because you know
ahead of time how long a take is going to be) you can precreadte the
file as a contiguous chunk, then just fi
ower operations.
On 64-bit platforms it *is* always enabled.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of
ges allow building a zx1_defconfig kernel with gcc 4.2
on IA64.
Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
Index: linux-2.6-git/kernel/profile.c
===
--- linux-2.6-git.orig/kernel/profile.c 2007-08-09 12:10:19.921216500 +100
to huge page size ???
sudhnesh> Will the problems related to huge pages such as
sudhnesh> swapping,IO,etc...will be covered if I use ski with 2.6
sudhnesh> kernel image configured for ia64 archi with huge page size
sudhnesh> support ?
Should work perfectly. We've been using Ski fo
omething like:
make CROSS_COMPILE=ia64-linux-gnu ARCH=ia64 boot
to build kernel and bootloader.
You need to get or build yourself a disk image. Instructions for
building at http://www.gelato.unsw.edu.au/IA64wiki/skidiskimage
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc
x27;ve currently got this working to pass interrupts to a type-II (hosted)
virtual machine monitor running a guest kernel with native drivers.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
-
To u
(between 'Symbios_trailer.24436' and 'try_direct_io')
WARNING: drivers/built-in.o(.sdata+0xb00): Section mismatch: reference to
.init.data: (between 'st_max_sg_segs' and 'osst_version')
WARNING: arch/ia64/hp/common/built-in.o(.data.rel.local+0xa8): Section
mismatc
in the same section they reference.
But I'm no gcc guru. The alternative is to get modpost to ignore such
references, at the cost of perhaps missing a real problem somewhere.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au
> "Jeremy" == Jeremy Fitzhardinge <[EMAIL PROTECTED]> writes:
Jeremy> And do the same in pte pages for actual mapped pages? Or do
Jeremy> you think they would be too densely populated for it to be
Jeremy> worthwhile?
We've been doing some measurements on how densely clumped ptes are.
On 32-
return false;
Why not just:
return cpus_weight(cpumask) == 1;
It's a Boolean; treat it as one.
(If you thought the average kernel programmer (who's s/he?) understood
the logical implication rule it could be:
return !ia64_platform_is("sn2") |
nel/u-boot/blob/odroidxu3-v2012.07/board/samsung/smdk5420/lowlevel_init.S
at symbol nscode_base near line 104
--
Dr Peter Chubb peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA
--
To unsubscribe from this list: send the li
>>>>> "Javier" == Javier Martinez Canillas
>>>>> writes:
Javier> The Exynos interrupt combiner IP looses its state when the SoC
s/looses/loses/
Peter C
--
Dr Peter Chubb
64 matches
Mail list logo