somebody
that once they use some program in one job, they can't
use it again. What kind of "protection" are you claiming?
Would you think that IBM could restrict persons who
learned FORTRAN to never use FORTRAN again should they
change jobs? Or that they need to wait some time-limit
here it is.
Regards,
Krishna Chaitanya
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: sen
ere was a lawsuit. Company lost
(of course). Seems you can't hold somebody's intellectual
property for ransom, at least in the United States.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bu
ary buffers is not interesting.
[SNIPPED...]
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the
something you substituted
for init 'returns' to the kernel!
Everything is fine up to that point. Perhaps you don't have
init's correct C-runtime library?
You can make an init program with a main(), printf() and pause(),
statically-linked. That would get you started.
Cheers,
Dick Joh
ne,
.remove = __devexit_p(apedev_remove_one),
};
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the
Hello,
Tell me. When all those kernel functions are made static
how does one use a kernel debugger? How does the OOPS
get decoded if nothing is in /proc/kallsyms or System.map???
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is
Hello,
I want to know can a variable be exported by a linux kernel
modules? How can i make a variable getting assigned in kernel module
available to other kernel modules?
regards,
linux.lover.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the
length. What "standard C" are you using? Frank found a bug.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe
for which sizeof(buf) is the size of a pointer.
What kernel version are you looking at?
I'm looking at 2.4.20 n_tty.c opost_block() and
buf is a char array.
--
Paul Fulghum
Microgate Systems, Ltd.
Ahaa! That's how the bug got introduced. It used to be an
array and then it got changed
,
int flags)
and its parameter usage???
regards,
linux_lover
__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
-
To unsubscribe from this list: send the line "unsubscribe
On Tue, 25 Jan 2005 [EMAIL PROTECTED] wrote:
Hi,
I work for 3M Touch Systems (former MicroTouch) as software engineer and
our main product is touchscreen as input device.
Recently, we have released hid compliant devices (they work perfectly under
Windows OS), but Linux hid driver does not
de.
Make sure that we don't allocate memory all the way down to zero,
so the NULL pointer never gets covered up with anonymous memory
and we don't end up violating the C standard.
Signed-off-by: Rik van Riel <[EMAIL PROTECTED]>
--- linux-2.6.9/mm/mmap.c.nullmmap 2005-01-25 18
ffer the port I/O glitches that the old ISA-mapped
devices did. You done' even need the "_p" in the port read/writes
but we need to maintain compatibility with some old machines
so I wouldn't change that.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (55
On Wed, 26 Jan 2005, Olivier Galibert wrote:
On Wed, Jan 26, 2005 at 11:38:15AM -0500, linux-os wrote:
On Wed, 26 Jan 2005, Rik van Riel wrote:
With some programs the 2.6 kernel can end up allocating memory
at address zero, for a non-MAP_FIXED mmap call! This causes
problems with some programs
On Wed, 26 Jan 2005, Olivier Galibert wrote:
On Wed, Jan 26, 2005 at 01:20:53PM -0500, linux-os wrote:
On Wed, 26 Jan 2005, Olivier Galibert wrote:
Given that the man page itself says that unless you're using MAP_FIXED
start is only a hint and you should use 0 if you don't care things ca
On Wed, 26 Jan 2005, Rik van Riel wrote:
On Wed, 26 Jan 2005, linux-os wrote:
Wrong! A returned value of 0 is perfectly correct for mmap()
when mapping a fixed address. The attached code shows it working
The code that is patched is only run in case of a non-MAP_FIXED
On Wed, 26 Jan 2005, Bryn Reeves wrote:
On Wed, 2005-01-26 at 17:34, Chris Friesen wrote:
linux-os wrote:
Does this mean that we can't mmap the screen regen buffer at
0x000b8000 anymore?
How do I look at the real-mode interrupt table starting at
offset 0? You know that the return value of mm
On Thu, 27 Jan 2005, Rahul Karnik wrote:
Hello,
I was just wondering if it is possible to flash the BIOS of a PCI IDE
card from within Linux. I have an OEM IT8212 card with a really old
BIOS which the vendor does not support with a BIOS flashing tool. ITE
Tech's flashing tool appears to work
SION =
NAME=Woozy Numbat
Put in the numbers you expect.
Do `make clean ; make` all over again.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are
heers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" i
On Thu, 27 Jan 2005, Arjan van de Ven wrote:
On Thu, 2005-01-27 at 14:19 -0500, linux-os wrote:
Gentlemen,
Isn't the return address on the stack an offset in the
code (.text) segment?
How would a random stack-pointer value help? I think you would
need to start a program at a random offset, no
ually wrap to zero which you are denying. You must leave
MAP_FIXED alone. Ignore the 'C' pedants, a pointer is properly
initialized if it points to a mapped address. It would be absurd
to have to make the CPU calculate the address at run-time just
because you thew some rocks in the way
Pollard wrote:
On Tuesday 25 January 2005 15:05, linux-os wrote:
This isn't relavent [Stuff about the navy][...]
The Navy [...]
[...]Physical network topology[...]
[...]sneakernet[...]
[...]path[...]
[...]internet[...]
[...]hahaha[...]
[...]NSA[...]
[...]security clearance[...]
I'll ask aga
est your board(s)
with no possibility of somebody entering wrong information.
Jeff Fellin
RFL Electronics
[EMAIL PROTECTED]
973 334-3100, x 327
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bus
advance.
regards,
linux_lover.
__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a
I'd appreciate an comments or to have it pushed into the kernel.org tree if
its acceptable.
Thanks,
Mark
Signed-off-by: Mark A. Greer <[EMAIL PROTECTED]>
--
Cheers,
Dick Johnson
Penguin : Linux version 2.6.9 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for re
On Mon, 31 Jan 2005, Tim Schmielau wrote:
The ppid of a process is not really helpful if I want to reconstruct the
real history of processes on a machine, since it may become 1 when the
parent dies and the process is reparented to init.
I am not aware of concepts in Linux or other unices that
f sizeof(long) here, you'll have
unaligned memory accesses most of the time anyway, so it probably
doesn't really matter.
Thanks,
--
Andreas Gruenbacher <[EMAIL PROTECTED]>
SUSE Labs, SUSE LINUX GMBH
This uses an GNU-ISM where you are doing pointer arithmetic
on a pointer-to-void. NotG
On Tue, 1 Feb 2005, linux-os wrote:
On Tue, 1 Feb 2005, Andreas Gruenbacher wrote:
On Mon, 2005-01-31 at 18:30, Paulo Marques wrote:
Andreas Gruenbacher wrote:
[...]
static inline void swap(void *a, void *b, int size)
{
if (size % sizeof(long)) {
char t;
do
8192 1 e100 <---!
ipt_REJECT 9856 1
[Snipped...]
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
re must be ioctls for
accessing the accelerated functions, but after several hours of
grepping and googling, I give up. :-(
Any help is greatly appreciated!
X-Windows already does this. Execute `/usr/bin/X11/x11perf -all` to watch.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machin
ernel, resulting in non-related problems.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the li
ded to use `mkswap` again.
On Wed, 2 Feb 2005, linux-os wrote:
When I compile and run the following program:
#include
int main(int x, char **y)
{
pause();
}
... as:
./xxx `yes`
... the following occurs after about 30 seconds (your mileage
may vary):
Additional sense: Peripheral device write fault
e
On Thu, 3 Feb 2005, Andries Brouwer wrote:
On Wed, Feb 02, 2005 at 01:23:43PM -0500, linux-os wrote:
When I compile and run the following program:
#include
int main(int x, char **y)
{
pause();
}
... as:
./xxx `yes`
... the following occurs after about 30 seconds (your mileage
may vary
the
idea that started what Bas Laarhoven and Eric
Youngdale developed. In principle, a software
patent could probably have been obtained and
I could have prevented Linux modules for 17
years. Instead, early motivation when Linus
was still in college, was to help build an
operating system that woul
On Thu, 3 Feb 2005, Andries Brouwer wrote:
On Thu, Feb 03, 2005 at 07:28:50AM -0500, linux-os wrote:
I ran badblocks (all night). There were none. It's a SCSI disk
and it requires chunks of DMA RAM for each write. The machine
just croaks when it gets low on RAM and tries to write to
SCSI
T
So, I suppose this name is no longer valid?? If so, this
means that hundreds of installed machines can't be updated
in the field.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
On Fri, 4 Feb 2005, Rahul Jain wrote:
Hi All,
I am trying to add 2 new files (a .h and a .c) in the kernel. I copied my
.h file in /include/linux and .c in /net/core. I then made the
following change to the Makefile in /net/core.
obj-y := sock.o skbuff.o iovec.o datagram.o scm.o split_helper.o
ux_lover.
__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More
directory
# chmod 755 bin # Fix protection
# umount /
After you have fixed things, you don't have to re-boot.
Just execute:
# exec /sbin/init auto
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cach
lue of /usr and other
directories under /usr/...but not of bin
Maybe /usr is mounted read-only?
Hmmm, are distros still 'slicing up' the root file-system?
Good point!
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body
Hello,
While browsing linux source code what i found
that if function is defined as
asmlinkage long sys_open(const char * filename, int
flags, int mode)
then its not exported to kenrel and thus not seen in
/proc/ksyms. But if function in kernel source is not
defined with asmlinkage then it
is no way that "somebody else" can
"fix" the task thread waiting with the MUTEX held.
There has been some discussion that these hung
states could be "fixed", but that's absolutely
positively incorrect. If you have a MUTEX that
"times out" or is other
" to "fix" permanently-D-stated processes... which is
completely different than "impossible."
Most people here have little clue. It can't be done.
I realize it would be extremely difficult if not impossible to do in the
current linux architecture, but I find it h
On Tue, 22 Feb 2005, Chris Friesen wrote:
linux-os wrote:
Now, somebody needs a resource. It executes down(&semaphore);
once it gets control again, it has that resource. It attempts
to use that resource through a driver. The driver waits forever.
The resource is now permanently dorked --for
On Wed, 23 Feb 2005, Bodo Eggert wrote:
linux-os <[EMAIL PROTECTED]> wrote:
You don't seem to understand. A process that's stuck in 'D' state
shows a SEVERE error, usually with a hardware driver.
Or a network filesystem mount to a no longer existing server or share.
Bu
ver signal)?
Setting signal(SIGIO, SIG_IGN) doesn't do anything useful.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
Folks,
This group was instrumental in helping me get my first-ever
linux/PCI-bus device driver working last year, and I'm back for
some more help if you are willing.
I have a PCI card that generates an inte
On Wed, 23 Feb 2005, Mickey Stein wrote:
From: Mickey Stein
Versions: linux-2.6.11-rc4-bk11, gcc4 (GCC) 4.0.0 20050217 (latest fc
rawhide from 19Feb DL)
gcc 4.0.x cvs seems to dislike "include/linux/i2c.h file" and others due to a
current gcc 4.0.x change having to do with
array de
Where are you getting IRQ5 from? You can't "hard-code" interrupts on
PCI.
kernel: ACPI: PCI interrupt :13:03.0[A] -> GSI 36 (level, low) ->
IRQ 217
^___ This is your IRQ
It should be in dev->irq AFTER it's enabled.
[SNIPPED...]
Cheers,
e or makes one
available and maps it into the user's address-space before
returning control to the user. Since the user doesn't own
any free pages, it can't map in any.
[SNIPPED...]
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : Al
78122, PGP-key: 1F28D8AE
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscrib
I put Linux-2.6.10 on a COMPAQ presario 1800 (bad choice).
After a few minutes without any keyboard activity, it enters
"sleep mode" and dies. I need to remove the battery and
external power to be able to re-boot. Even after that,
it needs to be rebooted twice because it will get to
&quo
On Fri, 25 Feb 2005, Payasam Manohar wrote:
Hai all,
I tried to insert a sample module into Fedora core 2 , But it is giving an
error message that " no module in the object"
The same module was inserted successfully into Redhat linux 9.
Is there any changes from RH 9 to Fedora C
,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the
On Sat, 26 Feb 2005, Payasam Manohar wrote:
hai all,
Is it possible to call call_usermodehelper from interrupt context.
Of course not! I've seen this message before. Either it's a joke
or you have no clue about what interrupts are.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10
and
if it's negative, the positive equivalent is put into the global
variable errno and then the return value is changed to -1. This
is where the user-mode reference to errno occurs.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail h
npar++;
- npar = 0;
vc_state = ESgetpars;
if (c == '[') { /* Function key */
vc_state=ESfunckey;
--
Emmanuel Colbus
Club GNU/Linux
ENSIMAG - departement telecoms
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i
On Mon, 28 Feb 2005, Payasam Manohar wrote:
hai all,
I am a newbie to kernel, I want to work on linux kernel modules.
My task is to call a user program from keyboard driver under certain
conditions. I know that we can call user program using call_usermodehelper(),
but we can not call it
98989
tx_single_collisions: 34534
tx_multi_collisions: 6779
tx_flow_control_pause: 122901
rx_flow_control_pause: 0
rx_flow_control_unsupported: 0
tx_tco_packets: 0
rx_tco_packets: 0
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice
On Tue, 1 Mar 2005, Ben Greear wrote:
linux-os wrote:
Conditions:
Intel NIC e100 device driver. Two identical machines.
Private network, no other devices. Connected using a Netgear switch.
Test data is the same thing sent from memory on one machine
to a discard server on another, using TCP/IP
/full?
Lee
As previously stated, the through-put is awful.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this
use same all above 4 functions???
regards,
linux_lover
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of
Dick Johnson
Penguin : Linux version 2.6.11 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.--- linux-2.6.11/include/linux/jiffies.h.orig 2005-03-02 11:29:27.0
-0500
+++
://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Cheers,
Dick Johnson
Penguin : Linux version 2.
my desk when not. In both cases, I have
complete control of the "network".
FYI I just upgraded to Linux-2.6.11 I'm going to repeat my
experiment(s) later today after I put the same kernel on
my other machine.
Dr. Horst H. von Brand User #22616 c
are building the event-list,
not just when you queue it.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.11 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this li
n't do any good to use another name from another
yahoo account. We all know that they are free and we can
detect when the same kinds of questions and answers are
repeated.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.11 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now ca
).
So, you don't need to reinvent anything. If you have hardware
errors they will be reported in /var/log/messages (or whatever)
and if you are making a new driver, you are expected to comply
with the same protocol.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (55
All,
Wouldn't microsoft be happy to see so many linux
developers and extraordinaries while away their
time on a trivial issue instead of coming up with
other befitting replies.
Not to mention, it reduces the SNR of kernel list
pretty much.
We all _love_ linux and let's focus on that
before you use select() or poll(). It was never
resolved if the current behavior is a BUG. Nevertheless, it
is unlikely that it will be fixed because there is the belief
that it is NOT a BUG and even if it is a BUG, programs depend
upon this BUG to work.
Cheers,
Dick Johnson
Penguin : Linux version
tack for a particular
process, can't be resized?
Stacks are never resized and, in fact, this isn't a Unix/Linux
thing, it's just never done because it's stupid and, if necessary,
is used to cover up something equally stupid, like excessive
recursion.
c) And for that m
On Tue, 8 Mar 2005, Francesco Oppedisano wrote:
Hi,
i'm trying to estimate the interrupt latency (time between hardware
interrrupt and the start of the ISR) of a linux kernel 2.4.29 and i
used a simple tecnique: inside the do_timer_interrupt i read the 8259
counter to obtain the elapsed tim
nguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [
was
accessed.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscribe linux-k
On Wed, 9 Mar 2005, Mukund JB. wrote:
Hi all,
I am running Redhat 9 Linux.
I have problem with compiling the i810fb driver downloaded from
Sourceforge site. I have D/W the i810fb patch
"linux-i810fb-0.0.35.tar.bz2".
When I run the make modules I get the following ERROR
i810_main.c: 64
spin-locks
are allocated at compile-time. They might be allocated from kmalloc()
on startup, probably in a structure, along with other so-called
global data.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review b
Therefore, you only need 128k of physical memory locked
down at any one time.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
:
gcc hello.o -o hello
./hello
Hello world!
What's wrong with the ld?
Nothing at all. Where is _start: ?
Remove the 'main' label and substitute _start:
It is 'C' convention that programs start with main(). They
really don't. With the Linux API, they start at _start: and
loss to make my MTRR look like the MTRR settings
that was talked of.
I have included 2 system boot logs as attachments to this letter. One is
with the exactmap lines, the other is the kernel booting normally. I hope
that this will cover anything I have not been able to cover. Any help is
g
On Wed, 23 Mar 2005, Arjan van de Ven wrote:
On Wed, 2005-03-23 at 15:56 -0500, linux-os wrote:
static void start_timer(void)
{
if(!atomic_read(&info->running))
{
atomic_inc(&info->running);
same race.
No such race at all.
here there is one; you use add_timer
On Wed, 23 Mar 2005, sounak chakraborty wrote:
--- linux-os <[EMAIL PROTECTED]> wrote:
On Wed, 23 Mar 2005, Arjan van de Ven wrote:
On Wed, 2005-03-23 at 15:56 -0500, linux-os wrote:
static void start_timer(void)
{
if(!atomic_read(&info->running))
{
atomic_inc(&
the DMA pages to be released.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.11 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "uns
On Fri, 25 Mar 2005, Jesper Juhl wrote:
(please keep me on CC)
kfree() handles NULL fine, to check is redundant.
Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]>
--- linux-2.6.12-rc1-mm3-orig/fs/ext2/acl.c 2005-03-02 08:38:18.0
+0100
+++ linux-2.6.12-rc1-mm3/fs/ext2/acl.c 2005-03-
into the stack and
calling a function. This is NOT a good change if you want
performance. You really should reconsider this activity. It
is quite counter-productive.
Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]>
--- linux-2.6.12-rc1-mm3-orig/fs/nfsd/export.c 2005-03-21 23:12:41.0
On Sat, 26 Mar 2005, Arjan van de Ven wrote:
On Fri, 2005-03-25 at 17:29 -0500, linux-os wrote:
Isn't it expensive of CPU time to call kfree() even though the
pointer may have already been freed?
nope
a call instruction is effectively half a cycle or less, the branch
Wrong!
predictor of th
On Sat, 26 Mar 2005, Marcin Dalecki wrote:
On 2005-03-27, at 00:21, linux-os wrote:
Always, always, a call will be more expensive than a branch
on condition. It's impossible to be otherwise. A call requires
that the return address be written to memory (the stack),
using register indirection
On Sun, 27 Mar 2005, Arjan van de Ven wrote:
On Sat, 2005-03-26 at 18:21 -0500, linux-os wrote:
On Sat, 26 Mar 2005, Arjan van de Ven wrote:
On Fri, 2005-03-25 at 17:29 -0500, linux-os wrote:
Isn't it expensive of CPU time to call kfree() even though the
pointer may have already been freed?
n
Hi,
I have included this as myfile.c in
/usr/src/linux-2.4.24/kernel. I included its entry in
Makefile in export-objs.
//sourcefile
#define EXPORT_SYMTAB
#include
#include
#include //contains prototypes for
fun1 and fun2
#include
char* fun1(char* str1)
{
}
void fun2(char
l probably lose.
-- Stev
Shims are used everywhere to interface with strange, incompatible,
or otherwise difficult to interface operating systems. If Linux
is too difficult or incompatible, use a shim.
In its simplest form, a shim might be a separate object containing
only the GPL license, linked with t
ot some strange printed results??
On Mon, 28 Mar 2005, Ara Avanesyan wrote:
Hi,
I need some help on solving this strange problem.
Here is what I have,
I have a loadable module (linux.2.4.20) which contains a 2 mb static gloabal
array.
When I load it from linux booted via U-Boot the system crashes.
Ever
On Mon, 28 Mar 2005, Steven Rostedt wrote:
On Mon, 2005-03-28 at 19:56 -0500, Kyle Moffett wrote:
On Mar 28, 2005, at 19:21, Steven Rostedt wrote:
So you are saying that a stand alone section of code, that needs
wrappers to work with Linux is a derived work of Linux? If there's
some function
ven by destroying your work!
Nevertheless, don't be frightened. Just be prepared.
The best performing software you will ever write involves
bus-mastering devices. It's well worth the effort.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.11 on an i686 machine (5537.79 BogoMips).
Notice
.
__
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTE
On Wed, 30 Mar 2005, Davide Rossetti wrote:
Bouchard, Sebastien wrote:
Hi,
I'm in the process of writing a linux driver and I have a question in
regards to tasklet :
Is it ok to have large delay "udelay(1000);" in the tasklet?
If not, what should I do?
Please send the answer to me
s
that they should be treated as (Posix) uint32_t
not uint16_t, even though the value will never
exceed 8192.
So if there are any "movw (mem), %ds" and
"movw %ds, (mem)" in the code. The sizeof(mem)
needs to be 32-bits and the 'w' needs to be removed.
Otherwise, we are
.
An early '486 was brought up into a 32-bit protected-mode
(non linux) operating system using these debugging methods.
The first time I got to see some symbol written to the
screen in protected-mode marked the start of a week-end-
long party. Have fun!
Cheers,
Dick Johnson
Penguin : Linu
YI, a real-mode segment is a 16-byte entity, therefore there are
many segment:offset combinations that can get you to 0x000b8000.
On Wednesday 30 March 2005 04:47 pm, linux-os wrote:
On Wed, 30 Mar 2005, krishna wrote:
Hi all,
How can one debug kernel before there is no printk mechanism in kernel.
R
201 - 300 of 2371 matches
Mail list logo