24 hours is too much in my opinion. Believe it or not, but plants do actually need to "sleep" and 24 hours is plain unnatural. 18/6 is probably the most I would ever give photoperiod plant personally. There is a "point of diminishing" around the 18 hour mark which means results in growing do not increase any further in relation to the amount of light received. That is to say - as more light is given up to 18 hours, there is a return of accelerated growth. After the approx. 18 hour threshold is reached, growth actually starts slowing, meaning efficiency has peaked and any extra hours of light will not produce as much accelerated growth in return. Less bang for your (power bill) bucks/dollars; if you understand what I am trying to explain.
The only thing I would be worried about is that your photo plants would be having 18 hours of light for the entire time your autos are doing their thing. This could mean your photos getting 18/6 for anywhere between 8 and 14 weeks, while waiting for the autos to finish. Even 12 weeks of 18/6 with your photos could mean running out of room. Might be worth considering starting your photos only after your autos have started their flowering. Then again, if space is an issue, your autos may be too large to allow enough light to get through to your photo seedlings.
All in all, for simplicities' sake, I personally would recommend doing one or the other, but it is up to you and depends on how much space you have in your growing setup. Hope this helps and my opinion is not too confusing..... Organoman. Good luck with whichever way you decide to go and happy growing.