mca_disable_dma – channel to disable DMA on

1. mca_disable_dma – channel to disable DMA on void mca_disable_dma(unsigned int dmanr); dmanr DMA channel 2. Classroom First of all, DMA (per se) is almost entirely obsolete. As originally defined, DMA controllers depended on thefact that the bus had separate lines to assert for memory read/write, and I/O read/write. The DMA controller took advantage of …

vfs_lock_file – file byte range lock

1. vfs_lock_file – file byte range lock 2. Manual int vfs_lock_file(struct file * filp, unsigned int cmd, struct file_lock * fl, struct file_lock * conf); filp The file to apply the lock to cmd type of locking operation (F_SETLK, F_GETLK, etc.) fl The lock to be applied conf Place to return a copy of the …

[PATCH] udf: Fix deadlock when converting file from in-ICB one to normal one

[PATCH] udf: Fix deadlock when converting file from in-ICB one to normal one During BKL removal, conversion of files from in-ICB format to normal format got broken. We call ->writepage with i_data_sem held but udf_get_block() also acquires i_data_sem thus creating A-A deadlock. We fix the problem by dropping i_data_sem before calling ->writepage() which is safe …

PXE Boot

Topic PXE Boot Explanation The Preboot eXecution Environment (PXE, also known as Pre-Execution Environment; sometimes pronounced “pixie”) is an environment to boot computers using a network interface independently of data storage devices (like hard disks) or installed operating systems. PXE was introduced as part of the Wired for Management framework by Intel and is described …

bubble sort testing… 0.00006 Ver — 4000 No.’s related

$time php bubble.php real 0m7.404s user 0m7.012s sys 0m0.080s $time php bubble.php real 0m7.333s user 0m7.044s sys 0m0.068s $time php bubble.php real 0m7.393s user 0m7.068s sys 0m0.100s $time php bubble.php real 0m7.345s user 0m7.024s sys 0m0.104s $time php bubble.php real 0m7.545s user 0m7.224s sys 0m0.080s $time php bubble.php real 0m7.275s user 0m6.992s sys 0m0.072s $time …

bubble sort testing… 0.00005 Ver — 2000 No.’s related

$time php bubble.php real 0m2.076s user 0m1.736s sys 0m0.052s $time php bubble.php real 0m1.8100s user 0m1.680s sys 0m0.044s $time php bubble.php real 0m1.935s user 0m1.672s sys 0m0.052s $time php bubble.php real 0m1.861s user 0m1.676s sys 0m0.040s $time php bubble.php real 0m2.076s user 0m1.708s sys 0m0.064s $time php bubble.php real 0m1.850s user 0m1.640s sys 0m0.060s $time …

The atime and noatime attribute

The atime and noatime attribute Linux records information about when files were created and last modified as well as when it was last accessed. There is a cost associated with recording the last access time. The ext2 file system of Linux has an attribute that allows the super-user to mark individual files such that their …