On Tue, Jul 29, 2014 at 10:24:41AM -0400, valdis.kletni...@vt.edu wrote:
> On Tue, 29 Jul 2014 20:59:08 +0700, Anh Le said:
>
> > still, user programs like bash could have a race problem by spliting
> > the input, I hope that they can somehow take care of this problem
> > themselves.
>
> stdio is
n's dash. ]
As you can see, I observed the same pattern of 1008 and 993 bytes.
Greetings,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Tue, Jul 29, 2014 at 04:38:52AM +, Chan Kim wrote:
> Hi,
> I'm using fbconsole on the LCD using USB keyboard.
Does this also happen in ssh sessions into the same machine?
Does it happen inside terminal multiplexers such as tmux and screen?
> I open a new file using vi then edit, write it,
hat the write procedure ends
> with the 2000th byte. What if there are more?
Again, where does this write procedure run?
Greetings,
Jonathan Neuschäfer
> Could anyone tell me the proper way to deal with this situation?
> Thanks in advance.
>
> --
> Le Quoc Anh
posted to the mailing lists is usually
appreciated.
--
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
uot; (res):"0" (0),"r" (nr),"m" (*(addr))); \
> res;})
>
>
> But, almost I can't understand this. So I want to understand asm in C,
> which book or website I should learn ?
Google "asm in c&q
ss to your machine in case the kernel
> changes you have made are serious.
If they're serious enough you might still break your file system and
lose your data, so it's in any case good to have a backup. ;-)
--
Thanks,
Jonathan Neuschäfer
___
here:
http://www.idallen.com/topposting.html
I see you seem to use Microsoft Outlook. That makes formatting emails
nicely (to the standard of technical communities which have their roots
in UNIX culture) a bit harder.
Thanks,
Jonathan Neuschäfer
___
On Thu, May 09, 2013 at 07:24:58PM +0900, 이승훈 wrote:
> hi all.
> I have a question about vruntime.
> it will not overflow?
> i know it's type is u64.
> but how about 32bit machine?
> i'm wating your help.
>
> Thanks,
> Earl
u64 is always 64 bits
requested as a power of 2
Or, better yet, mm/mempolicy.c, line 2024:
* @order: Power of two of allocation size in pages. 0 is a single page.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
xb7678000
> The PCI memory is : 0x33
> The PCI memory is : 0x34
>
> And the LED matrix display being behind that address switches from 3 to
> 4 as expected.
>
> Thus, I still cannot see why the access through /dev/mem using dd doesn't
> work.
I suspect dd uses read
e moment.
How does it appear inactive?
---
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
acking-kernelorg)
I think he planned to always push all changes to both repositories.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
er
> (6). Laptop is an example for a super computer
> (7). Operating system is an example for computer hardware
>
>
> Also, our paper did not express any conceptual meaning.
Is this paper publicly available? I'd like to read
eans much of the time),
but e-mail. If you do, then yes, there are a lot of mailing lists about
various aspects of the linux kernel, and kernelnewbies@kernelnewbies.org
is one of them.
Hope that helps,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Ke
d just enter the file itself in the
feature-removal schedule (to see if anybody who edits the file actually
looks at it), that's cute but non-productive.
Signed-off-by: Linus Torvalds
delete mode 100644 Documentation/feature-removal-schedule.txt
$ git describe --con
b,0x4c,0x81,0x18,0x01,0x00,0x00,0x00,0x00,0x60,0x02,0x22,0x38,0x14,0x66,0x00,0x00,0x02,0x04,0x05,0xb4};
> int len = 58;
Although it won't solve the problem at hand, I suggest using "sizeof"
here.
Thanks,
Jonathan Neuschäfer
_
watts than watts per second?
Regards,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
ngs are done ... Can
> anybody please explain me this ? Thank you in advance.
I recommend reading linux-0.12.
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
writes on the block device when we run the command?
> Are there any good documents which can explain the same?
To trace the syscalls a program issues, I recommend using strace.
Thanks,
Jonathan Neuschäfer
___
Kernelnewbies mailing
On Fri, Dec 28, 2012 at 11:49:53AM -0800, Eric W. Biederman wrote:
> Al Viro writes:
>
> > On Thu, Dec 27, 2012 at 11:36:13PM -0800, Eric W. Biederman wrote:
> >> But then I am probably peculiar keeping an index of the source code in
> >> my head. When I need to look for something and I don't kn
On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote:
> can anybody tell me how to look into source code, as most are hidden in
> kernel.
You can find the Linux source code at http://kernel.org/ .
HTH,
Jonathan Neuschäfer
___
Kerneln
fix it.
There's also several websites (and a few books) that are dedicated to
Linux kernel programming out there, such as http://crashcourse.ca/.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.ker
w kernel service I want to add is not that
> general to be added as a new syscall.
>
> Thanks in advance!
> T
You might want to use plain old kernel modules, after all.
Greetings,
Jonathan Neuschäfer
___
Kernelnewbies mailing
almost
> always inline).
Try the following, it worked for me:
- "tag" the patchset and "tag-save" or "tag-copy" it into one file
- run: git am patchset.name
BTW, everyone working with git should try StGit ("stacked git&q
tion need to be transmitted from your device to the
application?
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
need to register a callback function.
HTH,
Jonathan Neuschäfer
[1] http://software.schmorp.de/pkg/libev.html
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
sole control. Any ideas.
Which prompt is missing?
Can I assume ssh works?
If the hardware / video terminals aren't starting, I suggest having a
look at your init scripts (that's where getty and friends are started).
HTH,
Jonathan Neuschäfer
___
On Mon, Jul 23, 2012 at 09:38:44PM +0800, Fan Yang wrote:
> May be I can work it by adding a new syscall in the kernel, right?
A sysfs-based interface should do it just as well.
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewb
most like what you seem to be trying to do is
arch/arm/mach-*
> but when I'm building the code, there is error :
> *fatal error: asm/arch/fileabc.h : No such file or directory*
> *
> *
> *Any problem with the link ?*
Which link?
If you mean the linker or the linking proccess, th
On Wed, Jul 18, 2012 at 12:40:52PM +0400, aleksey wrote:
> int my_module_init(void)
> {
> pr_emerg("Hello, world module is loading\n");
> print_message();
> return 0;
> }
Do you get the "Hello, world" message?
Jonathan
___
Kernelnewbies mailing list
K
On Fri, Jul 06, 2012 at 12:56:45AM +0700, Mulyadi Santosa wrote:
> Hi...
>
> On Thu, Jul 5, 2012 at 12:12 PM, Srinidhi M wrote:
> > .@ <271> ret = 0 :
> > /sbin/init
>
> FYI I absolutely has no hands on experience on this kind of hack, so
> this is purely speculation.
>
> I am thinking
On Fri, Jun 22, 2012 at 03:50:49AM +0300, NorthPole wrote:
> for(i=0;i<250;i++)
> registerTvlv(i,0x01,1,&batadv_ogm_packet->gw_flags,bat_priv,batadv_ogm_packet);
Have you asked the people at irc.freenode.org #batman?
___
Kernelnewbies mailing list
Kerne
On Fri, Jun 08, 2012 at 08:51:09PM +0530, siddharth saxena wrote:
> Hi
>
> Memcpy is both- a system call as well as a user library function.
> Implementation differs
Can you give me an example of memcpy being implemented as a syscall?
Thanks,
Jonatha
I don't think it makes much sense to implement
memcpy as a syscall, because entering kernel mode is usually relatively
expensive and I can't think of any kernel mode-only memcpy optimizations
(and optimizations are the only reason to do a user space memcpy in
kernel space I can
gt;
> /* off */
> data->red = 0x00;
> data->green = 0x00;
> data->blue = 0x00;
> ret = blinkm_transfer_hw(client, BLM_FADE_RGB);
> if (ret < 0)
> printk(KERN_INFO
> "Failure in blinkm_remove ignored.
On Fri, Jun 01, 2012 at 11:45:53PM +0200, Jan-Simon Möller wrote:
> Thanks for the review, Jonathan.
> I'll do a rev2 asap.
But please note that some of my "why" questions where simply questions
and no actual suggestions, so take my word with a grain of salt! :-)
Jonathan
_
FADE_HSB);
> if (ret < 0)
> printk(KERN_INFO
> "Failure in blinkm_remove ignored. Continuing.\n");
>
> /* red fade to off */
> data->red = 0xff;
> ret = blinkm_transfer_hw(client, BLM_GO_RGB);
> if (ret < 0)
> printk(KERN_INFO
> "Failure in blinkm_remove ignored. Continuing.\n");
>
> /* off */
> data->red = 0x00;
> data->green = 0x00;
> data->blue = 0x00;
> ret = blinkm_transfer_hw(client, BLM_FADE_RGB);
> if (ret < 0)
> printk(KERN_INFO
> "Failure in blinkm_remove ignored. Continuing.\n");
>
> sysfs_remove_group(&client->dev.kobj, &blinkm_group);
> kfree(data);
> return 0;
> }
>
> static const struct i2c_device_id blinkm_id[] = {
> {"blinkm", 0},
> {}
> };
>
> MODULE_DEVICE_TABLE(i2c, blinkm_id);
>
> /* This is the driver that will be inserted */
> static struct i2c_driver blinkm_driver = {
> .class = I2C_CLASS_HWMON,
> .driver = {
> .name = "blinkm",
> },
> .probe = blinkm_probe,
> .remove = blinkm_remove,
> .id_table = blinkm_id,
> .detect = blinkm_detect,
> .address_list = normal_i2c,
> };
>
> static int __init blinkm_init(void)
> {
> return i2c_add_driver(&blinkm_driver);
> }
>
> static void __exit blinkm_exit(void)
> {
> i2c_del_driver(&blinkm_driver);
> }
>
> MODULE_AUTHOR("Jan-Simon Moeller ");
> MODULE_DESCRIPTION("BlinkM");
I'd call it "BlinkM LED driver" or something, "BlinkM" alone isn't
really descriptive.
> MODULE_LICENSE("GPL");
>
> module_init(blinkm_init);
> module_exit(blinkm_exit);
Thanks,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
rated and
> inserted into a running kernel due to this "incremental linking " technology.
Can you give us a pointer to where you read this?
Thanks,
Jonathan Neuschäfer
>
> If anyone can provide me some pointers to understand the "incremental
> linking&quo
pv4.h, line 10).
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
1 root root 15 Apr 25 18:18 /dev/stdout -> /proc/self/fd/1
Thanks,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
ing to figure out what exactly a user
space process does.
The man pages of various system calls (open, fork, exec, dup, etc.) may
also provide valuable information.
Thanks,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
bly also vmlinux files.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
river for? What kind of
device is it?
Thanks,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
7;, which i can understand it and use it. But i have
> not find the way
> to search a Kernel API easily. Cloud anyone give me some advices?
The build scripts will generate man pages for you if you run "make
mandocs" (see the output of "make help"
On Thu, Apr 12, 2012 at 09:52:02PM +0800, harryxiyou wrote:
> On Thu, Apr 12, 2012 at 9:03 PM, Jonathan Neuschäfer
> wrote:
>
> Hi Jonathan,
>
> > On Thu, Apr 12, 2012 at 06:16:56PM +0800, harryxiyou wrote:
> >> Hi greg,
> >>
> ...
> &g
;1> Hello World\n");
The KERN_* constants are a good replacement for a manual "".
>
>
> Dmesg logs:
>
> [ 1174.738305] Search for insert task>
[...]
> [ 1174.738819] pid: 2481, state: 1, comm: bash
> [ 1174.738822] pid: 0, state: 1, comm:
>
ore explicit about the intention.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Fri, Jan 20, 2012 at 06:38:47PM +0530, Manavendra Nath Manav wrote:
> [root@pe1800xs src]# git clone --recursive -v
> http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
> Cloning into linux-stable...
Have you looked into the linux-stable directory?
HTH,
memory on Linux?
I know two sources of memory that are used by malloc. One is brk(), the
other is mmapped pages of /dev/zero. With /dev/zero it's obvious that
you get empty pages (all-zero); with brk I wasn't sure so I wrote the
test program below and ran it. I didn't find any dirty
On Sun, Jan 15, 2012 at 07:15:02PM +0530, V l wrote:
> the packet . Very nice ! But when I compile this code , its going to ask
> where this driver specific senddata is defined , the header file or library
Would you mind posting the exact code and compiler output?
Thanks,
Jo
(CMIIW). (Which doesn't
mean zeroing isn't also a good idea)
Of course, people should also encrypt their disks on this kind of server.
Thanks,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Wed, Jan 11, 2012 at 08:53:07PM +0800, 夏业添 wrote:
>As the man page of malloc said:"The memory is not initialized"
That means, if malloc returns a region that has previously been malloc'd,
written to and free'd, you may get the these previously written data.
d
*head)
plist_check_head(head);
}
+EXPORT_SYMBOL(plist_add);
+EXPORT_SYMBOL(plist_del);
+
#ifdef CONFIG_DEBUG_PI_LIST
#include
#include
Hope This Helps,
Jonathan Neuschäfer
___
Kernelnew
e rcu protected
> regions.
It doesn't.
Have you read Documentation/RCU/whatisRCU.txt?
Thanks,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
rs' git trees
yet. Bugzilla (http://bugzilla.kernel.org/) is currently not available.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-alikes.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
ething is wrong in dpram_write function, But couldnt exactly
> know what happend.
> Even i tried disassembling the function, i traced to some normal jump
> instruction.
You should consider imforming the mwlan_aarp module's vendor/maintainer;
Few kernel people like to debug someone else
d to some normal jump
> instruction.
>
> I know this error comes when, some function sleeps in atomic context.
>
> Can anyone pls help me in fixing this..
Is it your code that's failing here?
Otherwise a good bug report on linux-ker...@vger.kernel.org is usually
apprecia
On Mon, Nov 28, 2011 at 02:12:37AM +0100, richard -rw- weinberger wrote:
> Please keep in mind that hooking a system call is very bad and error prone.
Sure.
-- Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
h
s some trickery to make the page writable first.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Sat, Nov 12, 2011 at 04:39:59PM -0800, Greg KH wrote:
> On Sun, Nov 13, 2011 at 01:18:47AM +0100, Jonathan Neuschäfer wrote:
> > On Sat, Nov 12, 2011 at 03:49:53PM -0800, Greg KH wrote:
> > > On Sat, Nov 12, 2011 at 08:23:32PM -0200, Daniel Hilst Selli wrote:
> > >
console saying that kernel
> > was tainted and /proc/sys/kernel/tainted gives me 4024. There is any
> > other thing on module, besides license that can taint the kernel?
>
> Yes, lots of things, look at kernel.h for the full list.
It's also documented in Docume
> Thanks,
>
>
> Luis Morales.
As you can't use the usual user space libraries in the kernel, it might
take quite some time to port a user space program to the linux kernel
API. And I guess it wouldn't be a good idea
accomplishes this goal. From the name, I expect this to be a 16-bit type.
> It may have other attributes, such as a specific endianness (unusual except
Yes, it's for 16-bit big-endian data.
--
Jonathan Neuschäfer
___
Kernelnewbies mai
On Mon, Oct 24, 2011 at 02:24:50AM +0200, Jonathan Neuschäfer wrote:
> Well, thanks for this polite and informed post. :-)
I mean "easy to answer". :)
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbie
computer, if you're going to change things.
> Thanks in advance.
Well, thanks for this polite and informed post. :-)
[0] http://git-scm.com/
[1] http://lxr.linux.no/linux
[2] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree
Gr
nteresting :)
Please report this kind of things, if you think you've hit a bug.
(MAINTAINERS or the output of "scripts/get_maintainer.pl -f arch/um"
tells you where to send your mails)
Thanks,
Jonathan Neuschäfer
___
being held, another task could try to
acquire the same lock, causing a deadlock.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
TW, Ramesh told you to try /etc/rsyslog.conf (note the 'r'), not
/etc/syslog.conf.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
the 1MB.
If you do it one vmalloc call your 1MiB should be continuous, i.e. if
there's a guard page it will be after your megabyte.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Fri, Aug 19, 2011 at 11:16:18PM +0300, DiP wrote:
> On Fri, 19 Aug 2011 21:42:09 +0200
> Jonathan Neuschäfer wrote:
>
> > On Fri, Aug 19, 2011 at 12:53:46AM +0300, DiP wrote:
> > > I found where it is.
> > >
> > > It seems to appear on my deskt
ible) bug may be useful
(see http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html).
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
ns to jump
> to cpu ring level 0 and do something there..
No, this is written in AT&T syntax, where the source comes first, and
then the destination. IOW, the code means: Copy the 16 bit register CS
into the lower 16 bit of EBX (which is BX).
CMIIW,
Jonathan Neuschäfer
_
truct rq *rq = raw_rq();
delayacct_blkio_start();
atomic_inc(&rq->nr_iowait);
blk_flush_plug(current);
current->in_iowait = 1;
schedule();
current->in_iowait = 0;
atomic_dec(&rq->nr_iowait);
delayacct_blkio_end();
}
EXPORT_SY
et the information that's shown in /proc/stat, I'd suggest having a
look at fs/proc/stat.c in the kernel tree.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Fri, Jul 22, 2011 at 09:08:54PM +0530, Prashant Shah wrote:
> Hi,
>
> In the latest staging tree I cant do "make menuconfig" or even "make config"
Does it work if you run "make mrproper" first?
Thanks,
Jonathan Neuschäfer
__
message and resend it.
Do recent web mail UIs support sending mails without HTML? :)
---
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
do ?
> Beside, do you have any advice on the way I should proceed to get the
> necessary information to port the kernel ?
Does a stock kernel work in your setup?
If so, try using its config, most distributions put it into /boot as
config-`uname
st for comments) patch and someone should comment. But
LKML can be a bit harsh if you're not used to it.
If you want to discuss it here, you might also want to send a patch
in addition to your thoughts, it's just a lot easier to get the context
and the exact thing you're trying to do
t.
But now that we have Coccinelle[1], it might turn out to be quite easy
to get rid of this camel-case spelling.
[1] http://coccinelle.lip6.fr/
Btw, if you set off a discussion on the lkml regarding this, please CC me :).
Thanks,
Jonathan Neuschäfer
_
ame,
goto err;
}
+ memcpy(&data32, fw->data, sizeof(data32));
+ data32 = be32_to_cpu(data32);
+
if (memcmp(fw->data, "WMFW", 4) != 0) {
dev_err(codec->dev, "%s: firmware has bad file magic %08x\n"
linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git&a=search&h=HEAD&st=author&s=neusch
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
is make localmodconfig, which includes all the modules
that are loaded into the new configuration.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Fri, Jun 17, 2011 at 08:46:35PM +0200, Jonathan Neuschäfer wrote:
> On Fri, Jun 17, 2011 at 06:18:06PM +0300, Metin KAYA wrote:
> > Jonathan, it's kmalloc(), not kcalloc().
>
> No, I was trying to suggest using kcalloc(), which behaves roughly like
> the userspace
seem to need.
(see include/linux/slab.h, line 223 for reference)
>
> On 17 Haz 2011, at 18:10, Jonathan Neuschäfer wrote:
>
> > On Fri, Jun 17, 2011 at 02:47:25AM +0200, Arvid Brodin wrote:
> > [...]
> >>/ User page code /
> >>
> >
retval = -ENOMEM;
> goto err_pages;
> }
Greetings,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
call. The
glibc wrapper invokes any fork handlers that have been established
using pthread_atfork(3).
Thanks,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
HTH a bit,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
s containing printf format specifiers :-).
> aa
> aa
> ello worldroot@desktop:/home/prabhu# ./a.out
> aaa
> aaa
> llo worldroot@desktop:/home/prabhu# ./a.out
>
>
> lo worldroot@desktop:/home/prabhu# ./a.out
> a
> a
On Mon, Jun 06, 2011 at 11:01:37AM +0430, Amirali Shambayati wrote:
> As I have read this pdf, I think I have assigned them right. I don't know
> what's wrong? :-?
> https://prof.hti.bfh.ch/myf1/adv-linux/courseNotes/*klist*-*intro*-1.3.*pdf*
A good introduction, thanks.
ndleNumber;
> int size;
> struct list_head bundlesQueue;
> struct list_head reqsQueue;
> int filled[8];
> };
>
> struct noop_data {
> struct list_head readQueue;
> struct list_head writeQueue;
> struct bundle bun;
Why are you em
st file descriptor referring to it is closed." A
mapping is not a file desciptor but I believe that it behaves similiarly.
But I'm not sure.
Thanks,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Kernel Lock, which has just recently been removed.
HTH,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
ill solve your problem.
Greetings,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
MODULE);
>
> So Id say "yes"
That's rtc_class_ops.
Searching for the exact word "rtc_ops" avoids these false positives:
$ grep -r "\" drivers/
$
rtc_class_ops (include/linux/rtc.h) seems to be that equivalent.
Hope this helps,
Jonathan Neuschäfer
nctionality cannot
be implemented in a function. include/linux/kernel.h offers some good
examples (e.g. ARRAY_SIZE, container_of, swap).
Hope this helps,
Jonathan Neuschäfer
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
gt;
> with regards
> Anand Moon
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
https://patchwork.kernel.org/ is usually the right place.
Thanks,
Jonathan Neuschäfer
__
98 matches
Mail list logo