Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ksplice wins $100,000 in MIT start-up contest (cnet.com)
24 points by peter123 on May 14, 2009 | hide | past | favorite | 6 comments


If you're into systems programming, read the paper! http://www.ksplice.com/paper

The process they follow to apply a patch is:

- compile the kernel without the patch, but using certain options (-ffunction-sections and -fdata-sections, to produce location-independent code). This is known as the pre code.

- compile the kernel with the patch and same options, producing the post code.

- perform a binary diff between pre and post to figure out what changed; extract the changed functions and package them up into their own module.

- perform a binary diff between the running kernel, known as run, and the pre code. This is the run-pre matching stage, and it has two goals: to verify the assumption that they are fundamentally the same, and to get the symbol addresses out of the running kernel. (Since pre was compiled with slightly different options, run and pre don't match up perfectly; the paper explains how they can safely differ.)

- use the symbol addresses learned during run-pre matching to patch the post code

- stop the machine at a safe point (no functions which are being updated can be on any thread's call stack)

- load the post code into the running kernel as a new module, inserting jump instructions at the beginnings of obsolete functions being replaced.


KSplice seems to be a interesting concept, but seems like the product/service is quite an unfit for the domain they are operating in (Linux Kernel updates).

The KSplice software is open source under GNU, so why not a community behind KSplice's technology simply package these (just like you would deb or rpm packages) and publish them freely (instead of having to pay KSplice, Inc simply to convert these diff's in to KSplice format).

The technology is wonderful, and I am very glad they open sourced it as well, but I am just wondering why they made it a Inc (assuming it's for-profit with their subscription service) instead of making it a open source project.

Source: http://en.wikipedia.org/wiki/Ksplice Source: http://www.youtube.com/watch?v=dhbRyLATEPo


The only obvious exit strategy is an "HR acquisition".


Presumably because they're shooting for acquisition by one of the two big OS'es?


At first I thought it was all about Windows and I'm like "on linux there's no rebooting necessary!" mumbling: "except for kernel updates"

But reading the website, it turns out, that they seem to have found a way to do kernel updates without rebooting. Big Up!

And it seems like they want to support all major and minor OS.


The write-up didn't fill me with confidence but their website actually has a more technical take on things.

It seems to be (atleast initially) a way of updating the Linux kernel without rebooting.

http://www.ksplice.com/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: