Copyright (C) 1995 Spencer Kimball and Peter Mattis . GPL GIMP colorize.c . . . void colorize (Colorize *colorize, PixelRegion *srcPR, PixelRegion *destPR) { const guchar *src, *s; guchar *dest, *d; gboolean alpha; gint w, h; gint lum; /* Set the transfer arrays (for speed) */ h = srcPR->h; src = srcPR->data; dest = destPR->data; …
Monthly Archives: December 2010
RMS + lomograph
A Lomograph holds a charm all of its own. Somehow, everything is amplified, making ordinary objects stand out, enhancing details that would normally go unnoticed. Characterised by ever-changing variables such as the mysterious vignettes that frame the shot, light leaks, lo-fi grain, beautiful blurs, the magical balance of contrast and saturation just to name a …
coding standard related work for Linux kernel code using checkpatch.pl tool
$git fetch origin $ $./scripts/checkpatch.pl –file –terse sound/sound_core.c | more sound/sound_core.c:71: ERROR: trailing whitespace sound/sound_core.c:83: ERROR: trailing whitespace sound/sound_core.c:85: ERROR: trailing whitespace sound/sound_core.c:115: ERROR: open brace ‘{‘ following struct go on the same line sound/sound_core.c:123: WARNING: externs should be avoided in .c files sound/sound_core.c:126: WARNING: externs should be avoided in .c files sound/sound_core.c:155: ERROR: do …
Continue reading “coding standard related work for Linux kernel code using checkpatch.pl tool”
kernel work log sound 0.11
$git fetch origin $ $./scripts/checkpatch.pl –file –terse sound/sound_core.c | more sound/sound_core.c:71: ERROR: trailing whitespace sound/sound_core.c:83: ERROR: trailing whitespace sound/sound_core.c:85: ERROR: trailing whitespace sound/sound_core.c:115: ERROR: open brace ‘{‘ following struct go on the same line sound/sound_core.c:123: WARNING: externs should be avoided in .c files sound/sound_core.c:126: WARNING: externs should be avoided in .c files sound/sound_core.c:155: ERROR: do …
Some idea about creating a linux kernel patch using Git
ABOUT creating a linux kernel patch using Git [bash] git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git Initialized empty Git repository in /home/jeffrin/linux-2.6/.git/ remote: Counting objects: 1806930, done. remote: Compressing objects: 100% (278260/278260), done. Receiving objects: 14% (2553100/1806930), 117.83 MiB | 127 KiB/s Resolving deltas: 100% (1513210/1513210), done. $cd linux-2.6 $./scripts/ge genksyms/ get_maintainer.pl $./scripts/get_maintainer.pl –file sound/ac97_bus.c Jaroslav Kysela <perex@perex.cz> Takashi …
Continue reading “Some idea about creating a linux kernel patch using Git”
write linux kernel patch 0.23 raw
write linux kernel patch 0.21 raw Content git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git Initialized empty Git repository in /home/jeffrin/linux-2.6/.git/ remote: Counting objects: 1806930, done. remote: Compressing objects: 100% (278260/278260), done. Receiving objects: 14% (255365/1806930), 117.83 MiB | 127 KiB/s Resolving deltas: 100% (1513210/1513210), done. $cd linux-2.6 $./scripts/ge genksyms/ get_maintainer.pl $./scripts/get_maintainer.pl –file sound/ac97_bus.c Jaroslav Kysela <perex@perex.cz> Takashi Iwai <tiwai@suse.de> …
Dirty: 8 kB
What is an Unevictable LRU Infrastructure ?
RELATED TO Unevictable The Unevictable LRU infrastructure addresses the following classes of unevictable pages: + page owned by ram disks or ramfs + page mapped into SHM_LOCKed shared memory regions + page mapped into VM_LOCKED [mlock()ed] vmas Least Recently Used (LRU): discards the least recently used items first. This algorithm requires keeping track of what …
Continue reading “What is an Unevictable LRU Infrastructure ?”
Unevictable: 4 kB 0.1
Unevictable: 4 kB The Unevictable LRU infrastructure addresses the following classes of unevictable pages: + page owned by ram disks or ramfs + page mapped into SHM_LOCKed shared memory regions + page mapped into VM_LOCKED [mlock()ed] vmas Least Recently Used (LRU): discards the least recently used items first. This algorithm requires keeping track of what …