Hi All,
How would I know at any time available system memory at any time? Is
"free" command provides an accurate available system memory?
Thanks,
Bizhan
On 24-03-08 08:59, Robert P. J. Day wrote:
does the kernel do any floating point *at all* in the kernel these
days?
These days? But no. Only some MMX use (MMX registers alias the FP registers).
Rene.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL
Michael Cashwell wrote:
On Mar 24, 2008, at 3:32 PM, Carlo Bertoldi wrote:
I'm afraid I don't understand. Why do you need it to load "early"?
It shouldn't need to load before you intend to call the function the
first time. As long as that's not at tasklet or interrupt context you
can put t
On Mar 24, 2008, at 3:32 PM, Carlo Bertoldi wrote:
Ok, I did that way because rummaging in kernel sources I found a
file (drivers/mtd/devices/docprobe.c, kernel version 2.6.18) with
those instructions. So here what I'm doing right now in the second
module:
extern void write_seq_to_store(v
Michael Cashwell wrote:
On Mar 24, 2008, at 10:43 AM, Carlo Bertoldi wrote:
Well, in the first module I used EXPORT_SYMBOL() to export my
function, and in the second one I have a function pointer to use it.
Not exactly. You would build the second module with a function prototype
for the expo
I don't think there is any end_stack, as it depends on how much of
heap memory u are using. Heap memory grows towards small-->big, and
stack is reverse (for x86), therefore, whoever use more memory, the
other will have less. That at least is for traditional OS.
But in Linux, check /proc/pid/ma
Hi,
I want to ask about the new set of kernel thread APIs (kthread_) being
used in kernel.
In my module, when certain thread was sleeping(TASK_INTERRUPTIBLE
state) and from other thread, I tried to stop this sleeping thread using
kthread_stop. The operation was not successful and kthr
On Mar 24, 2008, at 10:43 AM, Carlo Bertoldi wrote:
Well, in the first module I used EXPORT_SYMBOL() to export my
function, and in the second one I have a function pointer to use it.
Not exactly. You would build the second module with a function
prototype for the exported function. Then you
Manish Katiyar wrote:
On Mon, Mar 24, 2008 at 6:46 PM, Carlo Bertoldi <[EMAIL PROTECTED]> wrote:
I wrote a kernel module to export some data to xenstore, a filesystem
pretty similar to the /proc one. Then I wrote another module that takes
care of loading the previous one and obtains the nee
On Mon, Mar 24, 2008 at 6:46 PM, Carlo Bertoldi <[EMAIL PROTECTED]> wrote:
> Hi,
> this is my first question to mailing list, and obviously, I'm a kernel
> newbie.
> I wrote a kernel module to export some data to xenstore, a filesystem
> pretty similar to the /proc one. Then I wrote another mo
Hi,
this is my first question to mailing list, and obviously, I'm a kernel
newbie.
I wrote a kernel module to export some data to xenstore, a filesystem
pretty similar to the /proc one. Then I wrote another module that takes
care of loading the previous one and obtains the needed symbol from i
over the last little while, i've submitted a number of patches
cleaning up the header files that are exported to userspace when
running "make headers_install". as i'm sure you know, what gets
exported and whether that needs to be "sanitized" with unifdef is
listed in the respective "Kbuild" fil
Hi
On 3/24/08, Srinivas S <[EMAIL PROTECTED]> wrote:
> Hi,
> A newbie question:
> I see that mm_struct has a field start_stack but not end_stack. I
> guess that end_stack is located at some constant address for every
> process. Is this correct? If so where is this address?
it's arg_start ...
Hi,
>
> Kernel configuration has an option to "check for stack overflows"
> under kernel hacking section. Is that what you are looking for ?
> grep your .config for DEBUG_STACKOVERFLOW
>
Thanks, that it what I was looking for.
Rajat
--
To unsubscribe from this list: send an email with
"unsubs
On Mon, Mar 24, 2008 at 2:34 PM, Rajat Jain <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there a way to detect stack overflows in the kernel?
Kernel configuration has an option to "check for stack overflows"
under kernel hacking section. Is that what you are looking for ?
grep your .config for DEBU
hi..
On 3/24/08, Rajat Jain <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there a way to detect stack overflows in the kernel?
>
> I mean, apart from "You should use it sparingly" suggestions :-).
Do you no related features on kernel hacking? I vaguely remember
seeing one...but I could be wrong.
I will check it with spec and kernel source.
Appreciate your help,
vichy
_
From: Rajat Jain [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2008 4:30 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: kernelnewbies@nl.linux.org
Subject: RE: question about SCSI commands
Hi,
Hi,
A newbie question:
I see that mm_struct has a field start_stack but not end_stack. I
guess that end_stack is located at some constant address for every
process. Is this correct? If so where is this address?
Thanks,
Srini
--
To unsubscribe from this list: send an email with
"unsubscribe kerne
Hi,
I think it represents the size of the command, and not size of data transferred.
Thanks,
Rajat
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of vichy
Sent: Tuesday, March 18, 2008 11:31 AM
To: '??'
Cc: kernelnewbies@nl.linux.org
Subject: RE: question
Hi,
Is there a way to detect stack overflows in the kernel?
I mean, apart from "You should use it sparingly" suggestions :-).
Thanks,
Rajat
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/F
does the kernel do any floating point *at all* in the kernel these
days?
rday
--
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca
Scott Lovenberg wrote:
Jörn
Engel wrote:
On Sat, 22 March 2008 23:55:53 +0800, Peter
Teoh wrote:
Or do you want individual
files/directories to be immutable - chattr?
chattr is not good enough, as root can still modify it. So if
current feature is n
22 matches
Mail list logo