Code: Select all
memory=malloc(count*1024*1024*sizeof(short));
memset(memory,0,count*1024*1024*sizeof(short));
free(memory);
Code: Select all
memory=malloc(count*1024*1024*sizeof(short));
memset(memory,0,count*1024*1024*sizeof(short));
free(memory);

nicedodo1122 wrote:Good news everyone, i'll push 2.6.25-zen1 to master as soon as i get home. PAtches from sourceforge will also be available. Everything builds with make allmodconfig, stuff is cleaned up, we also dropped some stuff which was redundant (like acer-acpi, which has been merged into mainline).
dodo
Hi mike and thanks for the reply. If I understend it right that code is trying to reserve all available memory (+ which is cashed) and then to free it. 'count' is I suppose size of RAM in MB? And why do you need '*sizeof(short)'?mmike wrote:Code: Select all
memory=malloc(count*1024*1024*sizeof(short)); memset(memory,0,count*1024*1024*sizeof(short)); free(memory);
Code: Select all
#!/bin/bash
sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
Code: Select all
make[1]: *** No rule to make target `block/bfq-iosched.o', needed by `block/built-in.o'. Stop.
make: *** [block] Error 2
Code: Select all
fs/built-in.o: In function `direct_splice_actor':
splice.c:(.text+0x189f1): undefined reference to `vfs_splice_from'
fs/built-in.o: In function `splice_direct_to_actor':
(.text+0x18bb9): undefined reference to `vfs_splice_to'
fs/built-in.o: In function `sys_splice':
(.text+0x19d54): undefined reference to `vfs_splice_from'
fs/built-in.o: In function `sys_splice':
(.text+0x19dd8): undefined reference to `vfs_splice_to'
make: *** [.tmp_vmlinux1] Error 1

bfq isn't "supported" / working in .25-zen0,Jupiter1TX wrote:Just tried 2.6.25-zen0 on x86 and i get build errors.I disabled BFQ and get new error so i stopped.Code: Select all
make[1]: *** No rule to make target `block/bfq-iosched.o', needed by `block/built-in.o'. Stop. make: *** [block] Error 2Code: Select all
fs/built-in.o: In function `direct_splice_actor': splice.c:(.text+0x189f1): undefined reference to `vfs_splice_from' fs/built-in.o: In function `splice_direct_to_actor': (.text+0x18bb9): undefined reference to `vfs_splice_to' fs/built-in.o: In function `sys_splice': (.text+0x19d54): undefined reference to `vfs_splice_from' fs/built-in.o: In function `sys_splice': (.text+0x19dd8): undefined reference to `vfs_splice_to' make: *** [.tmp_vmlinux1] Error 1
Impatientdodo1122 wrote:Yes, once we release -zen1. By the way, -zen1 is delayed till tomorrow, as we need to review ckpatches to ensure they are stable enough to be used. Also, we are trying to fix btrfs acl support. Everything else is ready(tm), including aufs.
dodo

++Kollin wrote:Impatientdodo1122 wrote:Yes, once we release -zen1. By the way, -zen1 is delayed till tomorrow, as we need to review ckpatches to ensure they are stable enough to be used. Also, we are trying to fix btrfs acl support. Everything else is ready(tm), including aufs.
dodo


I remade most of the branches, so now reiser4 branch contains only the reiser4-for.2.6.25 patch. Does it include those patches which you posted, or is it the reiser4-devel branch?kernelOfTruth wrote:could you please also include the following 3 reiser4-patches ?
http://thread.gmane.org/gmane.comp.file ... eral/21498
http://thread.gmane.org/gmane.comp.file ... eral/21499
http://thread.gmane.org/gmane.comp.file ... eral/21500
many thanks in advance
edit:
it seems as if those patches were already added to zen-sources - but how ?![]()
- so please ignore above mentioned patches![]()
![]()


this should make master-new ready for (test-)consumption, I guess[zen-menu] add missing files zen-menu

mm/filemap.c: In function ‘generic_file_aio_read’:
mm/filemap.c:951: warning: ‘end_index’ may be used uninitialized in this function
mm/filemap.c:951: note: ‘end_index’ was declared here
CC mm/mempool.o
CC mm/oom_kill.o
CC mm/fadvise.o
CC mm/page_alloc.o
CC mm/page-writeback.o
CC mm/pdflush.o
CC mm/readahead.o
CC mm/swap.o
CC mm/truncate.o
CC mm/vmscan.o
mm/vmscan.c: In function ‘shrink_one_zone’:
mm/vmscan.cerror: unknown field ‘swappiness’ specified in initializer
mm/vmscan.cerror: ‘vm_swappiness’ undeclared (first use in this function)
mm/vmscan.cerror: (Each undeclared identifier is reported only once
mm/vmscan.cerror: for each function it appears in.)
make[1]: *** [mm/vmscan.o] Error 1
make: *** [mm] Error 2
Code: Select all
git branch master-devel origin/master-devel
git checkout master-devel


ok, screw thatkernelOfTruth wrote:latest master-new is failing (ck-patchset ?):![]()
mm/filemap.c: In function ‘generic_file_aio_read’:
mm/filemap.c:951: warning: ‘end_index’ may be used uninitialized in this function
mm/filemap.c:951: note: ‘end_index’ was declared here
CC mm/mempool.o
CC mm/oom_kill.o
CC mm/fadvise.o
CC mm/page_alloc.o
CC mm/page-writeback.o
CC mm/pdflush.o
CC mm/readahead.o
CC mm/swap.o
CC mm/truncate.o
CC mm/vmscan.o
mm/vmscan.c: In function ‘shrink_one_zone’:
mm/vmscan.cerror: unknown field ‘swappiness’ specified in initializer
mm/vmscan.cerror: ‘vm_swappiness’ undeclared (first use in this function)
mm/vmscan.cerror: (Each undeclared identifier is reported only once
mm/vmscan.cerror: for each function it appears in.)
make[1]: *** [mm/vmscan.o] Error 1
make: *** [mm] Error 2
++Uzytkownik wrote:I'm not sure but it seems like it has been renamed to master-new.

Have you tried bugzilla on the new SF.net zen-pages? (Don't know if it works out of the box...)kernelOfTruth wrote:do you guys have a working bugzilla system right now ?
if yes - what is the address ? this should make communication for you a lot easier ...