>>>>> "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
Javier == Javier Martinez Canillas javier.marti...@collabora.co.uk
writes:
Javier The Exynos interrupt combiner IP looses its state when the SoC
s/looses/loses/
Peter C
--
Dr Peter Chubb peter.chubb AT nicta.com.au
-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 line
/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 line unsubscribe linux-kernel in
the body
t; 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 usual
mechanisms
.
Peter C
--
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 line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo
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 +1000
+++ linux-2.6-git/
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 +1000
+++ linux-2.6-git/kernel
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 unsubscribe from this list
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 unsubscribe from this list
ey 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 ERTOS within National ICT
problem somewhere.
--
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 unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
een
'acpi_sba_ioc_driver' and 'ioc_seq_ops')
WARNING: arch/ia64/hp/common/built-in.o(.sdata+0x0): Section mismatch:
reference to .init.data:__setup_str_sba_page_override before 'reserve_sba_gart'
(at offset -0x204c2613)
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu
'acpi_sba_ioc_driver' and 'ioc_seq_ops')
WARNING: arch/ia64/hp/common/built-in.o(.sdata+0x0): Section mismatch:
reference to .init.data:__setup_str_sba_page_override before 'reserve_sba_gart'
(at offset -0x204c2613)
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
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") || cpus_wei
:
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) || cpus_weight(cpumask) == 1;
)
--
Dr Peter Chubb http
> "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
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-bit
t related 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 for sim
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 AT gelato.unsw
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 for similar work, looking
at SuperPage support.
--
Dr Peter Chubb http
=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 AT gelato.unsw.edu.au
http
will 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_poss
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_register(_bu
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_register(mdio_bus_type
will 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_possible(i
ngle 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
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 unsubscribe linux-kernel in
the body
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) | etags -
+cm
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) | etags -
+cmd_TAGS = $(all
>>>>> "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
' 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 Peter Chubb http
' 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 Peter Chubb http
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_SETLEASE, F_RDLCK)
== -1) fail;
fcntl always returns EAGAIN
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 peterc
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 peterc
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
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]
More majordomo info at http://vger.kernel.org
f 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 this list: send the lin
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 this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http
s (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 immediately,
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 immediately, the political takes *forever*
-
To unsubscribe from this list: send the line
nf
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*
-
To unsubscribe
, 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*
-
To unsubscribe from this list: send the line unsubscribe linux-kernel
end 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
% 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 takes *forever*
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More
/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
===
--- lin
/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
===
--- linux-2.5
>>>>> "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 d
>>>>> "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 Mon, 14 Mar 2005 12:42:27 +1100, Peter Chubb
Jon [EMAIL PROTECTED] wrote:
Jon == Jon Smirl [EMAIL PROTECTED] writes:
The scenario I'm thinking about with these patches are things
like low-latency user-level networking between nodes
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 does, the rest of the system should
keep going. That way malicious
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:
>>
>>
le 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 peterc AT gelato.unsw.edu.au
The techni
e 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 processors. The main problem
n> 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...
--
Dr Peter Chubb http://www
>>>>> "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 and ot
>>>>> "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:
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);
&
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);
+ atomic_inc(idp-count
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:17PM +1100, Peter Chubb wrote:
+/* + * The PCI subsystem is implemented as yet-another pseudo
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 and other drivers. The first step is to be able
to handle interrupts from user
mucked up the dma
register settings, and dma'd all over the kernel by mistake...
--
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
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 processors. The main problem is that it's slow,
because it has to go off-chip.
--
Dr Peter Chubb http
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 peterc AT gelato.unsw.edu.au
The technical we do immediately, the political takes *forever*
-
To unsubscribe from this list: send
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:
The scenario I'm thinking about with these patches are things
like low-latency user-level networking between nodes
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 to [EMAIL
t 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 political takes *forever*
-
To unsubscribe
>>>>> "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. +
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. + * This is its
magic number. + */ +#define USR_PCI_MAGIC (0x12345678
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 political takes *forever*
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info
>>>>> "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
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 +++-
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
===
---
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: 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
===
---
-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 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
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
-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
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
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 |2
# drivers/usr/sys.c
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 ++
1 files changed
> "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
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 advantages.
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 ++
1 files changed, 153
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 |2
# drivers/usr/sys.c | 952
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 changed, 17
: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 Licence, version
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/entry.S
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 09:59:38.777538666
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
===
---
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
===
---
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 +++-
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
time for the currently running thread. Thus in an unpacthed kernel
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
into the in
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
into the int.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc
1 - 100 of 128 matches
Mail list logo