search for: noreus

Displaying 2 results from an estimated 2 matches for "noreus".

Did you mean: nores
2015 Aug 28
2
RFC: alloca -- specify rounding factor for allocation (and more)
...reate directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # types.h # a_b.c # a_b_c.c # main.c # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' XCFLAGS=-g -O3 -DNDEBUG X X Xall: reuse noreuse X Xa_b1.o: a_b.c X $(CC) $(CFLAGS) -c -o $@ -DREUSE=0 $+ X Xa_b2.o: a_b.c X $(CC) $(CFLAGS) -c -o $@ -DREUSE=1 $+ X Xnoreuse: a_b1.o a_b_c.o main.o X $(CC) -o $@ $(CFLAGS) $+ X Xreuse: a_b2.o a_b_c.o main.o X $(CC) -o $@ $(CFLAGS) $+ X Xclean: X rm *.o noreuse reuse X X Xreuse.shar: Makefile *.h *...
2010 Nov 04
4
fadvise DONTNEED implementation (or lack thereof)
...(although never merged, it seems) incorporating fadvise support, but I found its implementation rather odd, using mincore() and FADV_DONTNEED to kick out only regions brought in by rsync. It seemed to me the simpler and more appropriate solution would be to simply flag every touched file with FADV_NOREUSE and let the kernel manage automatically expelling used pages. After looking deeper into the kernel implementation[2] of fadvise() the reason for using DONTNEED became more apparant. It seems that the kernel implements NOREUSE as a noop. A little googling revealed[3] that I not the first person to...