On Tue, 26 Aug 2014, Nick wrote:
> On 08/26/2014 08:05 PM, Tobias Boege wrote:
> > On Tue, 26 Aug 2014, Nick wrote:
> >> On 08/26/2014 06:58 PM, Mandeep Sandhu wrote:
> >>> If it's a corner case, it won't be hit often enough right? And if it
> >>&
On Tue, 26 Aug 2014, Nick wrote:
> On 08/26/2014 06:58 PM, Mandeep Sandhu wrote:
> > If it's a corner case, it won't be hit often enough right? And if it
> > was hit often enough, it wouldn't be corner case!? :)
> >
> > These 2 are mutually exclusive!
> >
> >
> > On Tue, Aug 26, 2014 at 3:47 PM,
On Thu, 14 Aug 2014, Nicholas Krause wrote:
> I am fixing the bug on at the link,
> https://bugzilla.kernel.org/show_bug.cgi?id=79931.
> This bug report states that in the function, tmio_hc_stop the switch has no
> needed breaks.
> Further more this patch fixes this bug by adding the needed break
On Tue, 03 Sep 2013, nidhi mittal hada wrote:
> Hi,
>
> while in the pursuit of learning to understand assembly ..
> This is my doubt ..Please help to understand
>
> *I want to catch where in this disassembly call is made to get_sb function.*
>
> Somehow in this disassembly, i m not finding, a d
On Tue, 04 Jun 2013, stl wrote:
> Hello,
> I need some clarifications concerning the macro
>
> #define PFN_UP(x)(((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
>
> found in "pfn.h"
>
> I suppose that its aim is to give the page frame number of the page
> following the page holding the physical address x
On Wed, 24 Apr 2013, Matt Davis wrote:
> Hello,
> I want my kernel module to dynamically add sysfs files for its
> corresponding device. Without going into detail, the attribute file
> will be named something like: /sys/class/myclass/mydev0/fileX where
> 'X' is an integer ranging from 1-256. I di
On Tue, 02 Apr 2013, naveen yadav wrote:
> Dear All,
>
> I have very complex user space application contain more then 400 threads. I
> want to limit the stack size in user space, for this I want to know how
> much stack size each thread use in worst case.
>
> To calculate this is I need to modify
On Sat, 30 Mar 2013, RS wrote:
> it defines in the kernel: #define _IOC_NRMASK((1 << _IOC_NRBITS)-1)
> //define ... #define _IOC_NRSHIFT0 ... #define _IOC_DIR(nr)
> (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK) //when decode
>
> why not define it like this:
> #define
On Fri, 29 Mar 2013, Sankar P wrote:
> On Fri, Mar 29, 2013 at 3:28 PM, Tobias Boege wrote:
> > On Fri, 29 Mar 2013, Sankar P wrote:
> >> Hi,
> >>
> >> I am trying to write a simple filesystem to learn the basics of it.
> >>
> >> I have decide
On Fri, 29 Mar 2013, Sankar P wrote:
> Hi,
>
> I am trying to write a simple filesystem to learn the basics of it.
>
> I have decided on a simple layout for my filesystem where the first
> block will be the super block and will contain the version
> information etc. The second block will contai
On Mon, 25 Mar 2013, David Shwatrz wrote:
> Hi,
> Once upon a time there was a feature removal schedule in Documentation:
> http://lxr.free-electrons.com/source/Documentation/feature-removal-schedule.txt?v=3.6
>
> Was it removed ? I cannot find it in recent kernels (like 3.9.0-rc4)
>
git would k
On Tue, 19 Mar 2013, ishare wrote:
> > /**
> > * module_init() - driver initialization entry point
> > * @x: function to be run at kernel boot time or module insertion
> > *
> > * module_init() will either be called during do_initcalls() (if
> > * builtin) or at module insertion time (if a mod
On Mon, 18 Mar 2013, ishare wrote:
> On Sun, Mar 17, 2013 at 04:11:54PM +0100, Tobias Boege wrote:
> > On Sun, 17 Mar 2013, ishare wrote:
> > >
> > > for (call = &__initcall_start; call < &__initcall_end; call++)
> > >(*call)();
> > >
On Sun, 17 Mar 2013, ishare wrote:
>
> for (call = &__initcall_start; call < &__initcall_end; call++)
>(*call)();
>
> I want to know where are these function point assigned by specified
> function ?
>
> thanks!
As per include/asm-generic/vmlinux.lds.h and your arch's vmlinux.lds.S (I
a
On Sun, 17 Mar 2013, NeonJohn wrote:
>
>
> On 03/17/2013 09:37 AM, Robert P. J. Day wrote:
> >
> > as i don't want to seem like i'm spamming this list with notes about
> > new, posted kernel tutorials, people who want to stay on top of these
> > are welcome to follow me on twitter at @rpjday.
On Fri, 01 Feb 2013, Kevin Wilson wrote:
> Hi all,
> question:
>
> In copy_process() we have:
>
> static struct task_struct *copy_process(unsigned long clone_flags,
> unsigned long stack_start,
> struct pt_regs *reg
On Tue, 29 Jan 2013, Karaoui mohamed lamine wrote:
> Hello,
>
> I was looking at how a syscall read/write was done, and i found this :
>
>
>loff_t pos = file_pos_read(f.file);
>ret = vfs_read(f.file, buf, count, &pos);
>file_pos_write(f.file, pos);
>fdput(f);
>...
>
>
On Tue, 08 Jan 2013, anish kumar wrote:
> On Tue, 2013-01-08 at 14:51 +0100, Tobias Boege wrote:
> > On Tue, 08 Jan 2013, Rahul Bedarkar wrote:
> > > Ok. in init/main.c we call do_basic_setup(). Where do_initcalls call each
> > > of init functions from __early_initcall_e
On Tue, 08 Jan 2013, Niroj Pokhrel wrote:
> Hi all,
> I tried to use fflush(stdin) in gcc as I used to in other compilers. But It
> didn't clear my buffer so I am wondering how can I clear the stdin buffer
> in GCC.
> I tried using lseek but got -EPIPE (as tty devices doesn't support lseek
> operat
On Tue, 08 Jan 2013, Rahul Bedarkar wrote:
> Ok. in init/main.c we call do_basic_setup(). Where do_initcalls call each
> of init functions from __early_initcall_end to __initcall_end. But I don't
> know from where these values gets initialized.
>
Take a look at include/linux/init.h. There you can
On Fri, 04 Jan 2013, Rahul Bedarkar wrote:
> Hi,
>
> This may be stupid question.
>
> When we compile external module and insert it, it's init function is called
> and when we remove it, it's exit function gets called.
>
> What happens in case of built-in modules? When it's init and exit is
> ca
On Thu, 27 Dec 2012, Rahul Bedarkar wrote:
> Hi,
>
> When ioctl() is called from user space, how device driver related to it
> comes into picture ? What is flow from user space to kernel space ?
>
You may want to just follow the calls down from the syscall handler in
fs/ioctl.c. For special devi
On Wed, 19 Dec 2012, Shraddha Kamat wrote:
> On Wed, 2012-12-19 at 13:58 +0400, Lijo Antony wrote:
> > On 12/19/2012 12:47 PM, Shraddha Kamat wrote:
> > > Sorry if this is not relevant to kernel. But since I am
> > > patching the kernel - Please consider this as a uber beginner
> > > question to as
On Tue, 11 Dec 2012, Gustavo da Silva wrote:
> I would like to tell myself: Ok, so, in 1second, my computer can access
> 2.000 memory cells (relatively, because there is the "inc" instruction time
> spent, for counting).
>
> I'm using a AMD Athlon 64 X2 L310 (1.2ghz).
>
> It would not be a easy t
On Sat, 08 Dec 2012, Gustavo da Silva wrote:
> Hello Kernel Brothers!! How are you???
>
> So, I would like test the performance of my notebook, developing one or two
> utilities, and have a better
> mensurement about the speed.
>
> But it can help all of us.
>
> 1st: I would like mensure the spe
On Tue, 30 Oct 2012, Fan Yang wrote:
> 2012/10/29 Mulyadi Santosa
>
> > Hi Fan...
> >
> > On Sun, Oct 28, 2012 at 9:02 PM, Fan Yang wrote:
> > >
> > > [root@shell--box kernel_mod]# dmesg -c
> > > **
> > > cs 60 96
> > > ds 7b 123
> > > ss 68 104
> > > es 7b 123
>
On Thu, 01 Nov 2012, Digant wrote:
> Hello ,
> I am developing a feature in a X86-64 machine running kernel 3.5.5. I am
> exporting this symbol to test FPU and kernel compiles fine if I call this
> symbol from my module it works great. But when I used this symbol from
> scheduler particularly *enqu
On Sun, 30 Sep 2012, Mulyadi Santosa wrote:
> Hi...
>
> On Fri, Sep 28, 2012 at 5:56 PM, Ezequiel Garcia
> wrote:
> > Please note that the image you give qemu (or bootloader)
> > to use as initrd is *not* formatted using any mkfs.
> > It's just created with:
> >
> > $ find . | cpio -H newc -o >
On Sun, 23 Sep 2012, K Arun Kumar wrote:
> Hi,
>
> I am trying to understand the x86 boot code where I encountered this
> assembly code fragment -
>
> asm volatile("lcallw *%0"
> : : "m" (boot_params.hdr.realmode_swtch)
> : "eax", "ebx", "ecx", "edx");
>
On Sat, 21 Jul 2012, Arif Hossain wrote:
> Hi,
>
> My module uses ipv6_addr_cmp() from .
>
>
> static inline int ipv6_addr_cmp(const struct in6_addr *a1, const struct
> in6_addr *a2)
> {
> return memcmp(a1, a2, sizeof(struct in6_addr));
> }
>
> I've included . But when i try to build the
30 matches
Mail list logo