Re: Setting CPUFreq scaling governor to performance not setting CPU frequency to the highest

2023-12-04 Thread Mulyadi Santosa
On Tue, Dec 5, 2023, 11:19 Vigneshwar S wrote: > Hello everyone! > > I've read about the CPU performance scaling in Linux kernel documentation > and tried > experimenting with multiple scaling governors. Based on the documentation, > the

Re: MAC resolution issue [Two ethernet ports on same subnet]

2023-03-09 Thread Mulyadi Santosa
ailman/listinfo/kernelnewbies > try to connect those two nic ports to two different VLAN. And since this is kernelnewbies mailing list, try to look for more approriate forum to ask this -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mul

Re: REPOST : Kernel panic when try to install Rocky 8.4

2022-11-07 Thread Mulyadi Santosa
use newer kernel version provided by elrepo. Have you tried it? > Thanks, > Axel > > --- Original Message --- > On Monday, November 7th, 2022 at 14:27, Mulyadi Santosa < > mulyadi.sant...@gmail.com> wrote: > > > > On Mon, Nov 7, 2022, 18:04 mavis wr

Re: REPOST : Kernel panic when try to install Rocky 8.4

2022-11-07 Thread Mulyadi Santosa
rocky 8.x. i believe latest release is either 8.6 or 8.7 > --- Original Message --- > On Monday, November 7th, 2022 at 11:19, Mulyadi Santosa < > mulyadi.sant...@gmail.com> wrote: > > > > On Fri, Nov 4, 2022 at 4:35 PM mavis wrote: > >> Hi All, >>

Re: REPOST : Kernel panic when try to install Rocky 8.4

2022-11-07 Thread Mulyadi Santosa
el > > ***Sorry for my english, I'm still learning, if you don't understand, > please let me know.* > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kerneln

Re: kernel compile message

2022-10-29 Thread Mulyadi Santosa
On Tue, Oct 25, 2022, 16:29 Anatoly Pugachev wrote: > Hello! > > Doing kernel testing, occasionally I started to get messages: > > mator@ttip:~/linux-2.6$ make -j olddefconfig; nice make -j20 && nice > make -j20 modules > # > # configuration written to .config > # > SYNC

Re: Backtrace stopped: previous frame identical to this frame (corrupt stack?) , even with fresh qemu and linux build

2022-04-22 Thread Mulyadi Santosa
/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Thank you. > Chan Kim > > > > > > ___ > Kernelnewbies mailing lis

Re: Can register addresses conversion go through iommu too? probably not..

2021-09-30 Thread Mulyadi Santosa
Correct It is done automatically with the help of so called shadow page table On Thu, Sep 30, 2021, 13:54 wrote: > Hello all, > > I know when a device does dma to memory, we use functions like > dma_alloc_coherent to allocate a memory region for the dma and we get the > kernel virtual address

Re: Intel i40e driver call centos 4.14.44 kernel crash!

2021-07-13 Thread Mulyadi Santosa
On Tue, Jul 13, 2021, 15:55 Oracle wrote: > With centos kernel 4.14.44! > Jul 12 00:49:25 cdm-storage kernel: ---[ end trace 81d5684fa78a43bb ]--- > Jul 12 00:49:25 cdm-storage kernel: i40e :1a:00.1 eth1: tx_timeout: > VSI_seid: 397, Q 34, NTC: 0x5e, HWB: 0x71, NTU: 0x71, TAIL: 0x71, INT:

Re: advice on a bisect

2021-06-29 Thread Mulyadi Santosa
On Wed, Jun 30, 2021, 01:02 wrote: > I have an old 686 machine, running fedora 30 > (last fedora supporting 686) > > processor : 1 > vendor_id : GenuineIntel > cpu family : 6 > model : 23 > model name : Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz > stepping : 10 > microcode : 0xa0b > cpu MHz

Re: Understanding the locking behavior of msync

2021-03-26 Thread Mulyadi Santosa
On Fri, Mar 26, 2021, 22:05 Maximilian Böther < maximilian.boet...@student.hpi.de> wrote: > Hello! > > I am investigating an application that writes random data in fixed-size > chunks (e.g. 4k) to random locations in a large buffer file. I have > several processes (not threads) doing that, each

Re: Enquiry

2021-02-09 Thread Mulyadi Santosa
On Wed, Feb 10, 2021, 11:40 Abhijit Paul wrote: > Hello, I am new to kernel development. As a beginner, I don't know which > part I will work on. Can anyone suggest me what I do as a beginner? > > Best, > Abhijit > What is your personal interest in kernel dev? Scheduler? Networking?

Re: Configuring kdump for ARM64

2020-12-02 Thread Mulyadi Santosa
On Thu, Dec 3, 2020, 13:41 Pankaj Vinadrao Joshi wrote: > Hi, > i am trying to configure kdump for my ARM64 with custom kernel(5.8) also i > have compiled my kernel with all configs required for kdump and kexec. I > have tried to with the help of google but didn't worth since all i have is >

Re: Relationship between Rx/Tx ring and Skbuff.

2020-09-03 Thread Mulyadi Santosa
es.org/mailman/listinfo/kernelnewbies > Great work! -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>

Re: How to acquire the occupancy time of CPUs within a certain duration, i.e. 10ms, 1ms, and etc?

2020-09-03 Thread Mulyadi Santosa
n a cpu core without being interrupted/preempted for certain time? if yes, i think schedule a process as real time (sched fifo?), create timer, sched yield after timer runs out. cmiiw -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyadit

Re: Scheduler benchmarks

2020-08-25 Thread Mulyadi Santosa
lnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > Aside from very far different kernel version, I think you need to use perf record and visualized it with heat map too (check Brendan Gregg blog) On the lower level si

Re: Is there some method or software that could purposely generate a lot of physical memory fragmentations on linux?

2020-07-02 Thread Mulyadi Santosa
cks of memory using malloc, each having different size, keep the returned pointer, then randomly free() some of them, then malloc() again with different size -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com

Re: Crash recovery kernel error

2020-06-21 Thread Mulyadi Santosa
u're trying to run 5.x kernel, something that might not work due to incompatibility of API/ABI Hope it helps > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewb

Re: How to detect slab memory leak

2018-12-20 Thread Mulyadi Santosa
t;CONFIG_DEBUG_KMEMLEAK". > > > > > > https://www.kernel.org/doc/html/v4.10/dev-tools/kmemleak.html > > > > On Tue, Dec 18, 2018 at 1:14 PM Mulyadi Santosa > > wrote: > > > > > > > > > > > > On Sun, Dec 16, 2018 at 1:25 PM

Re: How to detect slab memory leak

2018-12-17 Thread Mulyadi Santosa
__ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com __

Re: Kernel development virtualization options

2018-11-16 Thread Mulyadi Santosa
erative development, with good > GDB integration? > > Cheers, > Laurence. > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -- rega

Re: deferred pages

2018-11-01 Thread Mulyadi Santosa
> Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > Hm, did you mean delayed/lazy paging? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blo

Re: Question about mmap

2018-06-15 Thread Mulyadi Santosa
cess' same virtual address"? > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > -- regards, Mulyadi Santosa Freelance Linux trainer and

Re: sched_child_runs_first doesn't work

2017-12-07 Thread Mulyadi Santosa
in, and parent got the chance to run. In order to prove this theory, try to execute printf("this is parent") or printf("this is child") first, then gettimeofday() later. Good luck and cmiiw -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: ZRAM setup and configuration

2017-10-20 Thread Mulyadi Santosa
gt; any change in SO and SI. > What am I missing? > > Thanks > Russel > > I think you need to bring more load. Using mem free, that means you don't even push the buffer/page cache to be flushed out. Without using too complicated math, I suggest to stress as much as twice amount of

Re: OOM killer hung the whole system

2017-07-30 Thread Mulyadi Santosa
> of squashfs or OOM killer. > The above stack trace just mention what happened in kernel space. Very likely when it was about to be killled by OOM killer. CMIIW. Thus, it has little or nothing to do with the fact that it called squash fs related function -- regards, Mulyadi Sant

Re: Can I use the same .config file to compile 32-bit and 64-bit kernel?

2017-07-07 Thread Mulyadi Santosa
t. in 32 bit, you have 3:1, in 64 bit, there is none and I am not sure that is automatically decided by Kconfig simply by selecting 32 or 64 bit arch. CMIIW -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: Kernel CPU Utilization

2017-04-25 Thread Mulyadi Santosa
vm involved, steal time shall be accounted to ___________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org <javascript:;> > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -- regards, Mulyadi Santosa Freelance Linux trai

Re: Question about uprobes

2017-04-07 Thread Mulyadi Santosa
ll trying to > figure out why uprobes seems to get triggered. > > -- > Mike > > :wq > I am not really into xen, but afaik both guest and host xen kernel is modified in order to facilitate hypercall Thus, i suggest you study first how hypercall works Regards, Mulyadi --

Re: Question about uprobes

2017-04-06 Thread Mulyadi Santosa
ys_open > which must execute to prevent the error which causes the kernel to print > this message? > > > What vm hypervisor do you use? Regards, Mulyadi -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.c

Re: Suggestions needed for resolving DT issues between kernel 3.10 and 4.4

2017-04-05 Thread Mulyadi Santosa
the DTS (from 3.10 kernel) for 4.4 and > >> managed to get it compiled. Now no warning of outdated DT _but_ still > >> hardware components not working. > >> > >> I was assuming that as hardware is still same for both kernel 3.10 and > >> 4.4, so

Re: why `send(2)' blocks even though I've turned up the related sock settings?

2017-03-11 Thread Mulyadi Santosa
even in the step of copying > buffer from userspace to kernel? I didn't find the related code, though. > > > Regards. > > > -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.

Re: kernel thread priority over user thread

2016-12-20 Thread Mulyadi Santosa
ean higher, do you mean y > x? All in all, kernel thread and user thread is treated the same in the kernel's point of view. So in your case, unless one of them voluntarily give up his time slice, or preempted by certain case, thread with higher priority will be picked by scheduler first CMIIW -- r

Re: Error reading /dev/mem

2016-10-10 Thread Mulyadi Santosa
ever exceeds the threshold. > > So what you are suggesting is that there is a subrange of physical > addresses from which it is illegal to read in /dev/mem? > > Thanks. > > On 1 October 2016 at 18:45, Mulyadi Santosa <mulyadi.sant...@gmail.com> > wrote: > > > >

Re: Error reading /dev/mem

2016-10-01 Thread Mulyadi Santosa
the same problem. > > Any idea why I can't read beyond the above point? > > Thanks. > > Hi paddie Is it 32 bit system? If yes, it seems you are about to exceed boundary of kernel linear addres range, which is 0-896 MiB. The upper 896-1024 MiB (1 GiB) is reserved for dynamic ma

Re: doubt on schedule_work() - work task getting scheduled lately

2016-08-04 Thread Mulyadi Santosa
ster than 100 us? IMHO, if slower % is lower than 1% of overall sample, I think it is still acceptable, but this is up to your judgement BTW, like other said too, that mutex_lock, have you also measured how long, by average, the lock is taken? -- regards, Mulyadi Santosa Freelance Linux trainer

Re: Memory pages not released by the filesystem after a truncate

2016-07-06 Thread Mulyadi Santosa
cate around ~100 MB contiguous memory region. IIRC, if you want to do atomic allocation, usually it can not be that big. I am not sure how large, but surely not reaching 100 MB. For that size, I think you should rely on vmalloc. But, for clarification, maybe you should also post your full content

Re: Call Trace analysis doubt

2016-06-20 Thread Mulyadi Santosa
nks, > Sekhar > > Hi... Not sure about the "?". But about the offset/length, I think it will differ, but mostly because -g implies turning off certain optimization options. > ___________ > Kernelnewbies mailing list > Kernel

Re: Changing the default scheduler

2016-05-24 Thread Mulyadi Santosa
eas? > > Em Seg, 23 de mai de 2016 10:05 AM, Mulyadi Santosa < > mulyadi.sant...@gmail.com> escreveu: > >> On Fri, May 20, 2016 at 6:51 AM, Renato Utsch <renatout...@gmail.com> >> wrote: >> >>> Hello, >>> >>> I am a new dev

Re: Changing the default scheduler

2016-05-23 Thread Mulyadi Santosa
; http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > Hi.. putting aside scheduler plugins module that once exist and maintained (not sure now), I guess the only way to switch to new scheduler is to patch your kernel first (if you haven't do that) with scheduler patch such as C

Re: can anyone tell me which function to call to pause the kernel

2016-05-17 Thread Mulyadi Santosa
On Mon, May 16, 2016 at 7:36 AM, walkerlala <ablacktsh...@gmail.com> wrote: > On 2016年05月16日 01:36, Mulyadi Santosa wrote: > >> >> >> On Thu, May 12, 2016 at 9:55 PM, walkerlala <ablacktsh...@gmail.com >> <mailto:ablacktsh...@gmail.com>> wrot

Re: How to initialize the new attributes in process control block.

2016-05-15 Thread Mulyadi Santosa
f you insert new variable in the middle, there is a chance you messed it up. There might be other constraints, though. CMIIW -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: can anyone tell me which function to call to pause the kernel

2016-05-15 Thread Mulyadi Santosa
ot sure if it is still maintained or not. btw, kernel can not be paused, actually. if you really need that, you need to run linux kernel inside virtual machine and pause the virtual machine. But doing that, you will also pause user space too :) -- regards, Mulyadi Santosa Freelance Linux tra

Re: PR Value in the top command

2016-03-22 Thread Mulyadi Santosa
hich i should > expect? > > Quick answer: have you check and read sched_setscheduler() in detail, especially part that explains about SCHED_FIFO? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com __

Re: remote system call

2016-03-03 Thread Mulyadi Santosa
; > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > Feasible, yes. Try to check the source code of MOSIX/OpenMosix or OpenSSI. Kerrighed is another

Re: where is disk block access in kernel ?

2016-03-02 Thread Mulyadi Santosa
_ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > Hi Sounds like something doable via ftrace. try to check if it is feasible to be done using ftrace -- regards, Mulyadi Santosa Fr

Re: Question : How to access to bandwith statistics from kernel space?

2016-03-01 Thread Mulyadi Santosa
> Thank you > Martin > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > Hi Try to check mtr application sourc code. -- regards, Mulyadi Santosa

Re: Partial (?) kernel crash dump ?

2016-02-24 Thread Mulyadi Santosa
__ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > try to read this: http://events.linuxfoundation.org/sites/events/files/slides/slide_final_0.pdf It might be not what you're looking for, but

Re: Project Idea..

2016-02-21 Thread Mulyadi Santosa
fo/kernelnewbies > Hi Suniita Sounds challenging. It might be good topic. Just make sure you understand how to measure power consumption and prepare various scenario of load simulation to mimic real power consumption pattern. -- regards, Mulyadi Santosa Freelance Linux trainer and consult

Re: call graph

2016-02-21 Thread Mulyadi Santosa
On Sun, Feb 21, 2016 at 5:46 PM, masoud hematpour <mashe...@gmail.com> wrote: > Thank you all specially mulyadi!!! > I installed Egypt. It works fine. > > On Sun, Feb 21, 2016 at 8:54 AM, Andreas Platschek < > andi.platsc...@gmail.com> wrote: > >> Hi, >&g

Re: call graph

2016-02-20 Thread Mulyadi Santosa
aph i.e graph of page in. Other wise, you might find yourself generating too complex graph -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbi

Re: Distributed Process Scheduling Algorithm

2016-02-18 Thread Mulyadi Santosa
maybe you can piggy back on Erlang project and enhance their work instead? - do you have solid background of kernel programming, especially related to scheduler? if not, try to get a grasp quickly using code navigator e.g cscope or lxr.linux.no and play around with the code first. It might give d

Re: Process scheduling

2016-02-16 Thread Mulyadi Santosa
/sys/kernel/debug >>>> cd /sys/kernel/debug/tracing >>>> echo 0 > tracing_on >>>> echo function > current_tracer >>>> echo "sched*" > set_ftrace_filter >>>> echo 1 > events/sched/enable >>>> echo 1 > tr

Re: Kernelnewbies Digest, Vol 63, Issue 20

2016-02-15 Thread Mulyadi Santosa
t CPU only. > > The essential thing in interrupt servicing is: interrupt handler runs on > behalf of current running process. > > Hopefully I still recall all these correctly. > > > -- > regards, > > Mulyadi Santosa > Freelance Linux trainer and consultant > > Hi Muly

Re: current during interrupt servicing

2016-02-14 Thread Mulyadi Santosa
s is per cpu context, so if you are in SMP situation, current will return task struct in that CPU only. The essential thing in interrupt servicing is: interrupt handler runs on behalf of current running process. Hopefully I still recall all these correctly. -- regards, Mulyadi

Re: 'bin/sh: can't access tty' when boot from kernel-4.3.3

2016-01-25 Thread Mulyadi Santosa
t environment: > CentOS 6.0 with kernel-2.6.32 > gcc 4.4.7 > binutils 2.20 > make 3.81 > > Regards, > Hao Lee > Perhaps you missed to build tty driver? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: How to reserve physical address space region

2015-10-19 Thread Mulyadi Santosa
vance! > Sahlot > 5 GB is alot. If you are sure about it, then I guess boot_memalloc() might be the only choice -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _

Re: System freezes with Kernel BUG at kernel/time/timer.c:1108 run_timer_softirq()

2015-10-19 Thread Mulyadi Santosa
> -Raghu > First of all, please send email using plain text mode. If you need to send picture, better attach it to somewhere else and provide us with the link. I am just guessing: it might be that when timer is about to run or in the middle of running, the data structure that represents th

Re: Help

2015-09-30 Thread Mulyadi Santosa
tly release them? All in all, I appreciate you ask my help, but next time please make sure that person is inviting you for direct discussion first, so you won't be considered as impolite. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.

Re: Fuzzing scheduler CFS

2015-07-21 Thread Mulyadi Santosa
basic rule of scheduling is that you need to make it as fast as possible. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies

Re: Interrupts handling

2015-06-21 Thread Mulyadi Santosa
, pushing -1 is to signify this is error code. Later, (just my guess), the error code will be pushed too. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: About head of kernel linked list structure

2015-05-10 Thread Mulyadi Santosa
post -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo

Re: About head of kernel linked list structure

2015-05-08 Thread Mulyadi Santosa
-- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: About head of kernel linked list structure

2015-05-07 Thread Mulyadi Santosa
know when you hit head i.e if !(head.prev) { // we're at head } -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies

Re: LXC/cgroups process group scheduling in linux 3.18+

2015-03-23 Thread Mulyadi Santosa
. A very different experience happen if let's say you use KVM or Xen. There, hypervisor is the only thing visible in the host user space. Process etc completely live inside the hypervisor. Hopefully someone more knowledgeable steps in and give better enlightenment -- regards, Mulyadi Santosa

Re: mntinfo of process

2015-03-14 Thread Mulyadi Santosa
@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list

Re: Help with learning scheduler O(1)

2015-03-13 Thread Mulyadi Santosa
not clear about your question. perhaps specifically you asked about why rcu_read_lock() is called? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- regards, Mulyadi

Re: New member

2015-01-26 Thread Mulyadi Santosa
in :) -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Sched_clock() usage

2014-11-13 Thread Mulyadi Santosa
inside interrupt handler or similar place where interrupts are disabled or atomicity must be maintained. CMIIW -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: Process memory

2014-06-05 Thread Mulyadi Santosa
On Thu, Jun 5, 2014 at 1:35 PM, Pratap kommula pratapkomm...@gmail.com wrote: Hi, How do we know that how much memory allocated for a process and how to set a limit on it? Are you referring to resident set size or committed memory size? Mulyadi Santosa Freelance Linux trainer and consultant

Re: Kworker and jbd2 constantly writing to hdd

2014-04-25 Thread Mulyadi Santosa
settings. Try to make it less aggresive. ALso, it could be the I/O scheduler too. Try to switch to noop and see if it change the situation -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: text segment corruption - probable suspects?

2014-01-23 Thread Mulyadi Santosa
what evidence did you get so you can get conclusion there happen such corruption? IMHO, I suspect it is due RAM error...so it's not corruption coming from kernel image itself -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: simple memory malloc and free in ip_output.c

2014-01-01 Thread Mulyadi Santosa
. Instead, I suggest to allocate the memory before the ip_queue_xmit and use-reuse it inside ip_queue_xmit. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: simple memory malloc and free in ip_output.c

2014-01-01 Thread Mulyadi Santosa
On Thu, Jan 2, 2014 at 12:41 PM, valdis.kletni...@vt.edu wrote: On Thu, 02 Jan 2014 12:12:49 +0700, Mulyadi Santosa said: Other than what others have said, IMHO it is better to avoid such rapid alloc/free, assuming your code fragment is running on every packet reception/sending. Instead, I

Re: postgresql/libpq-fe.h

2013-12-17 Thread Mulyadi Santosa
this error? Sounds like it is outside of kernel development scope -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies

Re: module vs main kernel

2013-12-04 Thread Mulyadi Santosa
On Wed, Dec 4, 2013 at 3:19 AM, Abu Rasheda rcpilot2...@gmail.com wrote: On Mon, Dec 2, 2013 at 11:31 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Tue, Dec 3, 2013 at 8:33 AM, Abu Rasheda rcpilot2...@gmail.com wrote: I have my implementation of socket APIs, I sock_unregister

Re: module vs main kernel

2013-12-02 Thread Mulyadi Santosa
is, once the kernel is loaded, it is the kernel itself. So it is not separated into isolated segment or something like that. Yes module is loaded into vmalloc-ed memory area, but that's it. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: Is `IS_ERR_VALUE` indicates that the return value is invalid?

2013-11-20 Thread Mulyadi Santosa
'.\n, fn); return 0; } IS_ERR expand to below example. #define IS_ERR_VALUE(x) unlikely((x) = (unsigned long)-MAX_ERRNO) IMHO, IS_ERR is a check to make sure that error number is not greater that maximum error number defined, in other word, is it still valid or not. Mulyadi Santosa

Re: Error message not relevant

2013-11-20 Thread Mulyadi Santosa
errors during module load as not permitted. This doesn't mean you can not read the .ko files, it just means you can't load it. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: Are you interested in a Linux Kernel Off-topic Mailing List?

2013-11-12 Thread Mulyadi Santosa
is that kernelnewbies is not a high traffic list and experience shows we're not that strict when talking in kernelnewbies, except that we have to reject non related kernel topics. So, I guess, off topic list might not be needed...but that's just me. -- regards, Mulyadi Santosa Freelance Linux trainer

Re: How to view processor schedule history

2013-11-05 Thread Mulyadi Santosa
, there is a kernel tracer that track/record this. Check make menuconfig under kernel hacking options -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list

Re: Packet loss in a bridge

2013-11-05 Thread Mulyadi Santosa
Wireshark. Maybe you can get better clues there. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: GDB usage

2013-11-05 Thread Mulyadi Santosa
() or similar function. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org

Re: How to prevent other processes from being scheduled

2013-11-05 Thread Mulyadi Santosa
scheduling class. CMIIW -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: Failing to install linux 3.10.10 on Intel xeon E5-2665

2013-09-16 Thread Mulyadi Santosa
at that time? Xeon? Pentium IV? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: Kernel 64bit

2013-05-28 Thread Mulyadi Santosa
made it :) good luck -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org

Re: Kernel 64bit

2013-05-26 Thread Mulyadi Santosa
kernel image? BTW, what I meant is execute: make install in the root of your extracted kernel source -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com

Re: Processor Comparison

2013-05-10 Thread Mulyadi Santosa
should i compare the processor? Thanks Rob ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: Can small writes generate a lot of faults?

2013-04-22 Thread Mulyadi Santosa
... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo

Re: Linux from scratch

2013-04-11 Thread Mulyadi Santosa
, but that's all. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman

Re: Linux from scratch

2013-04-09 Thread Mulyadi Santosa
or vmware? try to check this out: http://draconux.free.fr/os_dev/linux0.01.html -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list

Re: Linux from scratch

2013-04-09 Thread Mulyadi Santosa
On Tue, Apr 9, 2013 at 7:18 PM, Alexandru Juncu al...@rosedu.org wrote: On 9 April 2013 14:32, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Tue, Apr 9, 2013 at 4:49 PM, Alexandru Juncu al...@rosedu.org wrote: In order to avoid useless trial and error, I wanted to ask other people

Re: Using vmalloc in device driver code

2013-04-05 Thread Mulyadi Santosa
of cannot service page faults in interrupt context etc)? to the best I know, majority of the devices expect page(s) to be physically contigous, whereas vmalloc() can't guarantee that. So IMHO that's the pitfall. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: Kernel generates vmImage instead of zImage

2013-04-03 Thread Mulyadi Santosa
: c800 Entry Point: c800 Kernel: arch/nios2/boot/vmImage is ready How to obtain zImage ? Am i missing something ? Any help is greatly appreciated. Can you explain how did you compile that kernel image? -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: kernel build error

2013-04-02 Thread Mulyadi Santosa
On Tue, Apr 2, 2013 at 1:19 PM, Kumar amit mehta gmate.a...@gmail.comwrote: On Tue, Apr 02, 2013 at 10:04:31AM +0700, Mulyadi Santosa wrote: Could you paste roughly 20-30 lines of boot messages when you hit the hung point? Kernel config alone usually can't help much I'm trying

Re: Method to calculate user space thread size

2013-04-02 Thread Mulyadi Santosa
miscalculate it? Certainly your application would crash some ways. So, maybe you need other workaround. If you need to reserve memory, perhaps what you need to do is doing malloc() wisely. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: kernel build error

2013-04-01 Thread Mulyadi Santosa
? Kernel config alone usually can't help much -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

Re: kernel build error

2013-03-25 Thread Mulyadi Santosa
against latest linux-next tree. because possibly you hit a corner case error. And also if it's still possible, test against latest stable. That way. you will get better coverage on what's really going on. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog

Re: kernel build error

2013-03-23 Thread Mulyadi Santosa
$ sudo update-grub $ sudo shutdown -y now try not using quiet kernel parameter, in case you currently use it. check /etc/default/grub. and re run update-grub. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training

Re: kernel build error

2013-03-21 Thread Mulyadi Santosa
, maybe google docs and send the link here. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http

  1   2   3   4   5   6   >