Re: kernel projects for students

2021-03-22 Thread Okash Khawaja
+Speakup is a screen review system for Linux. Speak up had some plans On Mon, Mar 22, 2021 at 3:37 PM Muni Sekhar wrote: > Hi all, > > What are some good Linux projects in kernel space for final year > computer.science engineering students? > Could someone help and share your ideas on this pl

Re: What will happen if 2 processes map same physical page

2019-03-22 Thread Okash Khawaja
which accesses them. This is a bit more subjective opinion rather than an objective answer so I'm ot sure if this answers your query. Thanks, Okash > > > > > > > 21.03.2019, 13:45, "Okash Khawaja" : > > On Thu, 21 Mar 2019 12:56:17 +0300 > > Lev

Re: What will happen if 2 processes map same physical page

2019-03-21 Thread Okash Khawaja
On Thu, 21 Mar 2019 12:56:17 +0300 Lev Olshvang wrote: > Hi Vaaldis, > > Thanks for answer, > I still wondering whether the kernel will allow write to a read-only > page of shared library while it has mapped to several processes? > Kernel knows that page's reference count >1, will it allow > mm

Re: where to find the kmalloc implementation

2019-01-09 Thread Okash Khawaja
On Wed, Jan 9, 2019 at 3:17 PM Carter Cheng wrote: > > Hi, > > I am curious where in the kernel sources would I find the kmalloc > implementation? I am curious how GFP_ATOMIC option is implemented. > > Thanks, > > Carter. Hi Carter, kmalloc() implementation can be found in include/linux/slab.h.

Purpose of PTRACE_SETSIGINFO for x86

2018-12-14 Thread Okash Khawaja
Hi, What does the PTRACE_SETSIGINFO ptrace command do? I can see in kernel/ptrace.c:ptrace_request() it calls ptrace_setsiginfo(), passing it the child's (tracee's) task descriptor and siginfo_t instance originally passed in from user space. ptrace_setsiginfo() sets child's last_siginfo to the s

Re: request_module with params

2017-08-21 Thread Okash Khawaja
Hi, On 21 Aug 2017 8:21 am, "Cihangir Akturk" wrote: On Sun, Aug 20, 2017 at 09:24:09AM +0100, Okash Khawaja wrote: > Hi, > > Is there a way to load a kernel module from another module and pass > parameters to it? Something like > > request_module("mymod param1

request_module with params

2017-08-20 Thread Okash Khawaja
Hi, Is there a way to load a kernel module from another module and pass parameters to it? Something like request_module("mymod param1=val1"); Thanks, Okash ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/m

Re: Is vnode number also limit system-wide number of open file?

2017-05-31 Thread Okash Khawaja
> On 31 May 2017, at 14:37, Yubin Ruan wrote: > > I notice that there is a > >unsigned longi_ino; > > in definition of `struct inode' [1], which is the virtual filesystem inode. > Does that mean "inode number" and is it used for indexing in the system-wide > inode table? > > If

Re: Importance of kobject

2017-05-17 Thread Okash Khawaja
Hi, On Wed, May 17, 2017 at 8:08 AM, Madhu K wrote: > Hi All, > > I am kernel newbie, I want to know the importance of kobject, can anybody > explain the importance of kobject with an example. To state a not-so-popular analogy, kobjects can also be viewed as root object in object oriented progra

Re: Error while sending a mail from mutt

2017-03-30 Thread Okash Khawaja
> How do I see what arguments are being sent by mutt to sendmail. In ~/.muttrc, where it says set sendmail=... Replace the argument with your custom script which logs all arguments passed to it. > Is there any quicker way by which I can get mutt working fine. ___

Re: Error while sending a mail from mutt

2017-03-29 Thread Okash Khawaja
> On 29 Mar 2017, at 21:19, Jim Davis wrote: > > On Wed, Mar 29, 2017 at 12:32 PM, AYAN KUMAR HALDER > wrote: >> Hi, >> >> I am trying to send a mail using mutt. I am getting the error as follows :- >> >> SMTP session failed: 501 5.5.4 >> >> I understand the error meant that a valid mail tra

quilt mail not threading

2017-03-10 Thread Okash Khawaja
Hi, I can send patchset using quilt mail alright but the emails don't appear threaded. Checking email headers, I couldn't see References header either, which is what it should be using according to the README.MAIL. Have I missed something? Thanks, Okash _

Re: unregister_input_polled_device() leads to null pointer deref

2016-03-28 Thread Okash Khawaja
> On 28 Mar 2016, at 14:55, Carlo Caione wrote: > >> On Mon, Mar 28, 2016 at 3:32 PM, Okash Khawaja >> wrote: >> Hi, >> >> I'm writing a i2c device driver. In probe(), among other things I call: >> >> polled_input = input_allo

unregister_input_polled_device() leads to null pointer deref

2016-03-28 Thread Okash Khawaja
Hi, I'm writing a i2c device driver. In probe(), among other things I call: polled_input = input_allocate_polled_device(); input_register_polled_device(polled_input); Then inside remove(), I extract the instance of input_polled_dev and call input_unregister_polled_device(polled_input); This r

Free electrons course wii nunchuk and BBB i2c connection DTS

2016-01-31 Thread Okash Khawaja
Hi, In this free-electrons course http://free-electrons.com/training/kernel/ it talks about setting up i2c between beagle bone black and nintendo wii nunchuk with UEXT connector. To do that I created the DTS which I have put at the end of this email. It doesn't seem to be working. When I send som