Re: Simple Read operation on a misc device driver

2014-04-18 Thread Greg KH
On Fri, Apr 18, 2014 at 06:30:44PM -0300, Aldo Esteban Paz wrote: > For the Eudyptula's Chanllenge Task 6, i need to write a misc device > driver with simple read/write operations. > The following was the answer to part of my code: > > > static char eid[] = EUDYPTULAID; > > > > static ssize_t mis

Simple Read operation on a misc device driver

2014-04-18 Thread Aldo Esteban Paz
For the Eudyptula's Chanllenge Task 6, i need to write a misc device driver with simple read/write operations. The following was the answer to part of my code: > static char eid[] = EUDYPTULAID; > > static ssize_t misc_device_read(struct file *file, char __user *buf, >

Re: "Time police" - best way to submit?

2014-04-18 Thread Josh Cartwright
On Wed, Apr 16, 2014 at 02:27:50PM -0700, Henry Hallam wrote: > Hi, my name is Henry and I'm a kernel newbie. Hello, Henry. > Recently plagued by a perplexing issue where *something* would step > the clock on an important server by exactly 5 minutes at infrequent, > unpredictable intervals, I put

Re: cgroups: cannot write on file memory.oom_control

2014-04-18 Thread Rami Rosen
Hi Hedi, Well, you can use disabling oom in conjunction with event handler. Thus, you can free memory by changing memory setting of other cgroups when an oom occurs in a specific cgroup, and avoid having an oops in that cgroup. You can see an example of using event handler in conjunction with disa

SSE register return with SSE disabled

2014-04-18 Thread lx
hi all: I'm complie the kernel.I do it by: ## make V=1 ## the error messages is: ## (cat /dev/null; ) > fs/sysfs/modules.order gcc -Wp,-MD,fs/.mbcache.o.d -nostdinc -isystem /usr/lib/gcc/x86_64