Tuesday, December 25, 2012
Tuesday, December 18, 2012
The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage. Rather than rely on hardware to deliver high-avaiability, the library itself is designed to detect and handle failures at the application layer, so delivering a highly-availabile service on top of a cluster of computers, each of which may be prone to failures.
Plagiarism Checker for Free - http://plagiarisma.net
Saturday, April 7, 2012
Thursday, April 5, 2012
Description of fget_light, which is currently incorrect
about needing a prior refcnt (judging by the way it is actually used).
- * Lightweight file lookup - no refcnt increment if fd table isn't shared.
- * You can use this only if it is guranteed that the current task already
- * holds a refcnt to that file. That check has to be done at fget() only
- * and a flag is returned to be passed to the corresponding fput_light().
- * There must not be a cloning between an fget_light/fput_light pair.
+ * Lightweight file lookup - no refcnt increment if fd table isn't shared.
+ * You can use this instead of fget if you satisfy all of the following
+ * conditions:
+ * 1) You must call fput_light before exiting the syscall and returning control
+ * to userspace (i.e. you cannot remember the returned struct file * after
+ * returning to userspace).
+ * 2) You must not call filp_close on the returned struct file * in between
+ * calls to fget_light and fput_light.
+ * 3) You must not clone the current task in between the calls to fget_light
+ * and fput_light.
+ * The fput_needed flag returned by fget_light should be passed to the
+ * corresponding fput_light.
Friday, March 30, 2012
Friday, March 23, 2012
These are the steps to add system call to the linux kernel 22.214.171.124
Open file linux-2.6.39/arch/x86/kernel/syscall_table_32.S
#define __NR_syncfs 344
#define __NR_add2 345
and also change NR_syscalls to
#define NR_syscalls 346
Now edit linux-2.6.39/
#define __NR_syncfs 306
#define __NR_add2 307
before #endif add
Now create add2.c
asmlinkage long sys_add2(int i,int j)
Now open the Makefile in this folder(l
inux-2.6.39/kernel/Makefile) and find out
obj-y += groups.o
Add a new line before this line :
obj-y += add2.o
Now its Time to compile kernel
Go to linux-2.6.39/
Start compiling to kernel modules:
Install kernel modules
It is time to install kernel itself