Re: c question: *printf'ing arrays

2009-07-02 Thread Dag-Erling Smørgrav
Alexander Best alexbes...@math.uni-muenster.de writes: for (i=0; i sizeof(hdr-nintendo_logo); i++) fprintf(stderr, %x, hdr-nintendo_logo[i]); What will this print if nintendo_logo is { 0x01, 0x02, 0x03, 0x04 }? DES -- Dag-Erling Smørgrav - d...@des.no

Re: c question: *printf'ing arrays

2009-07-02 Thread Carlos A. M. dos Santos
2009/7/2 Dag-Erling Smørgrav d...@des.no: Alexander Best alexbes...@math.uni-muenster.de writes:     for (i=0; i sizeof(hdr-nintendo_logo); i++)         fprintf(stderr, %x, hdr-nintendo_logo[i]); What will this print if nintendo_logo is { 0x01, 0x02, 0x03, 0x04 }? Good catch. It will print

Re: large pages (amd64)

2009-07-02 Thread Robert Watson
On Tue, 30 Jun 2009, Mel Flynn wrote: It looks like sys/kern/kern_proc.c could call mincore around the loop at line 1601 (rev 194498), but I know nothing about the vm subsystem to know the implications or locking involved. There's still 16 bytes of spare to consume, in the kve_vminfo struct