Re: zero runtime when negative

2012-07-02 Thread Adam Hoka
On Sun, Jul 1, 2012 at 11:46 PM, Joerg Sonnenberger wrote: > On Sun, Jul 01, 2012 at 09:05:20PM +, Christos Zoulas wrote: >> In article <4ff09c68.6000...@gmail.com>, >> Adam Hoka wrote: >> > >> >I plan to commit this if there are no good reason

Re: zero runtime when negative

2012-07-01 Thread Adam Hoka
On 6/26/2012 8:12 PM, Adam Hoka wrote: > On 6/24/2012 10:23 AM, Adam Hoka wrote: >> Hi! >> >> Can you guys please check if the following makes sense: >> >> http://www.netbsd.org/~ahoka/patches/timebackwards.diff >> >> The use case is the following

Re: zero runtime when negative

2012-06-26 Thread Adam Hoka
On 6/24/2012 10:23 AM, Adam Hoka wrote: > Hi! > > Can you guys please check if the following makes sense: > > http://www.netbsd.org/~ahoka/patches/timebackwards.diff > > The use case is the following: > > After starting NetBSD in vmware I see a lot of RL

Re: zero runtime when negative

2012-06-24 Thread Adam Hoka
On 6/24/2012 5:13 PM, Jean-Yves Migeon wrote: > On 24.06.2012 10:23, Adam Hoka wrote: >> After starting NetBSD in vmware I see a lot of RLIMIT_CPU reached >> messages overflowing my dmesg. At some time during the boot one or more >> processes calculate a negative runtime,

Re: zero runtime when negative

2012-06-24 Thread Adam Hoka
On 6/24/2012 5:00 PM, Christos Zoulas wrote: > In article <4fe6ce73.70...@gmail.com>, Adam Hoka wrote: >> Hi! >> >> Can you guys please check if the following makes sense: >> >> http://www.netbsd.org/~ahoka/patches/timebackwards.diff >>

zero runtime when negative

2012-06-24 Thread Adam Hoka
Hi! Can you guys please check if the following makes sense: http://www.netbsd.org/~ahoka/patches/timebackwards.diff The use case is the following: After starting NetBSD in vmware I see a lot of RLIMIT_CPU reached messages overflowing my dmesg. At some time during the boot one or more processes

Re: Snapshots in tmpfs

2012-02-23 Thread Adam Hoka
On 2/23/2012 7:34 PM, David Young wrote: > On Thu, Feb 23, 2012 at 07:58:11AM +, David Holland wrote: >> On Wed, Feb 22, 2012 at 08:17:15AM -0600, David Young wrote: >> > On Wed, Feb 22, 2012 at 01:42:45PM +0100, Manuel Wiesinger wrote: >> > > *) >> > > What is it good for? The only practica

Re: New console toy

2011-12-28 Thread Adam Hoka
On 12/27/2011 7:59 PM, Michael wrote: > Hello, > > some of you probably noticed a bunch of commits in rasops, wscons etc. > regarding support for anti-aliased fonts in the console. There are three > drivers which support this so far: > - genfb, if it finds a 32bit framebuffer > - ffb > - voyager

Re: New console toy

2011-12-27 Thread Adam Hoka
On 12/27/2011 7:59 PM, Michael wrote: > Hello, > > some of you probably noticed a bunch of commits in rasops, wscons etc. > regarding support for anti-aliased fonts in the console. There are three > drivers which support this so far: > - genfb, if it finds a 32bit framebuffer > - ffb > - voyager

Re: USB contigmalloc()

2011-12-01 Thread Adam Hoka
On 12/1/2011 5:33 PM, Thomas Klausner wrote: > Matthew Dillon implemented a solution for USB/graphics cards problem > stemming from the fact that some time after the boot, they can't > acquire enough contiguous memory. > > http://thread.gmane.org/gmane.os.dragonfly-bsd.kernel/14431 > > Anyone int

Re: Importing chewiefs

2011-11-23 Thread Adam Hoka
On 11/23/2011 6:03 PM, Christos Zoulas wrote: > In article <46DA345771B043F283B5E67C674DAA76@desktop>, > Adam Hoka wrote: >> Hi! >> >> If no one argues otherwise, I would like to import chewiefs to the NetBSD >> tree. >> >> The import would have

Importing chewiefs

2011-11-23 Thread Adam Hoka
Hi! If no one argues otherwise, I would like to import chewiefs to the NetBSD tree. The import would have minimal impact on existing code, but would allow for broader testing of the code and a step towards a more embedded ready NetBSD. Cheers.

Re: ChewieFS

2011-11-10 Thread Adam Hoka
It's not for SSD, but for raw flash device often found in embedded systems, like ARM, MIPS.

Re: autoclean mode for tmpfs

2011-08-07 Thread Adam Hoka
On Sun, 7 Aug 2011 18:04:43 +0200 m...@netbsd.org (Emmanuel Dreyfus) wrote: > Mouse wrote: > > > Personally? I'd say that scheduling it should be done by userland, but > > that putting the actual removal in the filesystem makes sense. > > Yes, a TTL attribute on an inode: once it expires, the

Re: genfs_getpages vs. genfs_compat_getpages

2011-08-02 Thread Adam Hoka
On Tue, 2 Aug 2011 13:08:55 -0500 wrote: > Gentlepeople, > > Some file systems use genfs_compat_getpages while others (most of them) use > genfs_getpages. I'm trying to figure out the essential differences, and why > one would pick one over the other. > > Any pointers? > >pa

Re: Etymology of 'softc'

2011-07-30 Thread Adam Hoka
On Fri, 29 Jul 2011 18:44:06 -0400 Greg Troxel wrote: > > Anyone knows what is the etimology for softc? > What does it mean? Where does it come from? When was it first used? > > In PDP-11 context, CSR means "control and status register". Often there > was an address (for a 16-bit word) tha

Etymology of 'softc'

2011-07-29 Thread Adam Hoka
Hi! Anyone knows what is the etimology for softc? What does it mean? Where does it come from? When was it first used? -- NetBSD - Simplicity is prerequisite for reliability

Re: Dutch keymap not imported into NetBSD :p

2011-07-23 Thread Adam Hoka
On Fri, 22 Jul 2011 19:05:14 +0200 gilbert.fernan...@orange.fr wrote: > On Fri, Jul 22, 2011 at 10:59:37AM +0200, Rhialto wrote: > > > That must be very rare! Nobody in their right mind uses a Dutch > > keyboard. And I say that as a Dutch person. > > They are. I know the Dutch have moved to usin

Re: heads up: rename fixed

2011-07-18 Thread Adam Hoka
On Mon, 18 Jul 2011 14:49:32 + David Holland wrote: > On Mon, Jul 18, 2011 at 09:37:33AM -0400, Thor Lancelot Simon wrote: > > On Mon, Jul 18, 2011 at 08:00:18AM +, David Holland wrote: > > > > > > Other fses with their own rename implementations whose locking is > > > clearly wrong

Re: Merge of rmind-uvmplock branch

2011-06-01 Thread Adam Hoka
On Tue, 31 May 2011 22:15:36 +0100 Mindaugas Rasiukevicius wrote: > Hello, > > Unless anyone objects, I will merge rmind-uvmplock branch. The technical > objectives of the branch are described here: > > http://nxr.netbsd.org/xref/src/doc/BRANCHES?r=1.307#488 > > This results in: > > - Rewrit

Re: Importing Flash and NAND subsystem for NetBSD

2011-02-22 Thread Adam Hoka
On Sun, 20 Feb 2011 19:00:38 + Mindaugas Rasiukevicius wrote: > Adam Hoka wrote: > > Latest update: http://www.netbsd.org/~ahoka/patches/flash_9.diff > > > > I will commit this in the following days if there are no other > > suggestions. > > - Why ha

Re: Importing Flash and NAND subsystem for NetBSD

2011-02-18 Thread Adam Hoka
Latest update: http://www.netbsd.org/~ahoka/patches/flash_9.diff I will commit this in the following days if there are no other suggestions. Thanks. -- NetBSD - Simplicity is prerequisite for reliability

Re: Importing Flash and NAND subsystem for NetBSD

2011-02-16 Thread Adam Hoka
On 14 Feb 2011 18:11:47 +0900 enami tsugutomo wrote: > Adam Hoka writes: > > > Updated patch (it was missing one file): > > > > http://www.netbsd.org/~ahoka/patches/flash_4.diff > > Is all allocated memory free'ed? At a first glance, I can't

Re: Importing Flash and NAND subsystem for NetBSD

2011-02-15 Thread Adam Hoka
On Mon, Feb 14, 2011 at 6:51 PM, Adam Hoka wrote: > Updated with suggestions from Joerg: > > http://www.netbsd.org/~ahoka/patches/flash_6.diff > > -- > NetBSD - Simplicity is prerequisite for reliability > Minor modifications: http://www.netbsd.org/~ahoka/patches/fla

Re: Importing Flash and NAND subsystem for NetBSD

2011-02-14 Thread Adam Hoka
Updated with suggestions from Joerg: http://www.netbsd.org/~ahoka/patches/flash_6.diff -- NetBSD - Simplicity is prerequisite for reliability

Re: Importing Flash and NAND subsystem for NetBSD

2011-02-14 Thread Adam Hoka
New version: http://www.netbsd.org/~ahoka/patches/flash_5.diff I hope the popcount part is OK. -- NetBSD - Simplicity is prerequisite for reliability

Re: Importing Flash and NAND subsystem for NetBSD

