Re: kbuild C++

2005-09-07 Thread Bernd Petrovitsch
On Wed, 2005-09-07 at 11:21 +0200, Esben Nielsen wrote: On Tue, 6 Sep 2005 [EMAIL PROTECTED] wrote: On Wed, 07 Sep 2005 00:20:11 +0200, Esben Nielsen said: Which is too bad. You can do stuff much more elegant, effectively and safer in C++ than in C. Yes, you can do inheritance in C,

RE: kbuild C++

2005-09-07 Thread Bernd Petrovitsch
On Wed, 2005-09-07 at 14:04 +0200, Budde, Marco wrote: [...] Yes, this is a general problem with integrated c/c++ stuff like Win-Visual C++. not all Windows users do not know what they are doing :-). Speaking for myself: I am programming under Linux and Windows (with more than 10 years

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Bernd Petrovitsch
, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Bernd Petrovitsch
On Fre, 2012-09-14 at 08:30 -0400, Jim Rees wrote: Bernd Petrovitsch wrote: [...] A pure KR-C version would use a string: snip #define base10len(i) \0x1\0x3\0x5\0x8\0x0A\0x0D\0x0F\0x11\0x14[sizeof(i)] snip (if I converted them properly into hexadecimal

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Bernd Petrovitsch
. Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: Why exported const value modified by another driver not updated in original driver

2012-09-04 Thread Bernd Petrovitsch
this question silly? That all is actually pure (KR-)C and has nothing to do with the kernel. static const int value = 123; [...] EXPORT_SYMBOL(value); I wonder if we can modify EXPORT_SYMBOL() so that it compile-time-fails for static variables. And if we actually want that. Bernd -- Bernd

RE: [linux-pm] [PATCH] ACPI: replace strlen(string) with sizeof(string) -1

2012-08-07 Thread Bernd Petrovitsch
and an array (and these are vastly different), go learn something new about C. Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re:

2012-08-10 Thread Bernd Petrovitsch
, reserved_maps, num_maps); if (ret 0) { Kinf regards, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: Drop support for x86-32

2012-08-24 Thread Bernd Petrovitsch
other parts (compilers, virtualization, ...) or they developing to slow *for you*, help them and send patches there but do not try to lure others into fighting your cause. Sorry to all others for feeding the troll, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at

Re: Drop support for x86-32

2012-08-24 Thread Bernd Petrovitsch
On Fre, 2012-08-24 at 14:59 +0200, wbrana wrote: On 8/24/12, Bernd Petrovitsch be...@petrovitsch.priv.at wrote: [...] And you obviously never thought about embedded devices. Servers, laptops, notebooks and desktop computers are not the whole computing world - and from the pure numbers

Re: Drop support for x86-32

2012-08-25 Thread Bernd Petrovitsch
. Trolling does not help Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: Drop support for x86-32

2012-08-27 Thread Bernd Petrovitsch
not believe that you will keep to it (and I seriously doubt that anyone believes that). Go troll somewhere else. Thank you. Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at -- To unsubscribe from this list: send

Re: [PATCH] USB: mark USB drivers as being GPL only

2008-02-05 Thread Bernd Petrovitsch
On Mon, 2008-02-04 at 01:37 +1030, David Newall wrote: [...] disadvantage Linux with respect to many classes of devices, for example GSM transceivers when used in those parts of the world^ where regulatory requirements prohibit modification of power or frequency settings, which effectively

Re: [PATCH] USB: mark USB drivers as being GPL only

2008-02-05 Thread Bernd Petrovitsch
On Die, 2008-02-05 at 21:48 +1030, David Newall wrote: Bernd Petrovitsch writes: On Mon, 2008-02-04 at 01:37 +1030, David Newall wrote: [...] disadvantage Linux with respect to many classes of devices, for example GSM transceivers when used in those parts of the world^ where regulatory

Re: [LINUX-KERNEL] C++ in linux kernel

2008-02-08 Thread Bernd Petrovitsch
On Fre, 2008-02-08 at 10:51 +0530, rohit h wrote: Hi, I am a kernel newbie. I tried to insmod a C++ module containing classes, inheritance. I am getting 'unresolved symbol' error when I use the 'new' keyword. What could the problem be? That you used C++ is the problem. Use plain C and

Re: Why is the kfree() argument const?

2008-01-16 Thread Bernd Petrovitsch
On Mit, 2008-01-16 at 08:48 -0800, Christoph Lameter wrote: On Wed, 16 Jan 2008, Johannes Weiner wrote: is there any reason why kfree() takes a const pointer just to degrade it with the call to slab_free()/__cache_free() again? The promise that the pointee is not modified is just bogus

Re: duplicated include files

2007-11-04 Thread Bernd Petrovitsch
On Sun, 2007-11-04 at 14:49 -0500, Robert P. J. Day wrote: [...] actually, one wonders if there's any value in keeping any references to other version control systems such as subversion, SCCS, CVS, mercurial, etc. Lots of people have their working trees in CVS, Subversion, So it probably

Re: [RFC GIT PULL] Nuke 386-DX/SX support changes for v3.8

2012-12-13 Thread Bernd Petrovitsch
://www.bellard.org/jslinux/. http://www.bellard.org/jslinux/tech.html says that it (also) lacks an FPU. Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at -- To unsubscribe from this list: send the line unsubscribe

Re: checkpatch.pl uninitialized value

2013-01-14 Thread Bernd Petrovitsch
to look into it. MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info

Re: Fwd: NPTL

2007-07-12 Thread Bernd Petrovitsch
On Thu, 2007-07-12 at 15:58 +0300, [EMAIL PROTECTED] wrote: [...] No, a process also contains an address space. Of course .. I ment they are _almoust_ similar. Not really. A process has one or more threads, (virtual) memory, open file descriptors, a uid, a gid and several other resources.

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-14 Thread Bernd Petrovitsch
On Wed, 2007-06-13 at 23:38 -0300, Alexandre Oliva wrote: On Jun 13, 2007, Daniel Hazelton [EMAIL PROTECTED] wrote: On Wednesday 13 June 2007 19:49:23 Alexandre Oliva wrote: Exactly. They don't. What TiVO prevents is using that modified version on their hardware. And they have that

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-14 Thread Bernd Petrovitsch
On Thu, 2007-06-14 at 05:05 -0400, Daniel Hazelton wrote: On Thursday 14 June 2007 04:37:55 Bernd Petrovitsch wrote: [...] covered by the GPL. Indeed, TiVO has this legal right. But then they must not use Do they? At least in .at, it is usually impossible to (legally) limit

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-15 Thread Bernd Petrovitsch
On Thu, 2007-06-14 at 19:37 -0300, Alexandre Oliva wrote: On Jun 14, 2007, Alan Cox [EMAIL PROTECTED] wrote: [...] For many juridisctions loading from disk into memory is copying and in some from memory to CPU cache a second copy. This is one reason as I understand it GPLv3 talks about

Mailing style (was Re: coding style)

2007-06-15 Thread Bernd Petrovitsch
On Fri, 2007-06-15 at 12:17 +0530, debian developer wrote: [...] And *Please* do not top-post! Says the one without real name who is full quoting including even the mailing list footers. SCNR, Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-17 Thread Bernd Petrovitsch
On Sun, 2007-06-17 at 15:55 -0300, Alexandre Oliva wrote: On Jun 17, 2007, Gabor Czigola [EMAIL PROTECTED] wrote: I wonder why the linux kernel development community couldn't propose an own GPL draft (say v2.2) that is as free as v2 and that includes some ideas (from v3) that are

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-17 Thread Bernd Petrovitsch
On Sun, 2007-06-17 at 18:07 -0300, Alexandre Oliva wrote: [...] However, as Ingo argued, not being able to patch holes, fix bugs and add new features is a very bad idea. He was talking about the software, but this is as true when it comes to the license. Yes, but the license of the license of

Re: Versioning file system

2007-06-20 Thread Bernd Petrovitsch
On Tue, 2007-06-19 at 20:12 +0100, Jack Stone wrote: H. Peter Anvin wrote: Chris Snook wrote: I pointed out NetApp's .snapshot directories because that's a method that uses legal path character, but doesn't break anything. With this method, userspace tools will have to be taught that :

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-21 Thread Bernd Petrovitsch
On Wed, 2007-06-20 at 18:14 -0300, Tomas Neme wrote: [] Why, if you let user-compiled kernels to run in a TiVo, it might be modified so the TiVo can be used to pirate-copy protected content, Or it might be modified to fix a bug - either a technical one or a legal one as described below.

Re: Please release a stable kernel Linux 3.0

2007-06-22 Thread Bernd Petrovitsch
On Fri, 2007-06-22 at 00:57 +0200, Zoltán HUBERT wrote: [...] Well, I'm using SuSE Pro 9.3 (excellent choice by the way), Perhaps in April 2005. And if I read http://www.pro-linux.de/security/7043 correctly it is unsupported anyways (sorry, I can't find a date on that page). ATM there are

