mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dragoslav Zaric <dragoslav.zaric.kd@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>,
	Cyrill Gorcunov <gorcunov@gmail.com>
Subject: Fast testing
Date: Tue, 14 Apr 2009 11:55:10 +0200	[thread overview]
Message-ID: <2d05c4580904140255t25414b2bpe99b2a150dbe132a@mail.gmail.com> (raw)

Hello,

I have question regarding fast testing of some change in some kernel
source file. Since rebooting is a long process, there must be way to
test some change faster [of course only if source file is not some boot
connected file, but maybe this is also doable].

This is question:

When system is running, file that drives the system is "vmlinux" executable
and it is located in "/" or "/boot" folder. Let's say you change some kernel
source file and run "make" [this is fast since "make" should see that just few
files are changed]. After "make install" you should now have new "vmlinux" file.
Since state of cpu registers and memory locations determine current
system state, the change in binary system driver ["vmlinux"] should not
freeze system ? So if I copy new vmlinux over old vmlinux file can I see
change immediately ? I think it should continue to drive system without
problem because vmlinux is binary algorithm file, it does not contain any
data regarding current system state ? Also this assumes that your change does
not affect some large things, like memory segmentation tables and paging,
let's say it is more algorithmic and not structure change, because it is obvious
if you have structural change, current memory and register states
probably won't map
into new structure without system freeze.

Thanks,

Dragoslav Zaric,

[Programmer, M.Sc Astrophysics]

             reply	other threads:[~2009-04-14  9:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-14  9:55 Dragoslav Zaric [this message]
2009-04-14 13:36 ` Alan Jenkins
2009-04-14 14:10   ` Dragoslav Zaric
2009-04-14 14:24   ` Dragoslav Zaric
2009-04-14 14:57     ` Cyrill Gorcunov
2009-04-14 13:53 ` Andi Kleen
2009-04-14 15:05 ` Arjan van de Ven
2009-04-14 16:44   ` Dragoslav Zaric
2009-04-15 11:48   ` Tilman Schmidt
2009-04-14 14:44 Tomasz Chmielewski
2009-04-15 12:19 Tomasz Chmielewski
2009-04-15 12:45 ` Tilman Schmidt
2009-04-16  0:47   ` Robert Hancock
2009-04-16 15:19   ` Valdis.Kletnieks
2009-04-15 12:31 devzero
2009-04-15 12:49 ` Dragoslav Zaric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d05c4580904140255t25414b2bpe99b2a150dbe132a@mail.gmail.com \
    --to=dragoslav.zaric.kd@gmail.com \
    --cc=gorcunov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome