Okay, when talking about the virtual memory concept yes paging is used, in my book the first approach to the theme is with and example where you have the whole program of course in the disk but then bring processes into main memor ( main mem is smaller than the memory needed by the program) and then starts talking about the approaches as to which processes to choose, how to choose them etc etc. Segmentation (as explained in my book ) is presented as another alternative to paging. What you do here is just divide your main memory into segments (say maybe a stack segment, a code segment etc etc. ). This sort of assumes that you have a big enough physical memory. Obviously if this segments get too big you would have to use paging to manage them.
So basically these two things have something to do with each other but are not different approaches to do the same thing. Howeeeeeeeever, I saw some of the professors old exams which he posts in his page and in one of his questions he asks


Why does linux use paging only and disregard segmentation. whereas MSWindows uses both????


This is were I got confused, what does he really meant??? And that is why I wanted to know if Windows used segmentation and paging or just paging. Also in this question he says linux disregards segmentation but I thought that it didnt.

Well I hope I explained myself better