Re: Please release a stable kernel Linux 3.0

2007-06-22 Thread Bernd Petrovitsch
On Fri, 2007-06-22 at 11:19 +0200, Xavier Bestel wrote: On Thu, 2007-06-21 at 23:49 +0200, Zoltán HUBERT wrote: While some of you dislike closed source drivers, the choices we users face are: - closed source drivers with closed source OS - closed source drivers with open source OS You

Re: How innovative is Linux?

2007-06-23 Thread Bernd Petrovitsch
On Sat, 2007-06-23 at 14:17 +0200, Grozdan Nikolov wrote: [...] Please CC me as I'm not subscribe to this mailing list, Perhaps you should change that and find most answers for yourself. Thanks! Thanks! Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43

Re: [RFC] LZO1X de/compression support

2007-05-22 Thread Bernd Petrovitsch
On Tue, 2007-05-22 at 14:38 +0530, Nitin Gupta wrote: [...] On 5/18/07, Andrey Panin [EMAIL PROTECTED] wrote: On 138, 05 18, 2007 at 03:28:31PM +0530, Nitin Gupta wrote: + register const unsigned char *ip; register keyword is meaningless for today's compiler. But can we assume

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-19 Thread Bernd Petrovitsch
an impact on the generated code. Using struct assignment keeps the type check and is just for this reason always preferable over memcpy(). Kind regards, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at -- To unsubscribe

Re: [PATCH] Coccicheck: Remove memcpy to struct assignment test

2014-03-19 Thread Bernd Petrovitsch
Hi! On Mit, 2014-03-19 at 14:39 +0100, Peter Senna Tschudin wrote: On Wed, Mar 19, 2014 at 1:02 PM, Bernd Petrovitsch be...@petrovitsch.priv.at wrote: On Die, 2014-03-18 at 22:11 +0100, Peter Senna Tschudin wrote: The Coccinelle script scripts/coccinelle/misc/memcpy-assign.cocci look

Re: [PATCH 1/2] tpm/tpm_ppi: Do not compare strcmp(a,b) == -1

2013-10-31 Thread Bernd Petrovitsch
but also (glibcs) manual page- doesn't guarantee -1 or +1 either, MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: Fwd: linux-next: Tree for Jul 9

2014-07-10 Thread Bernd Petrovitsch
Hi! On Mit, 2014-07-09 at 16:54 -0400, Nick Krause wrote: [... useless quotes deleted ...] Thanks for the help. Hope this message is better makes sense to me. And always quoting everything is bad mail style too - just quote just the relevant parts for the answer, not more, not less. Everyone

Re: [PATCH] drivers/staging/comedi/drivers/ni_atmio16d.c: remove pointless condition

2014-07-11 Thread Bernd Petrovitsch
Hi! On Fre, 2014-07-11 at 15:30 +0300, Andrey Utkin wrote: [...] Could you please substantiate this? I see that convert_arg has type unsigned int which may be 8 bytes on 64-bit platform. I haven't At least in the x86_64 world, unsigned int has 32bit. TTBOMK, it is similar on all other 64bit -

Re: [PATCH] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-08 Thread Bernd Petrovitsch
On Die, 2014-07-08 at 11:33 +0200, Peter Zijlstra wrote: [...] diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index fc4f98b1258f..e1e24eea8061 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -999,8 +999,7 @@ static void start_hrtick_dl(struct rq *rq,

Re: [PATCH -v4] random: introduce getrandom(2) system call

2014-07-30 Thread Bernd Petrovitsch
On Mit, 2014-07-30 at 07:56 -0600, Bob Beck wrote: Pavel. I have bit 'ol enterprise daemon running with established file descriptors serving thousands of connections which periodically require entropy. Now I run out of descriptors. I can't establish new connections. but I should now halt all

Re: [PATCH -v4] random: introduce getrandom(2) system call

2014-07-31 Thread Bernd Petrovitsch
On Don, 2014-07-31 at 00:18 +0200, Pavel Machek wrote: On Wed 2014-07-30 16:40:52, Bernd Petrovitsch wrote: On Mit, 2014-07-30 at 07:56 -0600, Bob Beck wrote: Pavel. I have bit 'ol enterprise daemon running with established file descriptors serving thousands of connections which

Re: Why do we still have 32 bit counters? Interrupt counters overflow within 50 days

2014-10-04 Thread Bernd Petrovitsch
On Fre, 2014-10-03 at 07:23 -0500, Christoph Lameter wrote: On Fri, 3 Oct 2014, Paul Bolle wrote: dc -e 1 k 2 32 ^ 1000 / 86400 / p 49.7 (That was the number I remembered from stories about a ancient Windows lockup.) Well yes, I used bc which discards the remainder on integer

Re: [PATCH] x86,boot: standardize strcmp()

2015-03-17 Thread Bernd Petrovitsch
On Die, 2015-03-17 at 19:43 +0530, Arjun Sreedharan wrote: [...] On a related note, IMO strcmp() should return {-1,0,1} since many programmers just expect this behavior. just my opinion. -ENOPATCH. MfG, Bernd -- I dislike type abstraction if it has no real reason. And saving on typing

Re: [PATCH] x86,boot: standardize strcmp()

2015-03-20 Thread Bernd Petrovitsch
On Don, 2015-03-19 at 10:34 -0700, H. Peter Anvin wrote: On 03/17/2015 07:13 AM, Arjun Sreedharan wrote: On a related note, IMO strcmp() should return {-1,0,1} since many programmers just expect this behavior. just my opinion. One doesn't change an API just for a claimed expection for an

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-21 Thread Bernd Petrovitsch
Hi all! On Die, 2015-04-21 at 09:37 -0400, Havoc Pennington wrote: [...] This has long been sort of the 'party line' and I've told many people this on the dbus mailing list over the years (almost exactly what you just said - that for performance-critical cases they should open a direct socket

Re: get_maintainers.pl is rude, was Re: [PATCH 05/19] USB: inode.c: move assignment out of if () block

2015-05-02 Thread Bernd Petrovitsch
On Don, 2015-04-30 at 14:54 +0200, Christoph Hellwig wrote: On Thu, Apr 30, 2015 at 02:40:04PM +0200, Greg Kroah-Hartman wrote: scripts/get_maintainer.pl is bringing up your name for this file as you have modified it in the past: I've probably modified a large part of files in the kernel

Re: [PATCH v7 2/4] x86/stackvalidate: Compile-time stack validation

2015-07-21 Thread Bernd Petrovitsch
On Mon, 2015-07-20 at 12:50 -0500, Josh Poimboeuf wrote: [...] It's perhaps distasteful, but it improves performance. And I'm a pragmatist at heart ;-) And you measured the time gain guaranteeing that it actually saves that much time. Usually that isn't actually measurable And the usual

Re: script relative shebang

2016-06-01 Thread Bernd Petrovitsch
user" friendly. User-friendlyness is not the job of the kernel ... [ Fullquote deleted as it's a bad habit ] MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at

Re: [PATCH] mfd: arizona: Remove pointless switch case

2016-07-23 Thread Bernd Petrovitsch
Hi all! On Fri, 2016-07-22 at 16:58 +0100, Charles Keepax wrote: [...] >   case IRQF_TRIGGER_RISING: >   case IRQF_TRIGGER_FALLING: >   break; > - > - case IRQ_TYPE_NONE: >   default: Don't know about the kernels coding rule in

Re: KVM: Fine-tuning for several function implementations

2017-01-23 Thread Bernd Petrovitsch
code settings. Which is not explained here. > Would others like to help in approaches for checking corresponding > run time changes a bit more? You propose the patch and others should do the work to get it accepted? Kind regards, Bernd -- Bernd Petrovitsch Email

Re: [PATCH 37/54] md/raid5: Replace a seq_printf() call by seq_puts() in raid5_status()

2016-10-06 Thread Bernd Petrovitsch
ctly? > > > > Why don't _you_ try to implement that in checkpatch instead? > > How are the chances that any other software developer would be > quicker (than me) for such > an addition because of more practical knowledge for the programming > language "Perl"

Re: MD-RAID: Use seq_putc() in three status functions?

2016-10-17 Thread Bernd Petrovitsch
t anyone can *easily* follow it to check and reproduce the results - especially if you want people with knowledge of other architectures to comment (otherwise they probably won't bother). Kind regards, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at

Re: [PATCH 2/2] staging: media: atomisp2: Replace kfree()/vfree() with kvfree()

2017-07-08 Thread Bernd Petrovitsch
/* Why not get rid of the trivial wrapper function completely? MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at

Re: [PATCH] CodingStyle: delete "kmalloc(sizeof(*var))" as preferred allocation form

2017-05-25 Thread Bernd Petrovitsch
), GFP_KERNEL); doesn't do and the compiler doesn't complain. And the typeof() version could be written that way today but I can't remember seeing it (in the kernel and elsewhere). MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at

Re: WMI and Kernel:User interface

2017-06-13 Thread Bernd Petrovitsch
practically the rights to be able to do everything. MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at

Re: [PATCH] lib: vsprintf: add printf format conversion %M for errno strings

2017-06-27 Thread Bernd Petrovitsch
en your driver prints "blah: foo bar error 49", > just run a little program that converts 49 to . Userspace can just guess if a given "49" is an errno or not ... MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at

Re: [PATCH v5 2/4] kernel hacking: new config NO_AUTO_INLINE to disable compiler auto-inline optimizations

2018-06-07 Thread Bernd Petrovitsch
gt; warning > > makes sense in general as explained in mannual. Thanks! > > The destination should be a null terminated string eventually, but we first > need > to make sure src is a null terminated string. Is there strnlen() or memchr() in the kernel? Then check the source before copyi

Re: Suggested new user link command

2018-05-01 Thread Bernd Petrovitsch
aps it is more acceptable/useful if there is a mount option which must be activated on the backup filesystems and that is not activated anywhere else. MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at

Re: Suggested new user link command

2018-05-01 Thread Bernd Petrovitsch
efficient. That's the price for security as it requires proper permissions. Or is this a root-only syscall? MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at

Re: LKML admins (syzbot emails are not delivered)

2018-01-17 Thread Bernd Petrovitsch
just wondering if it wouldn't be even more safe to use text/plain (instead of application/octet-stream) as the default MIME type if one wants to avoid to be misused to send viruses etc. MfG, Bernd PS: Sry, for somewhat semi-off-topic -- Bernd Petrovitsch Email : be...@petr

Re: Kernel-only deployments?

2018-08-23 Thread Bernd Petrovitsch
web interface and a SNMP agent (hacked net-smtp as we had our own configuration daemon and needed SNMP only as a transport protocol). [...] MfG, Bernd [0]: Every byte counts and size does matter;-) -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at

Re: Code of Conduct: Let's revamp it.

2018-09-21 Thread Bernd Petrovitsch
ress. IMHO you cannot "publish" already published stuff. MfG, Bernd, NAL -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at pEpkey.asc Description: application/pgp-keys

Re: Code of Conduct: Let's revamp it.

2018-09-25 Thread Bernd Petrovitsch
e found in lots of publicly accessible git repos can be not intended to be published? I wonder what else must happen. > public -- it is intended for those who code or wish to. MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at pEpkey.asc Description: application/pgp-keys

Re: Code of Conduct: Let's revamp it.

2018-09-24 Thread Bernd Petrovitsch
ying you (and the rest is usually not enough to get anything revoked). I don't see why that should be any different with GPLv2 patches for the Kernel sent to public mailinglists with the intent of inclusion. Please get back to the issue and circumstances at hand and do not try to divert people w

Re: Cleaning up numbering for new x86 syscalls?

2018-11-20 Thread Bernd Petrovitsch
ware/systems out there that uses 64bit CPUs (for whatever reason - if only that one can't get a 32bit CPU for that board) but will never ever need more than 2-3 GB RAM . MfG, Bernd -- Bernd Petrovitsch Email : be...@petrovitsch.priv.at LUGA : http://www.luga.at

Re: Completely offtopic : [OT?] Coding Style

2001-01-24 Thread Bernd Petrovitsch
ctively) but not for other languages (e.g. German) where capital letters quite common. [Fullquote deleted] Bernd -- Bernd Petrovitsch Email : [EMAIL PROTECTED] G.A.M.S GmbH Fax : +43 1 8958499-60 Stiegerg. 15-17/8

Re: About IP address

2000-11-28 Thread Bernd Petrovitsch
main. The least significant two octets contain the DI, which is an Internet Autonomous System number. --- snip --- Bernd -- Bernd Petrovitsch Email : [EMAIL PROTECTED] G.A.M.S GmbH Fax : +43 1 8958499-60 Stiegerg. 15-1

Re: Kernel compile trouble

2001-01-07 Thread Bernd Petrovitsch
is not set # # Kernel hacking # CONFIG_MAGIC_SYSRQ=y Bernd Petrovitsch Email : [EMAIL PROTECTED] G.A.M.S GmbH Fax : +43 1 8958499-60 Stiegerg. 15-17/8 A-1150 Vienna/Austria/Europe LUGA : http://www.luga.at PGP signature

Re: [OT] speeding boot process

2005-02-15 Thread Bernd Petrovitsch
On Tue, 2005-02-15 at 09:34 +0100, Paolo Ciarrocchi wrote: [...] > So... why is Gentoo the only distro the uses parallel execution of > init scripts ? Because no other distro bothered to implement it. Apart from that we as quite far off-topic for LKML since this has nothing to do with kernel.

Re: [OT] speeding boot process (was Re: [ANNOUNCE] hotplug-ng 001 release)

2005-02-15 Thread Bernd Petrovitsch
On Tue, 2005-02-15 at 09:55 +0100, Helge Hafting wrote: [...] > The init-script dependencies are specifies already - at least on debian. These are not dependencies but "only" the sequence of startup (and it is not only Debian but also Fedora/RedHat, SuSE, Mandrake and probably all except Gentoo).

Re: [OT] speeding boot process (was Re: [ANNOUNCE] hotplug-ng 001 release)

2005-02-15 Thread Bernd Petrovitsch
On Tue, 2005-02-15 at 14:20 +0100, Helge Hafting wrote: > Bernd Petrovitsch wrote: > >On Tue, 2005-02-15 at 09:55 +0100, Helge Hafting wrote: [...] > >These are not dependencies but "only" the sequence of startup (and it is > >not only Debian but also Fedora/RedHat,

Re: Bug in SLES8 kernel 2.4.x freezing HP DL740/760

2005-02-17 Thread Bernd Petrovitsch
On Wed, 2005-02-16 at 22:03 +0100, Oliver Antwerpen wrote: > Matthias-Christian Ott schrieb: > > Oliver Antwerpen wrote: > >> SuSE has patched UNICON into the kernel which will cause these servers > >> to hang when booted with vga=normal. The system will run fine in > >> fb-mode, but not in

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-08 Thread Bernd Petrovitsch
On Fri, 2005-04-08 at 09:08 -0300, Humberto Massa wrote: > Adrian Bunk wrote: > >Debian doesn't seem to care much about the possible legal problems of > >patents. You have lots of "possible legal problems" of any kind. Basically everyone can sue you for (almost) whatever he wants almost all ofth

Re: GPL violation by CorAccess?

2005-04-20 Thread Bernd Petrovitsch
On Tue, 2005-04-19 at 17:37 -0600, Chris Friesen wrote: > Richard B. Johnson wrote: > > > No. Accompany it with a written offer to __provide__ the source > > code for any GPL stuff they used (like the kernel or drivers). > > Anything at the application-level is NOT covered by the GPL. That

Re: Atheros wi-fi card drivers (?)

2005-03-11 Thread Bernd Petrovitsch
On Mon, 2005-03-07 at 16:55 +0100, Raphael Jacquot wrote: [...] > as your name appears european, there are no software patents (yet ?) so Alas, this is wrong. The EPO is issuing masses of software patents since years (though they are more or less explicitly[0] excluded from patentability in the

Re: userspace vs. kernelspace address

2005-01-30 Thread Bernd Petrovitsch
On Fri, 2005-01-28 at 13:40 -0800, Rock Gordon wrote: > Lemme explain my problem a little bit more I have > a thread that does exactly similar things in > kernel-mode and user-mode (depending on how you > invoked it; of course, the kernel one is forked using > kernel_thread(), and the user

Re: creating daemons

2005-02-03 Thread Bernd Petrovitsch
On Wed, 2005-02-02 at 15:24 +0530, root wrote: > i want run my program as a daemon..its like normal > how to do that > service squid start Look into /etc/init.d/squid (or wherever your distribution puts the SysV-Init startup files) on how to write a similar script for your daemon. And BTW this

Re: uninterruptible sleep lockups

2005-02-23 Thread Bernd Petrovitsch
On Tue, 2005-02-22 at 22:05 -0300, Horst von Brand wrote: > Chris Friesen <[EMAIL PROTECTED]> said: [...] > > Maybe I'm on crack, but would it not be technically possible to have all > > resource usage be tracked so that when a task tries to do something and > > hangs, eventually it gets cleaned

Re: [Fwd: United States Patent: 6,862,609]

2005-03-03 Thread Bernd Petrovitsch
On Wed, 2005-03-02 at 21:28 -0700, Jeff V. Merkey wrote: > Gene Heskett wrote: > >On Wednesday 02 March 2005 21:36, Jeff V. Merkey wrote: > >>Another Linux patent. ... and another - AFAICS obvious - trivial ("prior art") patent (but I'm not fluent in patent quak, I'm just a simple systems

Re: [Fwd: United States Patent: 6,862,609]

2005-03-03 Thread Bernd Petrovitsch
On Thu, 2005-03-03 at 01:21 -0500, Gene Heskett wrote: [...] > It brings up another sore point with me. I'm of the opinion that both > copyright, and patent, should be granted to the author/inventor on a > non-transferable basis. He could then sell rights to use it for a ACK. This would kill

Re: [Fwd: United States Patent: 6,862,609]

2005-03-04 Thread Bernd Petrovitsch
On Thu, 2005-03-03 at 13:11 -0700, Trever L. Adams wrote: [...] > It is Article 1 Section 8. It also says they shall have that power and > that the intent is to promote the advances of arts and sciences. It Actually the current (ab)use of the patent system (both in the USA and by the EPO under

Re: Linux, Get the facts?

2005-08-03 Thread Bernd Petrovitsch
On Tue, 2005-08-02 at 14:19 -0600, Alejandro Bonilla wrote: [...] > I watched some commercials and I almost puked when I looked at the > Microsoft Get the Facts for Linux vs Windows Server stuff. > > They have a url which is http://www.microsoft.com/getthefacts Yes, this propaganda exists

Re: time

2005-08-25 Thread Bernd Petrovitsch
On Thu, 2005-08-25 at 09:54 +0530, raja wrote: [...] > Is There Any function in c to caliculate the exact time taken to > execute block of code(in micro sec and milli sec and minuits and hours). > thanking you, Do you mean system-time, user-space-time or the time it took in the real

Re: Petition for gas grices

2005-08-26 Thread Bernd Petrovitsch
On Thu, 2005-08-25 at 15:01 -0400, Patrick McFarland wrote: [...] > cheap even if gas is $5 per gallon (predicted price for 2006). Better than We have here (in Austria/Europe) ATM 1.11 € for one liter of 91 Octane gasoline. Diesel oil is slightly (a few Cents) less. And it will probably rise

Re: A Great Idea (tm) about reimplementing NLS.

2005-08-26 Thread Bernd Petrovitsch
On Thu, 2005-08-25 at 20:00 -0400, Daniel B. wrote: > Alan Cox wrote: > > On Sul, 2005-06-19 at 18:55, Pavel Machek wrote: [...] > > > If we are serious about utf-8 support in ext3, we should return > > > -EINVAL if someone passes non-canonical utf-8 string. > > > > That would ironically not be

Re: Open letter to Linux kernel developers (was Re: Binary Drivers)

2006-12-21 Thread Bernd Petrovitsch
On Wed, 2006-12-20 at 16:38 -0800, Casey Schaufler wrote: [...] > The argument that a hardware company usually > invokes is that, while they don't give a horse's > pitute about the software itself, they do care > about the information the software contains > about their hardware. The concern is

Re: Open letter to Linux kernel developers (was Re: Binary Drivers)

2006-12-31 Thread Bernd Petrovitsch
On Fri, 2006-12-22 at 12:59 +0100, Erik Mouw wrote: > On Thu, Dec 21, 2006 at 01:16:15PM -0500, [EMAIL PROTECTED] wrote: > > At least nVidia *does* actually Get It, they just don't have a choice in > > implementing it, because all their current hardware includes patents that > > they licensed from

Re: [PATCH] [DISCUSS] Make the variable NULL after freeing it.

2006-12-31 Thread Bernd Petrovitsch
On Thu, 2006-12-28 at 09:54 +0100, Jan Engelhardt wrote: > On Dec 27 2006 17:10, Pavel Machek wrote: > > >> Was just wondering if the _var_ in kfree(_var_) could be set to > >> NULL after its freed. It may solve the problem of accessing some > >> freed memory as the kernel will crash since _var_

Re: Open letter to Linux kernel developers (was Re: Binary Drivers)

2007-01-02 Thread Bernd Petrovitsch
On Tue, 2007-01-02 at 16:30 +1000, Trent Waddington wrote: [...] > I think you're repeating a myth that has become a common part of > hacker lore in recent years. It's caused by how little we know about > software patents. The myth is that if you release source code which > violates someone's

Re: Open letter to Linux kernel developers (was Re: Binary Drivers)

2007-01-02 Thread Bernd Petrovitsch
On Tue, 2007-01-02 at 21:26 +1000, Trent Waddington wrote: > On 1/2/07, Bernd Petrovitsch <[EMAIL PROTECTED]> wrote: > > While this is true (at last in theory), there is one difference in > > practice: It is *much* easier to prove a/the patent violation if you > > have (

Re: [PATCH] v850: const-qualify first parameter of find_next_zero_bit

2005-07-20 Thread Bernd Petrovitsch
On Wed, 2005-07-20 at 17:38 +0900, Miles Bader wrote: [...] > @@ -157,7 +157,7 @@ > #define find_first_zero_bit(addr, size) \ >find_next_zero_bit ((addr), (size), 0) > > -extern __inline__ int find_next_zero_bit (void *addr, int size, int offset) > +extern __inline__ int

Re: [PATCH 22/82] remove linux/version.h from drivers/message/fus ion

2005-07-20 Thread Bernd Petrovitsch
On Tue, 2005-07-19 at 22:12 -0500, Matt Domsch wrote: > On Tue, Jul 19, 2005 at 06:07:41PM -0600, Moore, Eric Dean wrote: [...] > > What you illustrated above is not going to work. > > If your doing #ifndef around a function, such as scsi_device_online, it's > > not going to compile > > when

Re: a 15 GB file on tmpfs

2005-07-21 Thread Bernd Petrovitsch
On Wed, 2005-07-20 at 14:16 +0200, Bastiaan Naber wrote: [...] > I have a 15 GB file which I want to place in memory via tmpfs. I want to do > this because I need to have this data accessible with a very low seek time. Apart fromn the 32-vs-64bit thing: Isn't it enough (and simpler and more

Re: a 15 GB file on tmpfs

2005-07-21 Thread Bernd Petrovitsch
On Thu, 2005-07-21 at 11:12 +0200, Stefan Smietanowski wrote: [...] > On a 64bit machine: > $ gcc test.c -o test64 ; ./test64; file ./test64 > sizeof(void *): 8 > sizeof(size_t): 8 > test64: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for > GNU/Linux 2.4.0, dynamically linked (uses

Re: 10 GB in Opteron machine

2005-07-22 Thread Bernd Petrovitsch
On Fri, 2005-07-22 at 11:31 +0200, Christoph Pleger wrote: [...] > 2. All other software on the machine is 32-bit software. Will that > software work with a 64-bit kernel? Basically yes. E.g. open-office does not exist natively for 64bit architectuires ATM. Bernd -- Firmix Software

Re: 10 GB in Opteron machine

2005-07-22 Thread Bernd Petrovitsch
On Fri, 2005-07-22 at 11:31 +0200, Christoph Pleger wrote: [...] > 2. All other software on the machine is 32-bit software. Will that > software work with a 64-bit kernel? Basically yes. E.g. open-office does not exist natively for 64bit architectures ATM (at least not on x86-compatibles).

Re: Kernel doesn't free Cached Memory

2005-07-22 Thread Bernd Petrovitsch
On Fri, 2005-07-22 at 08:27 -0300, Vinicius wrote: [...] >I have a server with 2 Pentium 4 HT processors and 32 GB of RAM, this > server runs lots of applications that consume lots of memory to. When I stop > this applications, the kernel doesn't free memory (the memory still in use) > and

Re: xor as a lazy comparison

2005-07-25 Thread Bernd Petrovitsch
On Sun, 2005-07-24 at 18:15 -0400, Puneet Vyas wrote: [...] > I just compiled two identical program , one with "!=" and other with > "^". The assembly output is identical. Hmm, which compiler and which version? You might want to try much older and other compilers. Bernd -- Firmix

Re: xor as a lazy comparison

2005-07-26 Thread Bernd Petrovitsch
On Tue, 2005-07-26 at 08:07 +0200, Jan Engelhardt wrote: [...] > To answer for x *= 2 vs x <<= 1: and x += x > Use * when you would logically want to do a multiplication, > << if you're working on a bitfield. It's just for keeping the code clean > enough so that others may understand it. > > In

Re: [PATCH] signed char fixes for scripts

2005-07-28 Thread Bernd Petrovitsch
On Thu, 2005-07-28 at 11:02 +0100, Paulo Marques wrote: > J.A. Magallon wrote: > > On 07.27, Sam Ravnborg wrote: > >>On Fri, Jul 15, 2005 at 10:14:43PM +, J.A. Magallon wrote: > >>>On 07.16, J.A. Magallon wrote: > On 07.15, Andrew Morton wrote: > >

Re: [PATCH] signed char fixes for scripts

2005-07-28 Thread Bernd Petrovitsch
On Thu, 2005-07-28 at 11:40 +0100, Paulo Marques wrote: [...] > You're comming really late in this thread :) Well, the same issue arised recently somewhere else too on this list and lots of C programmers (not only beginners) don't know about the 3 char types as speficied in the C standard. [ The

<    1   2   3   4   >