Re: CVS commit: src/sys/ufs/ufs

2012-01-29 Thread David Holland
On Sun, Jan 29, 2012 at 08:49:02AM +, Izumi Tsutsui wrote:
 > Modified Files:
 >  src/sys/ufs/ufs: ufs_vfsops.c
 > 
 > Log Message:
 > Fix errors in !defined(QUOTA) && !defined(QUOTA2) case.

Whoops, sorry...
-- 
David A. Holland
dholl...@netbsd.org


Re: CVS commit: src

2012-01-29 Thread Alexander Nasonov
David Holland wrote:
> Is comp.std.c still alive? Bringing it up there would be a good start.

I found a related discussion:

can an expression be a member-designator in offsetof macro, Aug 12 2001
https://groups.google.com/group/comp.std.c/browse_thread/thread/771a804a75eb9969/60a16f6878a58e35?hl=end617fb9bacb3ea6&lnk=gst&q=offsetof#60a16f6878a58e35

Alex


Re: CVS commit: src

2012-01-29 Thread Alexander Nasonov
Alexander Nasonov wrote:
> I found a related discussion:
> 
> can an expression be a member-designator in offsetof macro, Aug 12 2001
> https://groups.google.com/group/comp.std.c/browse_thread/thread/771a804a75eb9969/60a16f6878a58e35?hl=end617fb9bacb3ea6&lnk=gst&q=offsetof#60a16f6878a58e35

Also, an example in DR282
http://www.open-std.org/JTC1/SC22/WG14/www/docs/dr_282.htm

uses sizeof(struct s) + sizeof(fam_t[nitems]) rather than
offsetof(struct s, fam[nitems]).

Alex


Re: CVS commit: src/sys/external/bsd/drm/dist/bsd-core

2012-01-29 Thread Lars Heidieker
we should fix the inconsistent use then, the problem ist malloc(9)
does not return page aligned memory as kmem does now, for allocations
>= PAGE_SIZE and that break drm mmap

where does the diagnostic panic occur?

lars

On Sun, Jan 29, 2012 at 12:49 PM, Matthias Drochner  wrote:
> Module Name:    src
> Committed By:   drochner
> Date:           Sun Jan 29 11:49:02 UTC 2012
>
> Modified Files:
>        src/sys/external/bsd/drm/dist/bsd-core: drm_bufs.c
>
> Log Message:
> remove incomplete conversion to kmem_alloc -- inconsistent use
> leads at least to diagnostic panics
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/drm/dist/bsd-core/drm_bufs.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>


Re: CVS commit: src/distrib/sets/lists/base

2012-01-29 Thread Christos Zoulas
In article <20120129011457.gb19...@netbsd.org>,
David Holland   wrote:
>On Sat, Jan 28, 2012 at 03:10:24PM +, Paul Goyette wrote:
> > Modified Files:
> > src/distrib/sets/lists/base: mi
> > 
> > Log Message:
> > Add new directories for trousers to sets lists.  The directories get
> > created even if they're not populated.
> > 
> > Hello again, christos!
>
>howsabout we conditionalize that on MKTPM and default to no?

Yes, this should default to not build. On the other hand there is the
issue of mtree and the directories that caused this issue.

christos



Re: CVS commit: src/sys/external/bsd/drm/dist/bsd-core

2012-01-29 Thread Matthias Drochner

lars.heidie...@googlemail.com said:
> where does the diagnostic panic occur?

It was in the course of a realloc() from drm code. It did
apparently assume that the to be free'd block was allocated
by the pool code where it was allocated by kmem.

best regards
Matthias



---
---
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
---
---

Kennen Sie schon unsere app? http://www.fz-juelich.de/app