2011-02-14 Thread Adam Hoka
On Sun, 13 Feb 2011 10:44:45 -0800 Matt Thomas wrote: > Use > struct name { > please (in flashio.h) Can you ellaborate on this please? -- NetBSD - Simplicity is prerequisite for reliability

Re: Importing Flash and NAND subsystem for NetBSD

2011-02-13 Thread Adam Hoka
On Sun, 13 Feb 2011 10:44:45 -0800 Matt Thomas wrote: > > On Feb 13, 2011, at 7:30 AM, Adam Hoka wrote: > > > On Sun, 13 Feb 2011 15:23:19 +0100 > > Adam Hoka wrote: > > > >> Hi! > >> > >> The University of Szeged, Hungary developed a F

Re: Importing Flash and NAND subsystem for NetBSD

2011-02-13 Thread Adam Hoka
On Sun, 13 Feb 2011 15:23:19 +0100 Adam Hoka wrote: > Hi! > > The University of Szeged, Hungary developed a Flash and NAND subsystem for > NetBSD, which I would like to import into src. Most of the code was written > by me so direct any questions and suggestions to me. A s

Importing Flash and NAND subsystem for NetBSD

2011-02-13 Thread Adam Hoka
Hi! The University of Szeged, Hungary developed a Flash and NAND subsystem for NetBSD, which I would like to import into src. Most of the code was written by me so direct any questions and suggestions to me. A sample driver is provided for OMAP NAND controllers as found in BeagleBoard and DEVKIT80

Re: radix tree implementation for quota ?

2010-11-28 Thread Adam Hoka
On Sun, 28 Nov 2010 09:31:47 -0800 Matt Thomas wrote: > > On Nov 28, 2010, at 9:27 AM, Manuel Bouyer wrote: > > > On Sun, Nov 28, 2010 at 05:21:52PM +, Sad Clouds wrote: > >> On Sun, 28 Nov 2010 17:53:59 +0100 > >> Manuel Bouyer wrote: > >> > >>> One open question is how to store quota in

Re: mutexes, locks and so on...

2010-11-11 Thread Adam Hoka
On Thu, 11 Nov 2010 17:22:03 +0100 Johnny Billquist wrote: > I've been looking through the netbsd mutex, and lock implementations the > last few days, with the intent to try and improve the performance on the > VAX, which has suffered somewhat in performance with NetBSD (maybe other > platform

Re: kernel module loading vs securelevel

2010-10-16 Thread Adam Hoka
On Sun, 17 Oct 2010 03:38:42 +0900 Izumi Tsutsui wrote: > > > > > If we should I'll enable options INSECURE by default on ports > > > > > that require options MODULAR (to save kernel file size). > > > > > > > > Do not do that. You will introduce a significant security regression > > > > ju

Re: EHCI of SoC

2010-09-09 Thread Adam Hoka
On Thu, 09 Sep 2010 16:17:04 +0900 (JST) KIYOHARA Takashi wrote: > I know different additional initialization to be necessary for i.MX35. > We also should initialize to LSI dependent registers by callback > function. By LSI, you mean IC/chip here? > @@ -392,6 +392,17 @@ > aprint

lockdebug messages in dmesg (was: Preserving early console output (pre-Copyright stuff))

2010-07-01 Thread Adam Hoka
btw, is this intentional that lockdebug panic messages dont end up in dmesg? -- NetBSD - Simplicity is prerequisite for reliability

Re: Simplelock v.s lock

2010-06-17 Thread Adam Hoka
On Thu, 17 Jun 2010 16:53:38 +0200 Putrycy wrote: > Hey guys. I am a noob in netbsd. I had some experience with linux before > though. > During my work, ive approached a problem when i need to use a > Linux-like spin locks. > I found out that i need to use either lock or simplelock in NetBSD. >

Re: Files missing in /usr/include?

2010-05-26 Thread Adam Hoka
On Wed, 26 May 2010 12:10:44 -0500 Matt Smith wrote: > Hello, > > I'm working on porting the OpenAFS client over to NetBSD 5.0.2. In > trying to compile the LKM for it, the files cpu.h and intr.h in > /usr/include/x86/ are included. These headers include additional > headers. The problem, howeve

Re: updating COMPAT_LINUX for linux 2.6.x support.

2010-05-03 Thread Adam Hoka
On Mon, 3 May 2010 13:56:38 +0200 Tobias Nygren wrote: > On Sun, 2 May 2010 19:32:09 -0700 > Chuck Silvers wrote: > > > (1) what linux distribution do we want in the pkgsrc packages? > > the tradition has been SUSE, so I assume we'll want to use SUSE 11.x? > > (tonio@ has volunteered to

Re: pad(4) in amd64 GENERIC

2010-04-09 Thread Adam Hoka
On Fri, 09 Apr 2010 16:32:30 +0200 Christoph Egger wrote: > On 09.04.10 16:29, Adam Hoka wrote: > > Hi! > > > > I have removed pad from amd64 GENERIC, because I have added it as > > a module instead, but I have recieved complaints about this. > > > > I d

pad(4) in amd64 GENERIC

2010-04-09 Thread Adam Hoka
Hi! I have removed pad from amd64 GENERIC, because I have added it as a module instead, but I have recieved complaints about this. I dont think it needs to "pollute" generic as most users wont need it and it appears as an audio device, which can be confusing. I will happily add it back, but firs

Re: kernel module for pad(4)

2010-03-26 Thread Adam Hoka
On Thu, 25 Mar 2010 23:14:47 +0100 Zafer Aydogan wrote: > 2010/3/24 Adam Hoka : > > Hi! > > > > Anyone can have a look at this and/or test it? > > http://www.netbsd.org/~ahoka/patches/sys_modules_pad.tar.gz > > This is my first try at making a module,

kernel module for pad(4)

2010-03-24 Thread Adam Hoka
Hi! Anyone can have a look at this and/or test it? http://www.netbsd.org/~ahoka/patches/sys_modules_pad.tar.gz This is my first try at making a module, so any comments are welcomed. :-) Cheers, Adam -- NetBSD - Simplicity is prerequisite for reliability

Re: (Semi-random) thoughts on device tree structure and devfs

2010-03-11 Thread Adam Hoka
On Thu, 11 Mar 2010 18:18:54 +0100 Joerg Sonnenberger wrote: > On Thu, Mar 11, 2010 at 06:12:40PM +0100, Adam Hoka wrote: > > Im wondering if it would be too hack-ish to make devfs file > > backed (at least optionally, in case of early boot or read > > only rootfs). > &

Re: (Semi-random) thoughts on device tree structure and devfs

2010-03-11 Thread Adam Hoka
On Fri, 12 Mar 2010 00:35:24 +0900 Masao Uebayashi wrote: > On Thu, Mar 11, 2010 at 11:50 PM, Masao Uebayashi wrote: > > On Thu, Mar 11, 2010 at 11:32 PM, Johnny Billquist wrote: > >> I missed when Jochen wrote this, so I'll comment now. > >> This might sound tempting, but I don't think it is a